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

Issue 146693005: Clarify when what notifications are send when a window object is cleared (Closed)

Created:
6 years, 11 months ago by jochen (gone - plz use gerrit)
Modified:
6 years, 7 months ago
Reviewers:
dcarney, yurys
CC:
blink-reviews, Nate Chapin, gavinp+loader_chromium.org
Visibility:
Public.

Description

Clarify when what notifications are send when a window object is cleared There are two different events that most of the time coincide: a JavaScript wrapper for a DOMWindow is created, and a new Document is installed on the DOMWindow. Sometimes, only the former happens, e.g. an iframe with an image as src doesn't have an document. However, for the embedder, this difference doesn't matter. It's in both cases possible (and necessary) to install additional hooks on the windows object. Last but not least, we should never notify the embedder for changes in isolated worlds. An embedder that is interested in these signals should listen didCreateScriptContext/willReleaseScriptContext. BUG=none R=yurys@chromium.org,dcarney@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173621

Patch Set 1 #

Patch Set 2 : updates #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -32 lines) Patch
M Source/bindings/v8/ScriptController.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/inspector/InspectorController.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorController.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorInspectorAgent.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorInspectorAgent.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorInstrumentation.idl View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorPageAgent.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorPageAgent.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/PageDebuggerAgent.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/PageDebuggerAgent.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/PageRuntimeAgent.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/PageRuntimeAgent.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/EmptyClients.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FrameLoader.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 3 chunks +13 lines, -12 lines 1 comment Download
M Source/core/loader/FrameLoaderClient.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/web/FrameLoaderClientImpl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/web/FrameLoaderClientImpl.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M public/web/WebFrameClient.h View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
jochen (gone - plz use gerrit)
ptal
6 years, 7 months ago (2014-05-07 12:26:50 UTC) #1
dcarney
lgtm
6 years, 7 months ago (2014-05-07 13:50:55 UTC) #2
yurys
lgtm https://codereview.chromium.org/146693005/diff/40001/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/146693005/diff/40001/Source/core/loader/FrameLoader.cpp#newcode1399 Source/core/loader/FrameLoader.cpp:1399: // FIXME: Why isn't the inspector notified of ...
6 years, 7 months ago (2014-05-07 14:14:07 UTC) #3
jochen (gone - plz use gerrit)
On 2014/05/07 14:14:07, yurys wrote: > lgtm > > https://codereview.chromium.org/146693005/diff/40001/Source/core/loader/FrameLoader.cpp > File Source/core/loader/FrameLoader.cpp (right): > ...
6 years, 7 months ago (2014-05-07 15:10:50 UTC) #4
jochen (gone - plz use gerrit)
The CQ bit was checked by jochen@chromium.org
6 years, 7 months ago (2014-05-08 06:34:33 UTC) #5
jochen (gone - plz use gerrit)
The CQ bit was unchecked by jochen@chromium.org
6 years, 7 months ago (2014-05-08 06:34:53 UTC) #6
jochen (gone - plz use gerrit)
The CQ bit was checked by jochen@chromium.org
6 years, 7 months ago (2014-05-08 06:35:24 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/146693005/60001
6 years, 7 months ago (2014-05-08 06:36:08 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 07:55:12 UTC) #9
jochen (gone - plz use gerrit)
The CQ bit was unchecked by jochen@chromium.org
6 years, 7 months ago (2014-05-08 08:32:03 UTC) #10
jochen (gone - plz use gerrit)
On 2014/05/08 07:55:12, I haz the power (commit-bot) wrote: > FYI, CQ is re-trying this ...
6 years, 7 months ago (2014-05-08 08:34:30 UTC) #11
jochen (gone - plz use gerrit)
The CQ bit was checked by jochen@chromium.org
6 years, 7 months ago (2014-05-08 08:35:38 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/146693005/40001
6 years, 7 months ago (2014-05-08 08:36:21 UTC) #13
commit-bot: I haz the power
6 years, 7 months ago (2014-05-08 08:52:53 UTC) #14
Message was sent while issue was closed.
Change committed as 173621

Powered by Google App Engine
This is Rietveld 408576698