Index: third_party/WebKit/LayoutTests/fast/parser/disable-frameset-ok-flag-inside-template.html |
diff --git a/third_party/WebKit/LayoutTests/fast/parser/disable-frameset-ok-flag-inside-template.html b/third_party/WebKit/LayoutTests/fast/parser/disable-frameset-ok-flag-inside-template.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6c75c5d37a39a54c511b53f822722abce0db165e |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/parser/disable-frameset-ok-flag-inside-template.html |
@@ -0,0 +1,16 @@ |
+<!doctype html> |
+<link rel=help href="https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inhead"> |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+<body> |
+<script> |
+var test = async_test("A frameset tag inside template should be simply ignored."); |
+ |
+var iframe = document.createElement("iframe"); |
+iframe.onload = function() { |
+ document.body.removeChild(iframe); |
+ test.done(); |
+}; |
+iframe.src = './resources/frameset-inside-template.html'; |
+document.body.appendChild(iframe); |
+</script> |