mirror of
https://github.com/servo/servo.git
synced 2025-08-30 01:28:21 +01:00
Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee
This commit is contained in:
parent
c5f7c9ccf3
commit
e891345f26
1328 changed files with 36632 additions and 20588 deletions
|
@ -12,18 +12,20 @@ booleans.forEach(function(bubbles) {
|
|||
var e = document.createEvent("Event")
|
||||
e.initEvent("type", bubbles, cancelable)
|
||||
|
||||
// Step 3.
|
||||
// Step 2.
|
||||
// Stop (immediate) propagation flag is tested later
|
||||
assert_equals(e.defaultPrevented, false, "defaultPrevented")
|
||||
// Step 4.
|
||||
assert_equals(e.returnValue, true, "returnValue")
|
||||
// Step 3.
|
||||
assert_equals(e.isTrusted, false, "isTrusted")
|
||||
// Step 5.
|
||||
// Step 4.
|
||||
assert_equals(e.target, null, "target")
|
||||
// Step 6.
|
||||
assert_equals(e.srcElement, null, "srcElement")
|
||||
// Step 5.
|
||||
assert_equals(e.type, "type", "type")
|
||||
// Step 7.
|
||||
// Step 6.
|
||||
assert_equals(e.bubbles, bubbles, "bubbles")
|
||||
// Step 8.
|
||||
// Step 7.
|
||||
assert_equals(e.cancelable, cancelable, "cancelable")
|
||||
}, "Properties of initEvent(type, " + bubbles + ", " + cancelable + ")")
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue