Introducing the ServiceWorker Cache object.

This object is the proxy for the ServiceWorker cache; it's created
entirely through the CacheStorage interface.

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

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179871 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: fix build after r179871

TBR=haraken,oilpan-reviews
BUG=399178
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179872 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Move ConsoleMessage to the heap.

And fix compilation breakage from r179850.

TBR=haraken,oilpan-reviews
BUG=340522
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179873 bbb929c8-8fbe-4397-9dbb-9b2b20218538
RenderLayer::hasVisibleDescendant should ASSERT(!m_visibleDescendantStatusDirty)

No one should be reading the hasVisibleDescendant state while its dirty. This
CL adds an ASSERT to prevent that from happening and fixes the callers that are
reading dirty state today.

R=skobes@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179874 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unable to scroll in Chrome system URLs(history,settings,extension) pages

This code was attempting to take the fast scrolling path for RenderViews that
were not composited. Unfortunately, there's no way for the compositor to scroll
RenderViews that are not composited. Instead, we should bail out and run the
slow scrolling path.

This CL also removes some dead code from this function and updates the comments
to more accurately reflect reality.

R=jamesr@chromium.org
BUG=401878

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179875 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactor getExcludedIntervals since only one LineSegment is ever returned

The interface for getExcludedIntervals was designed when shape-inside
was still a thing, and it was possible for a line in a shape to have
multiple segments. shape-outside can only have one segment per line, so
this refactors the code to simplify and reflect that reality.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179876 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make webkit-patch auto-rebaseline a bit more robust to errors.

This logs errors when the underlying commands fail, and tries
to recover a bit more cleanly.

TBR=eseidel@chromium.org, ojan@chromium.org, wangxianzhu@chromium.org
BUG=397678

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179877 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Extend PerformanceTests' t-test to include estimates for degrees of freedom > 100.

Also report INFINITY if number of samples is 1. This is another way to interpret the confidence interval of 1 data point.

NOTRY=True
BUG=401806
TEST=tools/perf/run_benchmark smoothness.fast_path.key_silk_cases;  # Open tools/perf/results.html and ensure no NaNs.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179878 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Allow JSON messages to be returned for ClearKey.

The EME specification now describes the format of the license
request provided to the application via the message attribute of
the message event as being JSON. This change allows the browser
tests to work once the new message format is implemented.

BUG=358271
TEST=EME layout tests pass with and without the JSON change

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179880 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add some performance testing for paint invalidations

After moving paint invalidations after compositing updates, we
lost most of the performance coverage we had as most performance
tests trigger layout without generating a frame.

The new cases are DRT specific as we use
Internals.forceCompositingUpdate. This is required as rAF
will cap the tests to the sync frequency.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179881 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove the CompositedLayerMappingPtr smart ptr.

All this class did was prevent callers from null pointer checking the
object, but all hasCompositedLayerMapping() does is null check it so it's
not clear what value this is adding, lets remove it.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179883 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fixing UnboundLocalError: local variable 'timestamp' in manager.py

The try except block in _rename_results_folder() is throwing an UnboundLocalError.
Because the return statement in except block is inside if statement.
If the condition is false the function doesnot return which throws an error so the return statement must be outside the if statement.

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

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