| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <body> | 2 <body> |
| 3 <script type='application/javascript' src='../../../../../dart/pkg/unittest/test
_controller.js'></script> | 3 <script type='application/javascript' src='../../../../../dart/pkg/unittest/lib/
test_controller.js'></script> |
| 4 <script type=application/dart> | 4 <script type=application/dart> |
| 5 #import('../../../../../dart/pkg/unittest/lib/unittest.dart'); | 5 #import('../../../../../dart/pkg/unittest/lib/unittest.dart'); |
| 6 #import('../../../../../dart/pkg/unittest/lib/html_config.dart'); | 6 #import('../../../../../dart/pkg/unittest/lib/html_config.dart'); |
| 7 #import('dart:html'); | 7 #import('dart:html'); |
| 8 | 8 |
| 9 main() { | 9 main() { |
| 10 useHtmlConfiguration(true); | 10 useHtmlConfiguration(true); |
| 11 | 11 |
| 12 final sameOriginIFrame = new Element.tag('iframe'); | 12 final sameOriginIFrame = new Element.tag('iframe'); |
| 13 sameOriginIFrame.src = 'resources/cross-frame-access-iframe.html'; | 13 sameOriginIFrame.src = 'resources/cross-frame-access-iframe.html'; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 } | 102 } |
| 103 | 103 |
| 104 testIFrameElement(IFrameElement iframe) { | 104 testIFrameElement(IFrameElement iframe) { |
| 105 expectThrow(() => iframe.contentDocument); | 105 expectThrow(() => iframe.contentDocument); |
| 106 expectThrow(() => iframe.getSVGDocument()); | 106 expectThrow(() => iframe.getSVGDocument()); |
| 107 } | 107 } |
| 108 </script> | 108 </script> |
| 109 | 109 |
| 110 </body> | 110 </body> |
| 111 </html> | 111 </html> |
| OLD | NEW |