Block "]]>" in createCDataSection

It's not possible to serialize a CData section with ]]> in it
so disallow that already in xmldoc.createCDataSection.

This is compatible with MSIE and Gecko.

BUG=268762

Review URL: https://chromiumcodereview.appspot.com/22911020

git-svn-id: svn://svn.chromium.org/blink/trunk@156640 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix touch handler ASSERT when an iframe containing a plugin changes source

When an iframe's src is changed, Document::removeAllEventListeners is used to clear all event listeners in the document, as a result the parent document will clear out any known touch handler for the iframe.  But if the iframe contained a plugin, then when that plugin is destroyed it'll try to notify the document that it is no longer handling touch events, and (if it's the only touch event handler on the document) the parent document will get a duplicate
removal notification.

Also, despite Document::removeAllEventListeners telling it's parent document it has no more handlers, it now actually clears it's own list too.

This is a reland of https://chromiumcodereview.appspot.com/22301016 after fixing the html parser perf regression described in BUG 273219.  The regression was due to HTMLPluginElement::renderWidgetForJSBindings triggering layout (and the test was explicitly avoiding layout by setting display: none - it's a very long document).  To address that I've added the "existingRenderWidget" method to obtain any existing RenderWidget without triggering layout, and reimplemented renderWidgetForJSBindings on top of that.  If the Widget doesn't exist yet, then we don't need to tell it to reset it's state.

BUG=254203
TBR=tony@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23093019

git-svn-id: svn://svn.chromium.org/blink/trunk@156641 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Network panel: add "Scheme" column.

Plus minor refactoirngs.

BUG=277611

Review URL: https://chromiumcodereview.appspot.com/23215003

git-svn-id: svn://svn.chromium.org/blink/trunk@156642 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Reland "Add trace event for MemoryCache::prune()."

The root cause of the bug 271440 has been fixed by 
https://codereview.chromium.org/23181003/.

This relands commit 432f2a91e7beedf020c36dd5dd67392f1800dd47
(https://chromiumcodereview.appspot.com/23031003)

BTW reverts commit 843811659cd2fb9b4349604c028339f5439d8a8d
(Assert webkit platform in MemoryCache::prune().
 https://chromiumcodereview.appspot.com/23102002)
as it's no longer necessary.

BUG=271440,272334

Review URL: https://chromiumcodereview.appspot.com/23394002

git-svn-id: svn://svn.chromium.org/blink/trunk@156643 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Delete unused WebViewBenchmarkSupport interface.

BUG=168460

Review URL: https://chromiumcodereview.appspot.com/22926014

git-svn-id: svn://svn.chromium.org/blink/trunk@156644 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Pipe detailed information (including stack trace) about runtime JS errors caused by extensions from the WebKit side over to the Chrome side.

Goes with: https://codereview.chromium.org/18799006/

See Also: https://docs.google.com/a/google.com/document/d/1moGXfxo6BbulkoCWISlKq2aQR_buVYGeGhDj6_bqMXk/edit

BUG=21734

Review URL: https://chromiumcodereview.appspot.com/18822004

git-svn-id: svn://svn.chromium.org/blink/trunk@156645 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Enable image decoder tests on Android

They were excluded on Android because the data files are not pushed
onto the device. Added data file dependency in WebKitUnitTests.isolate.

BUG=none

Review URL: https://chromiumcodereview.appspot.com/22903033

git-svn-id: svn://svn.chromium.org/blink/trunk@156646 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix edge case bugs of canvas arc.

The canvas spec [1] defines how to draw the circumference of arc with various
conditions of startAngle, engAngle and anticlockwise. Current implementation
does not satisfy the spec.

[1] http://www.w3.org/TR/2dcontext2/

TEST=fast/canvas/canvas-arc-circumference.html
BUG=130260

Review URL: https://chromiumcodereview.appspot.com/18286007

git-svn-id: svn://svn.chromium.org/blink/trunk@156647 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Porting WebKit 114900 to blink: checkLayout() should error out if no data-expected* attributes were found

BUG=233956

Review URL: https://chromiumcodereview.appspot.com/22918026

git-svn-id: svn://svn.chromium.org/blink/trunk@156648 bbb929c8-8fbe-4397-9dbb-9b2b20218538
added test suppression: timeout in http/tests/media/media-source/mediasource-play.html

BUG=278400
TBR=jianli@chromium.org

Review URL: https://codereview.chromium.org/22861038

git-svn-id: svn://svn.chromium.org/blink/trunk@156649 bbb929c8-8fbe-4397-9dbb-9b2b20218538