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

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

Issue 1914643005: Add support for entering/exiting HTML fullscreen from OOPIFs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 function addFrame(url, sandbox) { 5 function addFrame(url, sandbox) {
6 var frame = document.createElement('iframe'); 6 var frame = document.createElement('iframe');
7 frame.src = url; 7 frame.src = url;
8 if (sandbox) 8 if (sandbox)
9 frame.sandbox = sandbox; 9 frame.sandbox = sandbox;
10 document.body.appendChild(frame); 10 document.body.appendChild(frame);
11 } 11 }
12 </script> 12 </script>
13 </head> 13 </head>
14 <body> 14 <body>
15 This page has one cross-site iframe. 15 This page has one cross-site iframe.
16 <iframe id="child0" src="/cross-site/baz.com/title1.html"></iframe> 16 <iframe id="child0" src="/cross-site/baz.com/title1.html" allowfullscreen=true ></iframe>
Charlie Reis 2016/05/12 22:59:23 This is kind of unrelated to most of the tests tha
alexmos 2016/05/13 07:21:03 Ah, this is actually first introduced in my test i
Charlie Reis 2016/05/13 20:12:14 Yep, thanks.
17 </body> 17 </body>
18 </html> 18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698