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

Issue 2392843002: Remove WindowProxy::isGlobalInitialized(). (DO NOT COMMIT YET) (Closed)

Created:
4 years, 2 months ago by dcheng
Modified:
4 years, 1 month ago
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org, dcarney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove WindowProxy::isGlobalInitialized(). The distinction is confusing, and all the places that use it can just use isContextInitialized() instead. BUG=527190

Patch Set 1 #

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -10 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/WindowProxy.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp View 1 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
dcheng
Note that this CL doesn't work yet and shouldn't be committed. I'm currently working on ...
4 years, 2 months ago (2016-10-04 07:32:38 UTC) #4
dcheng
On 2016/10/04 07:32:38, dcheng wrote: > Note that this CL doesn't work yet and shouldn't ...
4 years, 2 months ago (2016-10-04 07:33:31 UTC) #5
haraken
+jochen I think that this change is safe. > This seems confusing to me, since ...
4 years, 2 months ago (2016-10-04 11:20:08 UTC) #9
dcheng
So the CL as-is is not practical to land. kouhei@, do you remember why this ...
4 years, 2 months ago (2016-10-14 22:03:20 UTC) #14
kouhei (in TOK)
4 years, 2 months ago (2016-10-17 01:27:09 UTC) #15
On 2016/10/14 22:03:20, dcheng wrote:
> So the CL as-is is not practical to land.
> 
> kouhei@, do you remember why this optimization is important, if we're
> initializing JS anyway most of the time? Is it for documents that can never
have
> script enabled?

This is particularly effective on SVG images. They are handled in Blink like web
pages, but rarely trigger javascript.

Powered by Google App Engine
This is Rietveld 408576698