[FileAPI] Drop irrelevant ASSERT in FileWriter

The error code can be ABORT_ERR if a operation is aborted by the browser.

BUG=369525

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173620 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Clarify when what notifications are send when a window object is cleared
    
There are two different events that most of the time coincide: a
JavaScript wrapper for a DOMWindow is created, and a new Document is
installed on the DOMWindow.
    
Sometimes, only the former happens, e.g. an iframe with an image as src
doesn't have an document.
    
However, for the embedder, this difference doesn't matter. It's in both
cases possible (and necessary) to install additional hooks on the
windows object.
    
Last but not least, we should never notify the embedder for changes in
isolated worlds. An embedder that is interested in these signals should
listen didCreateScriptContext/willReleaseScriptContext.
    
BUG=none
R=yurys@chromium.org,dcarney@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173621 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Prepare to support garbage-collected Node in WebNode hierarchy.

That is to say, WebNode::m_private should be based on Persistent<Node>.
Because all of WebNode subclasses shares it, we need to change the
classes so that they can be convertible to RawPtr instead of PassRefPtr.

We need some #if ENABLE(OILPAN) because some WebCore functions
still return PassRefPtrs.


BUG=357163

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173622 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r173588

http://src.chromium.org/viewvc/blink?view=revision&revision=173588

BUG=361729
TBR=enne@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173623 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement effective overload set algorithm

To implement the overload resolution algorithm, I'm going to first
implement basic algorithms from the spec (*without* changing
generated code), then incrementally switch existing interfaces to
the proper algorithm (changing the generated code).

This implements the "effective overload set" algorithm:
http://heycam.github.io/webidl/#dfn-effective-overload-set

The code isn't very Pythonic, but it's directly from the spec.

Next will be 'distinguishing index'.

R=haraken
BUG=293561

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173625 bbb929c8-8fbe-4397-9dbb-9b2b20218538
node.cloneNode() should clone the value of file selected

when input element of type file with a selected file is cloned, the cloned node should
also have the same file as selected.
HTML specification states:
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html
"The cloning steps for input elements must propagate the value, dirty value
flag, checkedness, and dirty checkedness flag from the node being cloned to the
copy."

The value for the input element of type fileupload is the filename.

Behaviours in major Browser:
Firefox- clones filename
Safari, IE & Opera- do not Clone filename 

BUG=71536
TEST=fast/forms/file/input-file-element-clone.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173626 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r173588

http://src.chromium.org/viewvc/blink?view=revision&revision=173588

BUG=361729
TBR=enne@chromium.org

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

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