Index: third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt b/third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6aae4710b0987cc81c3c13cc060ad3cbf2779759 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt |
@@ -0,0 +1,15 @@ |
+This is a testharness.js-based test. |
+FAIL Default event values Cannot read property 'length' of null |
+PASS MessageEventInit dictionary |
+FAIL Passing null for ports member assert_throws: function "function () { |
+ new MessageEvent("test", { ports: null }) |
+ }" did not throw |
+FAIL ports attribute should be a FrozenArray assert_true: Object.isFrozen() should return true expected true got false |
+PASS initMessageEvent operation |
+FAIL Passing null for ports parameter to initMessageEvent assert_throws: function "function () { |
+ ev.initMessageEvent("test", true, false, "testData", "testOrigin", "testId", window, null) |
+ }" did not throw |
+FAIL All parameters to initMessageEvent should be mandatory assert_equals: MessageEvent.prototype.initMessageEvent.length should be 8 expected 8 but got 0 |
+FAIL Passing ServiceWorker for source member assert_unreached: unregister should not fail: Failed to get a ServiceWorkerRegistration: The URL protocol of the current origin ('file://') is not supported. Reached unreachable code |
+Harness: the test ran to completion. |
+ |