Index: content/test/data/navigation_controller/inject_iframe_srcdoc_with_nested_frame.html |
diff --git a/content/test/data/navigation_controller/inject_iframe_srcdoc_with_nested_frame.html b/content/test/data/navigation_controller/inject_iframe_srcdoc_with_nested_frame.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..00ab4d55b573a9e2eea070888eba49124c21a4ec |
--- /dev/null |
+++ b/content/test/data/navigation_controller/inject_iframe_srcdoc_with_nested_frame.html |
@@ -0,0 +1,14 @@ |
+<html> |
+<head></head> |
+<body> |
+ <p>This page injects a srcdoc frame with a nested form iframe. |
+ <div id="myDiv"></div> |
+ <script> |
+ var iframeHtml = |
+ '<iframe srcdoc="<iframe src=\'form.html\'><\/iframe>"><\/iframe>'; |
+ |
+ // Create an iframe srcdoc with nested frame inside the preexisting div. |
+ document.getElementById('myDiv').innerHTML = iframeHtml; |
+ </script> |
+</body> |
+</html> |