[ServiceWorker] Add missing method to Cache.idl.

The string version of Add() was unfortunately omitted in an earlier CL.

R=falken@chromium.org,jkarlin@chromium.org
BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179946 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Enable the WebIDL [Exposed] annotation on an interface's members.

Blink only supports [Exposed] as an interface-level annotation right now,
but it also makes sense as a member-level annotation in case certain members
should only be available in a subset of the interface's exposure set.

The first user for this will be the Web Notifications API, which now
defines requestPermission() to only be exposed on Document, whereas the rest
of the API will be available in both windows and workers.

BUG=398446

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

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179947 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Introduce module initializers

For all lazy-loaded modules and workers, _module.js files are introduced, which
importScript() all scripts for a particular module.

This allows to:
- get rid of importScript() calls intertwined with meaningful code,
- simplify module loading, since Runtime does not need to read the
  module descriptor to determine the resource names.

This approach is similar to how we implement
the CSS loading in inspector.css.

R=pfeldman, vsevik
BUG=391566

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179948 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: tweak heuristics for forcing conservative GC.

Keep track of collection rate. If we collect less than 50% of objects,
use a factor of 4 instead of 2 allocation to force conservative GCs.

This will only have an effect when you do not get back to the event
loop in a timely manner. That happens a lot in benchmarks and almost
never in reality.

R=erik.corry@gmail.com, zerny@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179949 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactor MIME type related methods in XHR for readability

- Give more descriptive names to MIME type related methods
- Split responseMIMEType() into one without fallback to text/xml and one
  with it as this fallback is requird only a few places
- Add some FIXMEs to address issues found during this refactoring later

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179950 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: introduce ViewportDataGrid

BUG=316092

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179951 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: add test to verify simple selector behavior.

DOMPresentationUtils.simpleSelector behavior used to be fixated in a
couple of tests that dumped default selector in a new style rule section.
This patch adds a separate test for simpleSelector method and removes
the calls to default selector in the affected tests.

This makes it possible to use InspectorTets.addNewRule in these tests

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179952 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add last update time to Sheriff-O-Matic.

This uses the "date" given in the http://auto-sheriff.appspot.com/data page to
show how recent the failure information is.

I intend to add some styling when the data is more than 5 minutes old, but I'm
pretty new to Polymer and want to make sure this is on track first.

BUG=399712
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179953 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: remove unnecessary TextTrackList finalization.

R=haraken@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179954 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove V8TryCatchRethrowScope from private script bindings

When a private script throws an exception, what the private script binding does is:

- if the exception is the one supported in private scripts,
the private script binding clones the exception in the user's script and throws it.

- if the exception is the one not (yet) supported in private scripts,
the private script binding dies.

Since these operations are done explicitly, we should use ReThrow()
instead of relying on V8TryCatchRethrowScope. (V8TryCatchRethrowScope is not
a proper mechanism for doing this because V8TryCatchRethrowScope is intended
to be used to rethrow an exception the way it is without doing any conversion.)

BUG=341031

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

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