Cleanup: remove temporary define for multi-sided patch in WebServiceWorkerContextClient.h

Once https://codereview.chromium.org/273423003/ lands
we no longer need HAS_SERVICE_WORKER_CONTEXT_DESTROYED define

BUG=366617
TEST=no functional changes
TBR=jochen@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173934 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Start loading next source when one FontFaceSource failed

This fixes a bug where FontFace's Promise doesn't resolve when it has
multiple sources and the first source failed to load. If there is no
element using that font (e.g. load initiated by document.fonts.load()),
Blink never tries the next source.

This patch makes CSSFontFace kicks off the load of next font in the
src list, when one source failed.

BUG=371937
TEST=fast/css/fontfaceset-multiple-faces-download-error.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173935 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening: mark printing/return-from-printing-mode.html on MountainLion as ImageOnlyFailure

BUG=361729
TBR=enne
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173936 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Added Blink-side support for EXT_blend_minmax WebGL extension

BUG=344451

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173937 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add checks to try to catch unexpected re-entrancy during frame detach.

BUG=363099

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

R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173938 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools gardening: mark inspector/elements/styles/styles-should-not-force-sync-style-recalc.html as NeedsRebaseline

It started to fail after r173260 Move call to didRecalculateStyleForElement into styleForRenderer
by esprehn@chromium.org.

BUG=369009
TBR=esprehn, lushnikov, apavlov, tasak, ojan
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173939 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Always unregister ServiceWorker after each layout test

This change seems important to make tests non-flaky

Before this change, running SW tests with --iterations=10:
* current-on-reload.html occasionally fails (9/10 times)
* postmessage-msgport-to-client.html occasionally times out (8/10 times)
* indexeddb.html occasionally times out (1/10 times)

After this change:
* indexeddb.html occasionally times out (5/10 times) ??

Increasing # of iterations doesn't change the failure rate much.
(Haven't investigated the indexeddb.html flakiness)

BUG=370777,
TEST=virtual/serviceworker/http/tests with --iterations=N

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173940 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Prepare SVGDocumentExtensions for oilpan

This patch removes all RefPtr<SVGSVGElement>.

BUG=357163

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173941 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL: add overload counters in spec algorithm

Followup, adds the counter code for overloads.

TBR=haraken
BUG=293561

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173942 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Post a microtask to load <img> elements.

See the "stable state" (step 1) part of the algorithm at
http://www.whatwg.org/specs/web-apps/current-work/#the-img-element

This is a requirement for <picture>, because we need to wait with
loading until we know whether we're in a <picture> element.
It also makes it so that the order of setting .src and .crossorigin
does not matter.

Unfortunately, this means that some exceptions no longer have a
stack trace.

BUG=341047

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173943 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Replace all of PassRefPTR/RefPtr<Text> and PassRefPtr/RefPtr<CDATASection> with Oilpan transition types.

BUG=357163

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173944 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening: mark http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-location-change.html as flaky

BUG=352464
TBR=ojan
NOTRY=true

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

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