Add error-event-ready-state.html layout test.

The readyState inside the WebSocket onerror callback should be 3 (CLOSED). This
layout test verifies that.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167079 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix PersistentHeap collections.

Previous implementation did not work for embedded and stack allocated objects because we ended up creating Persistent handle pointing into the middle of the stack or non-heap allocated object.

New implementation inherits them from PersistentBase instead turning them into persistent handles with custom trace method.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167080 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline for r167076
https://src.chromium.org/viewvc/blink?revision=167076&view=revision

Created by Garden-o-matic

TBR=dstockwell@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167081 bbb929c8-8fbe-4397-9dbb-9b2b20218538
This patch defers timing updates from the Web Animations API to
animation frames. Updating timing will now request an animation
frame and update the timing information on that frame. We store
bits on the Timelines and Players to indicate whether they need
updates.

The timing information on a TimedItem is updated upon access if
its Player needs an update. The bit on Timeline is used to make
sure getComputedStyle returns up-to-date information.

BUG=334926

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166977

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167082 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Statically assert correct types in transitional adopt functions.

R=haraken@chromium.org, vegorov@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167083 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix base snapshot selector combobox in heap profiler.

BUG=343465
R=loislo@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167084 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix zero allocated objects size shown on heap recording profile.

BUG=342293
R=loislo@chromium.org

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

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