Skip to content

Commit 8163152

Browse files
avivkelleraduh95
authored andcommitted
test: use experimental flags in wpt tests
Signed-off-by: avivkeller <me@aviv.sh> PR-URL: #67258 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: Jason Zhang <xzha4350@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent e858561 commit 8163152

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

‎test/wpt/status/workers.json‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@
1616
},
1717
"constructors/Worker/expected-self-properties.worker.js": {
1818
"fail": {
19-
"note": "XMLHttpRequest and EventSource are not implemented",
19+
"note": "XMLHttpRequest is not implemented",
2020
"expected": [
21-
"existence of XMLHttpRequest",
22-
"existence of EventSource"
21+
"existence of XMLHttpRequest"
2322
]
2423
}
2524
},
@@ -112,7 +111,7 @@
112111
},
113112
"semantics/interface-objects/001.worker.js": {
114113
"fail": {
115-
"note": "Canvas, XHR, EventSource, PromiseRejectionEvent, ProgressEvent, the File API reader classes and IndexedDB are not implemented",
114+
"note": "Canvas, XHR, PromiseRejectionEvent, ProgressEvent, the File API reader classes and IndexedDB are not implemented",
116115
"expected": [
117116
"The ImageData interface object should be exposed.",
118117
"The ImageBitmap interface object should be exposed.",
@@ -121,7 +120,6 @@
121120
"The TextMetrics interface object should be exposed.",
122121
"The Path2D interface object should be exposed.",
123122
"The PromiseRejectionEvent interface object should be exposed.",
124-
"The EventSource interface object should be exposed.",
125123
"The XMLHttpRequestEventTarget interface object should be exposed.",
126124
"The XMLHttpRequestUpload interface object should be exposed.",
127125
"The XMLHttpRequest interface object should be exposed.",

‎test/wpt/test-workers.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ const { WPTRunner } = require('../common/wpt');
55

66
const runner = new WPTRunner('workers');
77

8+
runner.setFlags(['--experimental-eventsource']);
89
runner.pretendGlobalThisAs('Window');
910
runner.runJsTests();

0 commit comments

Comments
 (0)