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

Side by Side Diff: content/test/data/frame_tree/top.html

Issue 1475433002: Expose RenderFrameHost::GetLastCommittedOrigin(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Alexmos's fixes. Created 5 years 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 function simulateClick(target) { 4 function simulateClick(target) {
5 var evt = document.createEvent("MouseEvents"); 5 var evt = document.createEvent("MouseEvents");
6 evt.initMouseEvent("click", true, true, window, 6 evt.initMouseEvent("click", true, true, window,
7 0, 0, 0, 0, 0, false, false, 7 0, 0, 0, 0, 0, false, false,
8 false, false, 0, null); 8 false, false, 0, null);
9 9
10 return target.dispatchEvent(evt); 10 return target.dispatchEvent(evt);
(...skipping 15 matching lines...) Expand all
26 frame.setAttribute('src', '1-2.html'); 26 frame.setAttribute('src', '1-2.html');
27 document.body.appendChild(frame); 27 document.body.appendChild(frame);
28 return true; 28 return true;
29 } 29 }
30 </script> 30 </script>
31 </head> 31 </head>
32 <body> 32 <body>
33 33
34 Top frame. 34 Top frame.
35 <br> 35 <br>
36 <iframe src="1-1.html" name="1-1-name"></iframe> 36 <iframe src="1-1.html" id="1-1-id" name="1-1-name"></iframe>
37 <br> 37 <br>
38 <iframe src="1-2.html" id="1-2-id" name="1-2-name"></iframe> 38 <iframe src="1-2.html" id="1-2-id" name="1-2-name"></iframe>
39 <br> 39 <br>
40 <iframe src="1-3.html" id="1-3-id"></iframe> 40 <iframe src="1-3.html" id="1-3-id"></iframe>
41 <br> 41 <br>
42 42
43 </html> 43 </html>
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698