doc-iframes.html (626B)
1 <!-- This Source Code Form is subject to the terms of the Mozilla Public 2 - License, v. 2.0. If a copy of the MPL was not distributed with this 3 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 4 <html> 5 <head> 6 <title>Iframe</title> 7 </head> 8 9 <body> 10 <script> 11 debugger; 12 // This inline script allows this HTML page to show up as a 13 // source. It also needs to introduce a new global variable so 14 // it's not immediately garbage collected. 15 function inline_script() { var x = 5; } 16 </script> 17 <iframe src="doc-debugger-statements.html"></iframe> 18 </body> 19 20 </html>