Skip to content

Commit 39c0f19

Browse files
committed
update existing status files
1 parent 5e6439b commit 39c0f19

37 files changed

+501
-410
lines changed

test/wpt/status/FileAPI/blob.js

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
'use strict';
2+
3+
module.exports = {
4+
'Blob-constructor-dom.window.js': {
5+
skip: 'Depends on DOM API',
6+
},
7+
'Blob-constructor.any.js': {
8+
fail: {
9+
note: 'Depends on File API',
10+
expected: [
11+
'A plain object with @@iterator should be treated as a sequence for the blobParts argument.',
12+
'A plain object with @@iterator and a length property should be treated as a sequence for the blobParts argument.',
13+
'A String object should be treated as a sequence for the blobParts argument.',
14+
'A Uint8Array object should be treated as a sequence for the blobParts argument.',
15+
'Getters and value conversions should happen in order until an exception is thrown.',
16+
'Changes to the blobParts array should be reflected in the returned Blob (pop).',
17+
'Changes to the blobParts array should be reflected in the returned Blob (unshift).',
18+
'ToString should be called on elements of the blobParts array.',
19+
'ArrayBuffer elements of the blobParts array should be supported.',
20+
'Passing typed arrays as elements of the blobParts array should work.',
21+
'Passing a Float64Array as element of the blobParts array should work.',
22+
'Array with two blobs',
23+
'Array with two buffers',
24+
'Array with two bufferviews',
25+
'Array with mixed types',
26+
'options properties should be accessed in lexicographic order.',
27+
'Arguments should be evaluated from left to right.',
28+
'Passing null (index 0) for options should use the defaults.',
29+
'Passing null (index 0) for options should use the defaults (with newlines).',
30+
'Passing undefined (index 1) for options should use the defaults.',
31+
'Passing undefined (index 1) for options should use the defaults (with newlines).',
32+
'Passing object "[object Object]" (index 2) for options should use the defaults.',
33+
'Passing object "[object Object]" (index 2) for options should use the defaults (with newlines).',
34+
'Passing object "[object Object]" (index 3) for options should use the defaults.',
35+
'Passing object "[object Object]" (index 3) for options should use the defaults (with newlines).',
36+
'Passing object "/regex/" (index 4) for options should use the defaults.',
37+
'Passing object "/regex/" (index 4) for options should use the defaults (with newlines).',
38+
'Passing function "function() {}" (index 5) for options should use the defaults.',
39+
'Passing function "function() {}" (index 5) for options should use the defaults (with newlines).',
40+
],
41+
},
42+
},
43+
'Blob-in-worker.worker.js': {
44+
skip: 'Depends on Web Workers API',
45+
},
46+
'Blob-slice.any.js': {
47+
skip: 'Depends on File API',
48+
},
49+
};

test/wpt/status/FileAPI/blob.json

Lines changed: 0 additions & 47 deletions
This file was deleted.

test/wpt/status/FileAPI/file.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
'use strict';
2+
3+
module.exports = {
4+
'Worker-read-file-constructor.worker.js': {
5+
skip: true,
6+
},
7+
'send-file-formdata-punctuation.any.js': {
8+
skip: true,
9+
},
10+
'send-file-formdata-utf-8.any.js': {
11+
skip: true,
12+
},
13+
'send-file-formdata.any.js': {
14+
skip: true,
15+
},
16+
'send-file-formdata-controls.any.js': {
17+
skip: true,
18+
},
19+
};

test/wpt/status/FileAPI/file.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

test/wpt/status/WebCryptoAPI.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
'use strict';
2+
3+
module.exports = {
4+
'import_export/ec_importKey.https.any.js': {
5+
fail: {
6+
expected: [
7+
// TODO: Compressed point export should result in uncompressed point
8+
// https://github.com/nodejs/node/issues/45859
9+
'Good parameters: P-256 bits (spki, buffer(59, compressed), {name: ECDSA, namedCurve: P-256}, true, [])',
10+
'Good parameters: P-384 bits (spki, buffer(72, compressed), {name: ECDSA, namedCurve: P-384}, true, [])',
11+
'Good parameters: P-521 bits (spki, buffer(90, compressed), {name: ECDSA, namedCurve: P-521}, true, [])',
12+
'Good parameters: P-256 bits (spki, buffer(59, compressed), {name: ECDH, namedCurve: P-256}, true, [])',
13+
'Good parameters: P-384 bits (spki, buffer(72, compressed), {name: ECDH, namedCurve: P-384}, true, [])',
14+
'Good parameters: P-521 bits (spki, buffer(90, compressed), {name: ECDH, namedCurve: P-521}, true, [])',
15+
],
16+
},
17+
},
18+
'algorithm-discards-context.https.window.js': {
19+
skip: 'Not relevant in Node.js context',
20+
},
21+
'historical.any.js': {
22+
skip: 'Not relevant in Node.js context',
23+
},
24+
};

test/wpt/status/WebCryptoAPI.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

test/wpt/status/console.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
'use strict';
2+
3+
module.exports = {
4+
'idlharness.any.js': {
5+
fail: {
6+
flaky: [
7+
'console namespace: operation assert(optional boolean, any...)',
8+
'console namespace: operation table(optional any, optional sequence<DOMString>)',
9+
'console namespace: operation dir(optional any, optional object?)',
10+
],
11+
},
12+
},
13+
};

test/wpt/status/console.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

test/wpt/status/dom/abort.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/wpt/status/dom/events.js

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
'use strict';
2+
3+
module.exports = {
4+
'AddEventListenerOptions-passive.any.js': {
5+
fail: {
6+
expected: [
7+
'preventDefault should be ignored if-and-only-if the passive option is true',
8+
'returnValue should be ignored if-and-only-if the passive option is true',
9+
'passive behavior of one listener should be unaffected by the presence of other listeners',
10+
],
11+
},
12+
},
13+
'AddEventListenerOptions-signal.any.js': {
14+
fail: {
15+
expected: [
16+
'Passing null as the signal should throw (listener is also null)',
17+
],
18+
},
19+
},
20+
'Event-constructors.any.js': {
21+
fail: {
22+
expected: [
23+
'Untitled 2',
24+
'Untitled 3',
25+
],
26+
},
27+
},
28+
'Event-dispatch-listener-order.window.js': {
29+
skip: 'document is not defined',
30+
},
31+
'EventListener-addEventListener.sub.window.js': {
32+
skip: 'document is not defined',
33+
},
34+
'EventTarget-removeEventListener.any.js': {
35+
skip: 'globalThis.removeEventListener is not a function',
36+
},
37+
'event-global-extra.window.js': {
38+
skip: 'document is not defined',
39+
},
40+
'event-global-set-before-handleEvent-lookup.window.js': {
41+
skip: 'window is not defined',
42+
},
43+
'event-global.worker.js': {
44+
skip: 'importScripts is not defined',
45+
},
46+
'legacy-pre-activation-behavior.window.js': {
47+
skip: 'document is not defined',
48+
},
49+
'relatedTarget.window.js': {
50+
skip: 'document is not defined',
51+
},
52+
};

0 commit comments

Comments
 (0)