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

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: Disable srcdoc test in PlzNavigate Created 4 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head></head>
3 <body>
4 <p>This page injects an inner frame into an injected blank iframe.
alexmos 2016/10/21 06:34:16 nit: s/blank/srcdoc/? Also, the page really injec
Charlie Reis 2016/10/21 07:34:30 Done.
5 <div id="myDiv"></div>
6 <script>
7 var iframeHtml =
8 '<iframe srcdoc="<iframe src=\'form.html\' id=\'outer\'>' +
alexmos 2016/10/21 06:34:16 nit: remove "outer", as it's unused here? Or rena
Charlie Reis 2016/10/21 07:34:30 Done.
9 '<\/iframe>"><\/iframe>';
10
11 // Create an iframe srcdoc with nested frame inside the preexisting div.
12 document.getElementById('myDiv').innerHTML = iframeHtml;
13 </script>
14 </body>
15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698