OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="../../../resources/testharness.js"></script> | 2 <script src="../../../resources/testharness.js"></script> |
3 <script src="../../../resources/testharnessreport.js"></script> | 3 <script src="../../../resources/testharnessreport.js"></script> |
4 <script src="resources/shadow-dom.js"></script> | 4 <script src="resources/shadow-dom.js"></script> |
5 <img id="img" src="../../images/resources/test-load.jpg"> | 5 <img id="img" src="../../images/resources/test-load.jpg"> |
6 <script> | 6 <script> |
7 | 7 |
8 img.onload = function(e) { | 8 img.onload = function(e) { |
9 test(function() { | 9 test(function() { |
10 assert_array_equals(e.deepPath, e.path); | 10 assert_array_equals(e.deepPath(), e.path); |
11 }, "Event.deepPath should be the same as Event.path."); | 11 }, "Event.deepPath() should be the same as Event.path."); |
12 }; | 12 }; |
13 | 13 |
14 </script> | 14 </script> |
OLD | NEW |