Revert 169371 "DevTools: defer styles delta calculation to until..."

This is in order to revert 169354, which caused a crash on ASAN bot.

See crbug.com/353257

> DevTools: defer styles delta calculation to until the end of the task.
> 
> BUG=289708
> R=vsevik@chromium.org
> 
> Review URL: https://codereview.chromium.org/201363002

TBR=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169388 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 169354 "DevTools: track stylesheets by document, not loca..."

Caused a crash on linux asan bot, see crbug.com/353257

> DevTools: track stylesheets by document, not local frame.
> 
> R=lushnikov@chromium.org, vsevik@chromium.org
> 
> Review URL: https://codereview.chromium.org/201683002

TBR=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169389 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening: svg/custom/js-late-gradient-and-object-creation.svg is flaky on win

BUG=353301
TEST=
TBR=zmo@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169390 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Restrict CORS wildcard+credentials combination for http(s) only.

CORS-with-credentials are only defined for http(s) resources.

Chromium uses Access-Control-Allow-Origin: * with the intention of
whitelisting resources at certain origins for use in XMLHttpRequest and
images with canvas.
When the includeCredentials flag is set, these requests are blocked, even
though the term "credentials" makes no sense for data:/chrome-extension:-URLs.

This CL relaxes the wildcard check for non-http(s) resources, so that implementors
can choose to use CORS regardless of whether credentials were requested.

BUG=315152
TEST=Layout tests are already in CL https://codereview.chromium.org/54173002/

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169391 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Re-set referrer on issuing a validation request for a cached resource.

If a cached resource needs to be revalidated, then supply the referrer
of the document making the request.

R=japhet@chromium.org
BUG=344335

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

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