Fix InstallPhaseEvent so that instances can be passed to script.

Events need to provide the V8Event binding their interface name (by
overriding Event::interfaceName) and set up wrapper info (by calling
ScriptWrappable::init.) Make InstallPhaseEvent follow the rules.

BUG=356021

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170322 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify run-bindings-test

A bit more simplification, while we're at it.
We don't need a class for the tests: we're just calling a function once.
This removes a lot of OO boilerplace (lots of 'self') and makes the code
very functional
(an object with a main() method is a code smell).
Also simplify path handling (we already know Source/ for Python includes,
so we don't need to ask the source control system for it).

R=haraken
BUG=341748

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170323 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Removing webkit-prefixed image data HD APIs from 2D canvas

BUG=277205
R=senorblanco@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170324 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement ImageData constructors.

The spec now defines a pair of ImageData constructors,

  http://www.whatwg.org/specs/web-apps/current-work/#imagedata

Provide an implementation of both here.

R=
BUG=338804

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

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