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

Side by Side Diff: content/test/data/navigation_controller/inject_iframe_srcdoc_with_nested_frame.html

Issue 2437173002: Fix going back to a script-injected about:blank frame. (Closed)
Patch Set: Fix nits. Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head></head>
3 <body>
4 <p>This page injects a srcdoc frame with a nested form iframe.
5 <div id="myDiv"></div>
6 <script>
7 var iframeHtml =
8 '<iframe srcdoc="<iframe src=\'form.html\'><\/iframe>"><\/iframe>';
9
10 // Create an iframe srcdoc with nested frame inside the preexisting div.
11 document.getElementById('myDiv').innerHTML = iframeHtml;
12 </script>
13 </body>
14 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698