|
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
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
|
Total messages: 14 (0 generated)
|