| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../../resources/js-test.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
| 5 <script src="resources/shadow-dom.js"></script> | 5 <script src="resources/shadow-dom.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <p id="description"></p> | 8 <p id="description"></p> |
| 9 <div id="sandbox"></div> | 9 <div id="sandbox"></div> |
| 10 <pre id="console"></pre> | 10 <pre id="console"></pre> |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 | 131 |
| 132 eventRecords = {}; | 132 eventRecords = {}; |
| 133 var event = document.createEvent('UIEvent'); | 133 var event = document.createEvent('UIEvent'); |
| 134 event.initEvent('selectstart', true, false); | 134 event.initEvent('selectstart', true, false); |
| 135 getNodeInTreeOfTrees('shadow-host/target').dispatchEvent(event); | 135 getNodeInTreeOfTrees('shadow-host/target').dispatchEvent(event); |
| 136 dumpDispatchedEvent('selectstart'); | 136 dumpDispatchedEvent('selectstart'); |
| 137 } | 137 } |
| 138 | 138 |
| 139 function test() | 139 function test() |
| 140 { | 140 { |
| 141 if (window.testRunner) | |
| 142 testRunner.dumpAsText(); | |
| 143 | |
| 144 testEventsShoudBeStoppedAtShadowBoundary() | 141 testEventsShoudBeStoppedAtShadowBoundary() |
| 145 testEventsFiredOnDistributedNodesShouldNotBeStoppedAtShadowBoundary(); | 142 testEventsFiredOnDistributedNodesShouldNotBeStoppedAtShadowBoundary(); |
| 146 testEventsInMultipleShadowTrees(); | 143 testEventsInMultipleShadowTrees(); |
| 147 } | 144 } |
| 148 test(); | 145 test(); |
| 149 </script> | 146 </script> |
| 150 </body> | 147 </body> |
| 151 </html> | 148 </html> |
| OLD | NEW |