GeezerVison is showing github.com — test: use experimental flags in wpt tests · nodejs/node@c824e7c
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: test/wpt/status/workers.json +3-5Lines changed: 3 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 16 | 16 | }, | 17 | 17 | "constructors/Worker/expected-self-properties.worker.js": { | 18 | 18 | "fail": { | 19 | | - "note": "XMLHttpRequest and EventSource are not implemented", | | 19 | + "note": "XMLHttpRequest is not implemented", | 20 | 20 | "expected": [ | 21 | | - "existence of XMLHttpRequest", | 22 | | - "existence of EventSource" | | 21 | + "existence of XMLHttpRequest" | 23 | 22 | ] | 24 | 23 | } | 25 | 24 | }, | | 112 | 111 | }, | 113 | 112 | "semantics/interface-objects/001.worker.js": { | 114 | 113 | "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", | 116 | 115 | "expected": [ | 117 | 116 | "The ImageData interface object should be exposed.", | 118 | 117 | "The ImageBitmap interface object should be exposed.", | | 121 | 120 | "The TextMetrics interface object should be exposed.", | 122 | 121 | "The Path2D interface object should be exposed.", | 123 | 122 | "The PromiseRejectionEvent interface object should be exposed.", | 124 | | - "The EventSource interface object should be exposed.", | 125 | 123 | "The XMLHttpRequestEventTarget interface object should be exposed.", | 126 | 124 | "The XMLHttpRequestUpload interface object should be exposed.", | 127 | 125 | "The XMLHttpRequest interface object should be exposed.", | |
Collapse file Copy file name to clipboardExpand all lines: test/wpt/test-workers.js +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -5,5 +5,6 @@ const { WPTRunner } = require('../common/wpt'); | 5 | 5 |
| 6 | 6 | const runner = new WPTRunner('workers'); | 7 | 7 |
| | 8 | +runner.setFlags(['--experimental-eventsource']); | 8 | 9 | runner.pretendGlobalThisAs('Window'); | 9 | 10 | runner.runJsTests(); |
|