Remove EventException

The new specs throws an InvalidStateError instead.

http://dom.spec.whatwg.org/#dom-eventtarget-dispatchevent
http://www.w3.org/TR/DOM-Level-3-Events/#events-EventTarget-dispatchEvent

Firefox does not implement the EventException.

BUG=240763

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152231 bbb929c8-8fbe-4397-9dbb-9b2b20218538
REGRESSION(r147631): boundingBox incorrect for empty anchors

Since r147631 we return an incorrect boundingBox for anchors without a
corresponding InlineBox causing links to anchors to scroll to the wrong
element if the anchor has no content.

Revert r147631 and add a test and a FIXME.

TEST=fast/dom/anchor-without-content.html
BUG=247626
R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152232 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make the default group for the ChromiumWebkit master be the ToT Blink group. The majority of the bots on this master are ToT Blink bots, so between now and when crbug.com/246849 is fixed, this is a better default.

BUG=248600
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152233 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Dirty stacking siblings for changes to z-index and display.

Currently we only dirty composited scrolling state for overflow-divs when we
change the div itself, out-of-flow positioned descendants, and the ancestor
stacking context. It's also possible for siblings appearing, disappearing, and
changing z-order to break our descendants' contiguity and force us to opt out.

R=jchaffraix

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152234 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline test expectations for r152232.

TBR=eseidel@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152235 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix some conflicting variable names missed in r152045.

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152236 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Follow up patch for document.currentScript

This is a clean up patch based on the code reviews comments after the patch was
committed.

https://chromiumcodereview.appspot.com/14852011/

BUG=240876

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152237 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert build fix attempts made by tyoshino.
https://src.chromium.org/viewvc/blink?revision=152109&view=revision
https://src.chromium.org/viewvc/blink?revision=152106&view=revision

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152238 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix KURLTest.Encode on windows by initializing icu data tables

On windows, the icu data tables have to be loaded up explicitly before use.
There's a bit of subtlety involved with doing so, so this defers to chromium's
base library to do the initialization. Since any test that wants to use WTF's
text encoding functionality will need this at runtime the initialization is
in the common test harness.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152239 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make MemoryCache able to evict dead resources again.

In r150683 the final loop of MemoryCache::pruneDeadResourcesToSize() was made a
noop.

This patch restores the call to "evict()" as a unconditional call, so that the
dead resources that exceed the dead capacity are being evicted from the cache.

BUG=247665

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152240 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused Platform functions sandboxEnabled() and availableDiskSpaceInBytes()

These are unused and don't make a lot of sense to expose to Blink.

R=abarth

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152241 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add binding integrity to a few recent types.

BUG=246671
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152242 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Optimize String::fromUTF8 for ASCII

The old implementation fo String::fromUTF8 looks like it was designed before we
added support for 8 bit buffers. Now that we have 8 bit string buffers, we can
be a bit more efficient.

Previously, String::fromUTF8 would allocate two buffers when its input was
ASCII: one to hold the a 16 bit buffer and another one to hold the final 8 bit
buffer. Instead of always trying to convert into a 16 bit buffer, this CL adds
a call to charactersAreAllASCII. In the common case when charactersAreAllASCII,
we now directly memcpy into an 8 bit string buffer.

When charactersAreAllASCII, we now don't both with an intermediate StringImpl.
Instead, we decode into a Vector of UChars. There's no benefit to decoding into
a StringImpl because there's no chance that we'll guess exactly the right size.
Now that we use a Vector, we can have an inline capacity, which saves us a
malloc for short strings.

R=eseidel,noel

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152243 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Release the Node partition at shutdown.

We can now release resources upon graceful shutdown, subsequent to having
landed Chromium change:
http://src.chromium.org/viewvc/chrome?revision=204981&view=revision

BUG=246860
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152244 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove MediaStreamDescriptor and call/use WebMediaStream directly

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152245 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Re-rebaseline two spatial navigation tests after r152235

This patch rebaselines two tests after r152235:
fast/spatial-navigation/snav-div-overflow-scrol-hidden.html
fast/spatial-navigation/snav-imagemap-overlapped-areas.html

BUG=
TBR=eae@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152246 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disable tests that will need rebaseline after https://codereview.chromium.org/16667004/ lands.

BUG=247789
TBR=pdr@chromium.org,alph@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152247 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline test expectations for software compositing after chromium r205304.

BUG=248222
TBR=pdr,alph

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152248 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline softwarecompositing/culling/tile-occlusion-boundaries.html after r205618

This patch rebaselines tile-occlusion-boundaries.html after r205618.

BUG=
TBR=danakj@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152249 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make loading large numbers of tests actually function in the flakiness dashboard.

This is mainly so that the links from the overview page with thousands
of tests are useful.

-Use a textarea instead of an input to get around 32k length limit.
-Use requestAnimationFrame instead of setTimeout to better throttle
the work. This also allows for greatly simplifying the code to load
one test at a time instead of trying to group it into larger chunks.
-Fix an existing issue that's more exposed now that the page is
interactive while the tests load, which is that we would continue
performing the previous chunked action even if a new one was start
(e.g. if someone changed the list of tests to load mid-way through).
-Simplify the DOM and CSS a bit and use new flexbox instead of
deprecated flexbox.
-If more than 10 tests are passed in, don't try to regexp match them.
Looping over all the tests doing regexp matching is crazy slow, but
being able to do the regexp matching is very convenient. Assume that
long lists are generated by a tool (e.g. by the overview page) and
don't do any matching. I tried changing it to just do a case-sensitive
string match instead of a regexp match and that makes it ~10x faster,
but it's still way too slow with even a moderately large number of tests.

NOTRY=true

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

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