Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Issue 1512783002: disable fetches for parser blocking scripts inserted via doc.write (Closed)

Created:
5 years ago by Bryan McQuade
Modified:
5 years ago
Reviewers:
Yoav Weiss, Nate Chapin
CC:
chromium-reviews, Yoav Weiss, tyoshino+watch_chromium.org, loading-reviews_chromium.org, gavinp+loader_chromium.org, blink-reviews, Nate Chapin, kinuko
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

disable fetches for parser blocking scripts inserted via doc.write BUG= Committed: https://crrev.com/d1864bd3ffc06096c2f5b64d9123059c28aa3aa5 Cr-Commit-Position: refs/heads/master@{#366218}

Patch Set 1 #

Patch Set 2 : remove newline #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : add a few comments #

Total comments: 6

Patch Set 6 : #

Total comments: 5

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 2

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -0 lines) Patch
M third_party/WebKit/Source/core/frame/Settings.in View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContext.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
Nate Chapin
When do scripts that trigger this case get re-requested if they're not in the cache ...
5 years ago (2015-12-09 18:03:21 UTC) #2
Bryan McQuade
Thanks! RE: fetching these resources later, I'm not sure yet if we want to do ...
5 years ago (2015-12-09 20:30:55 UTC) #3
Nate Chapin
https://codereview.chromium.org/1512783002/diff/80001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp File third_party/WebKit/Source/core/loader/FrameFetchContext.cpp (right): https://codereview.chromium.org/1512783002/diff/80001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp#newcode353 third_party/WebKit/Source/core/loader/FrameFetchContext.cpp:353: if (frame()->settings() && frame()->settings()->disallowFetchForDocWrittenScriptsInMainFrame() && isMainFrame() && FetchRequest::NoDefer == ...
5 years ago (2015-12-09 21:33:30 UTC) #4
Bryan McQuade
On 2015/12/09 21:33:30, Nate Chapin wrote: > https://codereview.chromium.org/1512783002/diff/80001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp > File third_party/WebKit/Source/core/loader/FrameFetchContext.cpp (right): > > https://codereview.chromium.org/1512783002/diff/80001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp#newcode353 ...
5 years ago (2015-12-10 13:18:18 UTC) #6
Yoav Weiss
A couple of nits :) https://codereview.chromium.org/1512783002/diff/100001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp File third_party/WebKit/Source/core/loader/FrameFetchContext.cpp (right): https://codereview.chromium.org/1512783002/diff/100001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp#newcode168 third_party/WebKit/Source/core/loader/FrameFetchContext.cpp:168: { Could you ASSERT(frame()) ...
5 years ago (2015-12-10 13:20:38 UTC) #8
Bryan McQuade
https://codereview.chromium.org/1512783002/diff/100001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp File third_party/WebKit/Source/core/loader/FrameFetchContext.cpp (right): https://codereview.chromium.org/1512783002/diff/100001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp#newcode168 third_party/WebKit/Source/core/loader/FrameFetchContext.cpp:168: { On 2015/12/10 13:20:37, Yoav Weiss wrote: > Could ...
5 years ago (2015-12-10 14:01:10 UTC) #9
Nate Chapin
LGTM https://codereview.chromium.org/1512783002/diff/160001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp File third_party/WebKit/Source/core/loader/FrameFetchContext.cpp (right): https://codereview.chromium.org/1512783002/diff/160001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp#newcode203 third_party/WebKit/Source/core/loader/FrameFetchContext.cpp:203: const bool isInDocumentWrite = frame()->document() && frame()->document()->isInDocumentWrite(); Consistency ...
5 years ago (2015-12-10 19:18:22 UTC) #10
Bryan McQuade
https://codereview.chromium.org/1512783002/diff/160001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp File third_party/WebKit/Source/core/loader/FrameFetchContext.cpp (right): https://codereview.chromium.org/1512783002/diff/160001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp#newcode203 third_party/WebKit/Source/core/loader/FrameFetchContext.cpp:203: const bool isInDocumentWrite = frame()->document() && frame()->document()->isInDocumentWrite(); On 2015/12/10 ...
5 years ago (2015-12-10 21:25:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1512783002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1512783002/300001
5 years ago (2015-12-18 23:43:17 UTC) #14
commit-bot: I haz the power
Committed patchset #16 (id:300001)
5 years ago (2015-12-18 23:51:48 UTC) #16
commit-bot: I haz the power
5 years ago (2015-12-18 23:53:21 UTC) #18
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/d1864bd3ffc06096c2f5b64d9123059c28aa3aa5
Cr-Commit-Position: refs/heads/master@{#366218}

Powered by Google App Engine
This is Rietveld 408576698