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

Side by Side Diff: LayoutTests/fast/history/form-submit-in-frame-via-onclick.html

Issue 187103002: id of iframe incorrectly sets window name (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back no-referrer-subframe.html Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <p id="description">Tests that form submissions (via an onclick handler) inside an iframe generate history entries.</p> 4 <p id="description">Tests that form submissions (via an onclick handler) inside an iframe generate history entries.</p>
5 5
6 <div id="manual-explanation" style="display: none; color: blue">When running thi s test outside of DRT, please click on the "Submit" button.</div> 6 <div id="manual-explanation" style="display: none; color: blue">When running thi s test outside of DRT, please click on the "Submit" button.</div>
7 7
8 <pre id="console"></pre> 8 <pre id="console"></pre>
9 9
10 <script> 10 <script>
(...skipping 21 matching lines...) Expand all
32 frameNode.offsetTop + submitButtonNode.offsetTop + submitButtonN ode.offsetHeight / 2); 32 frameNode.offsetTop + submitButtonNode.offsetTop + submitButtonN ode.offsetHeight / 2);
33 eventSender.mouseDown(); 33 eventSender.mouseDown();
34 eventSender.mouseUp(); 34 eventSender.mouseUp();
35 } else { 35 } else {
36 document.getElementById('manual-explanation').style.display = ''; 36 document.getElementById('manual-explanation').style.display = '';
37 } 37 }
38 }, 0); 38 }, 0);
39 } 39 }
40 </script> 40 </script>
41 41
42 <iframe id="the-frame" src="resources/form-with-onclick-submit.html" onload="sub mitForm()"></iframe> 42 <iframe id="the-frame" name="the-frame" src="resources/form-with-onclick-submit. html" onload="submitForm()"></iframe>
43 43
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698