Add an accessibility role for the iframe element (re-land).

We can add a layout test after adding TestRunner support on the Chromium side,
or we could just test it in Chromium.

BUG=347464

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

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170426 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Optimize repaint on FrameView resize

Previously we always repaint the full FrameView on resize.

Don't mark full repaint if the resize is height-only and writing mode
is horizontal. Any descendants needing repaint because of FrameView
resize will still schedule their own repaints.

BUG=258219
TEST=WebFrameTest.sizeChangeRepaint

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170427 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Introduce NewScriptState and use it in callback interfaces

- A design concept of NewScriptState is explained in https://code.google.com/p/chromium/issues/detail?id=357144.

- This CL implements NewScriptState. NewScriptState is created when v8::Context is created. NewScriptState is destroyed when v8::Context is garbage-collected and all V8 proxy objects that have references to the NewScriptState are destructed.

- This CL removes V8PerContextDataHolder, because V8PerContextDataHolder was doing almost the same work that NewScriptState is going to do. So, roughly speaking, this CL can be viewed as a CL which just renames V8PerContextDataHolder to NewScriptState.

- As one example, this CL uses NewScriptState in callback interfaces.

BUG=357144

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

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

A few minor tweaks:
* always delete cached files, even if compiler crashes
* simpler context manager (using contextlib module)

Followup:
Simplify run-bindings-test
https://codereview.chromium.org/216663004/

TBR=haraken
BUG=341748

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170429 bbb929c8-8fbe-4397-9dbb-9b2b20218538
ServiceWorkers: Enable 'onmessage', not just addEventListener

Service Workers couldn't listen for posted messages via the old-school
'onmessage' hook - thanks to jyasskin for pointing this out.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170430 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Exclude v8/ from bindings/PRESUBMIT.py

Currently run-bindings-tests runs for all changes to bindings/
even though changes to v8/ do not changes generated bindings or tests.
This blacklists v8/ from the presubmit tests, which speeds up submit
for v8/ bindings hacking.
(This is particularly in response to Marja's wanting to reduce r-b-t runs
to only necessary.)

See original CL for the script:
Add presubmit check for run-bindings-tests
https://chromiumcodereview.appspot.com/21722003

TBR=haraken

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170431 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove obsolete 1-arg WebServiceWorkerContextClient::didHandleInstallEvent

This concludes the three-sided patch started in Blink r260356.
The two-arg function is already overridden by Chromium and the one-arg
function is obsolete.

BUG=285976

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170432 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix fast/css/font-face-woff2.html

The test failure was caused by a OTS roll including woff2 format change.
This patch updates Ahem.woff2 to the latest woff2 format, and re-enables
fast/css/font-face-woff2.html test.

Ahem.woff2 is generated from Ahem.ttf in the same directory using the
woff2_compress tool [1], with Brotli compression enabled.

[1] https://code.google.com/p/font-compression-reference/
    revision 05b3775ecbd31f3a8a4f9ff5a3afe72a926db447

BUG=357727

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

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