OLD | NEW |
1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
2 FAIL Default event values Cannot read property 'length' of null | 2 FAIL Default event values Cannot read property 'length' of null |
3 PASS MessageEventInit dictionary | 3 PASS MessageEventInit dictionary |
4 FAIL Passing null for ports member assert_throws: function "function () { | 4 FAIL Passing null for ports member assert_throws: function "function () { |
5 new MessageEvent("test", { ports: null }) | 5 new MessageEvent("test", { ports: null }) |
6 }" did not throw | 6 }" did not throw |
7 FAIL ports attribute should be a FrozenArray assert_true: Object.isFrozen() shou
ld return true expected true got false | 7 FAIL ports attribute should be a FrozenArray assert_true: Object.isFrozen() shou
ld return true expected true got false |
8 PASS initMessageEvent operation | 8 PASS initMessageEvent operation |
9 FAIL Passing null for ports parameter to initMessageEvent assert_throws: functio
n "function () { | 9 FAIL Passing null for ports parameter to initMessageEvent assert_throws: functio
n "function () { |
10 ev.initMessageEvent("test", true, false, "testData", "testOrigin", "testId",
window, null) | 10 ev.initMessageEvent("test", true, false, "testData", "testOrigin", "testId",
window, null) |
11 }" did not throw | 11 }" did not throw |
12 FAIL All parameters to initMessageEvent should be mandatory assert_equals: Messa
geEvent.prototype.initMessageEvent.length should be 8 expected 8 but got 0 | 12 FAIL All parameters to initMessageEvent should be mandatory assert_equals: Messa
geEvent.prototype.initMessageEvent.length should be 8 expected 8 but got 0 |
13 FAIL Passing ServiceWorker for source member assert_unreached: unregister should
not fail: Failed to get a ServiceWorkerRegistration: The URL protocol of the cu
rrent origin ('file://') is not supported. Reached unreachable code | 13 FAIL Passing ServiceWorker for source member promise_test: Unhandled rejection w
ith value: object "TypeError: Failed to construct 'MessageEvent': The optional '
source' property is neither a Window nor MessagePort." |
14 Harness: the test ran to completion. | 14 Harness: the test ran to completion. |
15 | 15 |
OLD | NEW |