Chromium Code Reviews

Unified Diff: third_party/WebKit/LayoutTests/fast/parser/resources/document-open-in-unload-inner.html

Issue 2691083006: The security check in document.open should test for same-origin (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/parser/resources/document-open-in-unload-inner.html
diff --git a/third_party/WebKit/LayoutTests/fast/parser/resources/document-open-in-unload-inner.html b/third_party/WebKit/LayoutTests/fast/parser/resources/document-open-in-unload-inner.html
index 93988e59c5ddfa2e5157ea187e2ccf1cb2aee709..273175fc56133cce7161e72b6e75a286f82f493d 100644
--- a/third_party/WebKit/LayoutTests/fast/parser/resources/document-open-in-unload-inner.html
+++ b/third_party/WebKit/LayoutTests/fast/parser/resources/document-open-in-unload-inner.html
@@ -1,5 +1,5 @@
This test passes if it doesn't crash.
-<iframe src="data:text/plain,Hi"></iframe>
+<iframe srcdoc="Hi"></iframe>
Mike West 2017/02/15 11:36:15 I don't understand how this tests the change. Did
<script>
frames[0].onunload = function () {
document.open();
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine