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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Window/resources/file-origin-window-open-frame.html

Issue 1799423003: Apply WebSettings before initializing the main frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/dom/Window/file-origin-window-open-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dom/Window/resources/file-origin-window-open-frame.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/resources/file-origin-window-open-frame.html b/third_party/WebKit/LayoutTests/fast/dom/Window/resources/file-origin-window-open-frame.html
new file mode 100644
index 0000000000000000000000000000000000000000..e43614e125ac3bbf7a8dc21f8b6769b9a4e322b2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/resources/file-origin-window-open-frame.html
@@ -0,0 +1,12 @@
+<script>
+window.addEventListener('message', function () {
+ var exc = null;
+ try {
+ newWindow.document;
+ } catch (e) {
+ exc = e;
+ }
+ top.postMessage(exc ? '' + exc : null, '*');
+});
+newWindow = window.open('data:text/html,<script>opener.postMessage("runTest","*");</scr' + 'ipt>');
+</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/dom/Window/file-origin-window-open-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698