| OLD | NEW |
| 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" name="child-name-0" src="/cross-site/baz.com/title1.html">
</iframe> |
| 17 </body> | 17 </body> |
| 18 </html> | 18 </html> |
| OLD | NEW |