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

Issue 2180663002: Replace compileAndRunInternalScript with not internal in DocumentWriteEvaluator (Closed)

Created:
4 years, 5 months ago by kozy
Modified:
4 years, 5 months ago
CC:
chromium-reviews, blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org, blink-reviews-bindings_chromium.org, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace compileAndRunInternalScript with not internal in DocumentWriteEvaluator compileAndRunInternalScript passed isInternalScript flag with script and won't run microtasks after execution. Flag is used in DevTools, e.g. to filter out this scripts from search over all loaded scripts. BUG=none R=csharrison@chromium.org,haraken@chromium.org

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -23 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.cpp View 3 chunks +14 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluatorTest.cpp View 10 chunks +21 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (5 generated)
kozy
On 2016/07/23 03:54:54, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 5 months ago (2016-07-23 19:41:10 UTC) #6
haraken
On 2016/07/23 19:41:10, kozyatinskiy wrote: > On 2016/07/23 03:54:54, commit-bot: I haz the power wrote: ...
4 years, 5 months ago (2016-07-25 07:40:43 UTC) #7
kozy
On 2016/07/25 07:40:43, haraken wrote: > On 2016/07/23 19:41:10, kozyatinskiy wrote: > > On 2016/07/23 ...
4 years, 5 months ago (2016-07-25 07:51:19 UTC) #8
haraken
On 2016/07/25 07:51:19, kozyatinskiy wrote: > On 2016/07/25 07:40:43, haraken wrote: > > On 2016/07/23 ...
4 years, 5 months ago (2016-07-25 07:59:19 UTC) #9
Charlie Harrison
Honestly I'm not sure microtask execution is needed for the DocumentWriteEvaluator. It is doubtful that ...
4 years, 5 months ago (2016-07-25 13:07:28 UTC) #10
haraken
On 2016/07/25 13:07:28, csharrison wrote: > Honestly I'm not sure microtask execution is needed for ...
4 years, 5 months ago (2016-07-25 13:28:00 UTC) #11
Charlie Harrison
On 2016/07/25 13:28:00, haraken wrote: > On 2016/07/25 13:07:28, csharrison wrote: > > Honestly I'm ...
4 years, 5 months ago (2016-07-25 14:01:34 UTC) #12
kozy
4 years, 5 months ago (2016-07-25 20:19:14 UTC) #13
On 2016/07/25 14:01:34, csharrison wrote:
> Agreed, this makes sense.

Thanks! I think that we can just remove isInternalFlag from V8ScriptRunner and
leave DocumentWriteEvaluator implementation as is. Microtasks will be still
disabled, DevTools could be paused in this scripts if it contains debugger
statement.
I prepared another CL: https://codereview.chromium.org/2179943002/ .

Powered by Google App Engine
This is Rietveld 408576698