Make ServiceWorker an EventTarget and dispatch statechange to it.

Some infelicities with the event when reusing a service worker, and
unregistering service workers, are noted in FIXMEs in the test. Those
fixes must come later.

BUG=363413
R=kinuko@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171538 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Skip remaining Ahem tests for virtual/windows-directwrite

Skip the remaining untriaged windows directwrite failures as it turns
out all of them depends on Ahem (which does not yet work with DW).

TBR=dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171539 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "Drop all events fired at documents or windows that have script disabled"

This reverts commit http://src.chromium.org/viewvc/blink?revision=171099&view=revision

It broke context menus in sandboxed iframes. It doesn't appear it's ever safe
to really drop events, since C++ might be listening for them.

BUG=362683
TBR=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171540 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Modified to function QuotesData::equals() function to use operator overloading operator== for easy usage

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171541 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix the name of some trace events in Document

These had old function names which was confusing.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171542 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disable compositing asserts for background color

R=abarth@chromium.org
BUG=362750

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171543 bbb929c8-8fbe-4397-9dbb-9b2b20218538
ASSERT that squashing can't hit some repainting code paths

This CL builds upon Chris Harrelson's work in
https://codereview.chromium.org/224243003. Rather than fixing these code paths
to support squashing, this CL ASSERTs that we can never hit these code paths
when we paint into a grouped backing.

BUG=358261

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

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