|
Eliminate "temporary" and "uninitialized" isolated worlds
Temporary worlds were mostly used by the TestRunner. I've updated all layout
tests to always pass a world ID > 0 (Chromium always passes such an ID).
ASSERTs have been added in many places to check this invariant.
The only remaining usage of these concepts is a hack in ScriptController.
After isolating that hack (which itself should eventually be removed), there
are no other uses of uninitializedWorldId to create temporary (or "weak")
isolated worlds.
R=abarth
BUG= 230460
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=148291
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+66 lines, -99 lines) |
Patch |
 |
M |
LayoutTests/http/tests/misc/execute-and-return-value.html
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/all-window-properties.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/all-window-prototypes.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/body-properties.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/body-prototype.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/click-event.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/context-destroy.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/dispatchEvent.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/document-open.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/document-properties.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/document-prototype.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/global-variables.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/image-properties.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/image-prototype.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/location-properties.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/location-prototype.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/number-prototype.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/object-prototype.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/sandboxed-iframe.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/storage-properties.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/storage-prototype.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/string-prototype.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/top-properties.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/window-properties.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/window-setTimeout-function.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/window-setTimeout-string.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/world-reuse.html
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/isolatedWorld/world-reuse-expected.txt
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/plugins/npruntime/overrides-all-properties.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/storage/websql/open-database-creation-callback-isolated-world.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/storage/websql/statement-error-callback-isolated-world.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/storage/websql/statement-success-callback-isolated-world.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/storage/websql/transaction-callback-isolated-world.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/storage/websql/transaction-error-callback-isolated-world.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/storage/websql/transaction-success-callback-isolated-world.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/WebKit/chromium/public/WebFrame.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/WebKit/chromium/src/WebFrameImpl.cpp
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/DOMWrapperWorld.h
|
View
|
|
3 chunks |
+6 lines, -9 lines |
2 comments
|
Download
|
 |
M |
Source/bindings/v8/DOMWrapperWorld.cpp
|
View
|
|
3 chunks |
+16 lines, -20 lines |
2 comments
|
Download
|
 |
M |
Source/bindings/v8/ScriptController.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/ScriptController.cpp
|
View
|
|
5 chunks |
+2 lines, -24 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|