eventPathRemoved.html (615B)
1 <!DOCTYPE html> 2 <title>Event.path must be removed</title> 3 <!-- Note that this duplicates a test in historical.html for the purposes of 4 using in the Interop-2022 metric --> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <div id=log></div> 8 <script> 9 test(() => { 10 const name = "path"; 11 assert_false(name in Event.prototype) 12 assert_equals(Event.prototype[name], undefined) 13 assert_false(name in new Event("test")) 14 assert_equals((new Event("test"))[name], undefined) 15 }, "Event.prototype should not have property named 'path'") 16 </script>