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

Unified Diff: third_party/WebKit/LayoutTests/fast/parser/x-frame-options-detached-document-crash.html

Issue 1889433003: Ignore 'X-Frame-Options' inside '<meta>' tags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more. Created 4 years, 8 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 | « no previous file | third_party/WebKit/LayoutTests/fast/parser/x-frame-options-detached-document-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/parser/x-frame-options-detached-document-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/parser/x-frame-options-detached-document-crash.html b/third_party/WebKit/LayoutTests/fast/parser/x-frame-options-detached-document-crash.html
deleted file mode 100644
index 086c1b7b629cb1a81b762b5b151dbe78200caf76..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/parser/x-frame-options-detached-document-crash.html
+++ /dev/null
@@ -1,13 +0,0 @@
-This checks that writing an X-Frame-Options meta tag to a detached document does not crash.
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-</script>
-<iframe id=foo></iframe>
-<script>
- var fooFrame = document.getElementById('foo');
- var fooDoc = fooFrame.contentWindow.document;
- fooFrame.parentNode.removeChild(fooFrame);
-
- fooDoc.write('<meta http-equiv="X-Frame-Options" content="deny"/>');
-</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/parser/x-frame-options-detached-document-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698