Cache cssomWrappers for StylePropertySets directly on the MutableStylePropertySet.

In my measurements the mapping is adding more overhead than just having a field
in all MutableStylePropertySet objects. So this saves memory and makes access
faster.

Memory measurements:

gmail:
Wrappers: 276/297 (92%) Overhead: table > 16384 bytes, fields 2376 bytes

facebook:
Wrappers: 9/51 (17%) Overhead: table > 512 bytes, fields 408 bytes

google plus:
Wrappers: 208/229 (90%) Overhead: table > 16384 bytes, fields 1832 bytes

cnn:
Wrappers: 66/106 (62%) Overhead: table > 4096 bytes, fields 848 bytes

youtube:
Wrappers: 9/27 (33%) Overhead: table > 512 bytes, fields 216 bytes

amazon:
Wrappers: 48/90 (53%) Overhead: table > 4096 bytes, fields 720 bytes

R=abarth@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@153700 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove leak of objects between isolated worlds on custom events, message events, and pop state events.

This stops both a security leak between isolated worlds as well as a memory leak.
This includes updates to the code generator as well to generalize this fix to the three different event types.

BUG=85158

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

git-svn-id: svn://svn.chromium.org/blink/trunk@153701 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline after r153607 (http://crrev.com/18341015).

TBR=schenney@chromium.org
BUG=169254

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

git-svn-id: svn://svn.chromium.org/blink/trunk@153702 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement Promise.any, Promise.every and Promise.some.

We are implementing DOM/promises.
We implement Promise.any, Promise.every and Promise.some in this CL.

BUG=243345
R=abarth

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

git-svn-id: svn://svn.chromium.org/blink/trunk@153703 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add viewport settings for MediaDocument

MediaDocument is used when navigating directly to an audio or video resource.
Use viewport width=device-width so that one doesn't need to zoom in order to
use the video controls.

Add viewport settings for ImageDocument

On (mobile) platforms which have a viewport (e.g. Android) it is currently
necessary to zoom in to see the image at 100% resolution even if it fits on the
page. The width=device-width setting fixes this, and does not affect (desktop)
platforms that lack a viewport.

BUG=254978

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

git-svn-id: svn://svn.chromium.org/blink/trunk@153704 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix race condition in rebaseline tool.

We run rebaseline-test-internal commands in parallel. This assumes
that each command is independent. Since adding the copy_existing_baselines
logic, the commands are not independent anymore. These races account for
the bugs we've been seeing in the rebaseline tool.

Instead, do all the copies first. They can still be done in parallel I believe
since the overlap in copies is idempotent. Then do the rebaselines in parallel.

Also, pipe through --results-directory to more commands to make for easier testing
and remove some move_overwritten_baselines_to commandline arguments that
are dead code.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@153705 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "Merge FrameLoader::load(FrameLoadRequest) into loadURL() and loadFrameRequest()"

This reverts commit 0b9a2f391ab0d2e015e63e52eed754b747031d3c (r153694).

BUG=
TBR=dimich

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

git-svn-id: svn://svn.chromium.org/blink/trunk@153706 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rename ExceptionCode constants to use the names in the spec (3/3)

For example:

INDEX_SIZE_ERR -> IndexSizeError

Patch 3 of 3

BUG=None
TBR=abarth

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

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