Skip to content

Commit 3bd6302

Browse files
authored
test: use experimental flags in wpt tests
Signed-off-by: avivkeller <[email protected]> PR-URL: #67258 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Jake Yuesong Li <[email protected]> Reviewed-By: Jason Zhang <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent a10b7ec commit 3bd6302

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)