Revert r154574 and r154410 for slowing down remote debugging protocol.

BUG=262092
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154736 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove platform/graphics/Icon.h and all related code.

All of this code (>600 lines) is currently dead, as far as I can tell.
It was used in WebKit, but not in in Chromium port.

The relevant bug for this (http://crbug.com/13225) hasn't been updated (except for label updates) since October 2009, and the last patch set on the next change toward this (https://codereview.chromium.org/174318/show) was uploaded over 3 years ago.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154737 bbb929c8-8fbe-4397-9dbb-9b2b20218538
postMessage() should throw a DataCloneError on invalid transferables

As per the latest specification, postMessage() should throw a DataCloneError on
invalid transferables:
- http://www.whatwg.org/specs/web-apps/current-work/multipage/web-messaging.html#posting-messages
- http://www.whatwg.org/specs/web-apps/current-work/multipage/web-messaging.html#dom-messageport-postmessage

IE10 and Firefox behave according to specification but Blink was throwing an
InvalidStateError instead.

Also stop using extractTransferables() for the MessageEvent constructor and
rely on toRefPtrNativeArray() instead. extractTransferables() does more than
the MessageEvent constructor really needs and it is meant to be used to
extract transferables from postMessageArgument.

BUG=262887

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154738 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Register (crafted) child frames.

Some iFrames are crafted (created with document.write).
Those do not cause "didCommitLoad".
Consequently, frames inside crafted frames can't be properlt
bound to their parents.

To fix this we notify inspector about new child frames.

(In distinct patch we can add safeguard to prevent "main frame navigated"
in case frame wasn't properly bound to its parent)

BUG=259036

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

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