Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt

Issue 2509753003: Initial TestExpectations vs. WPTServeExpectations cleanup (Closed)
Patch Set: rebased Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698