Skip to content

Commit

Permalink
update existing status files
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Feb 13, 2023
1 parent efd7ccd commit 98de155
Show file tree
Hide file tree
Showing 40 changed files with 478 additions and 379 deletions.
49 changes: 49 additions & 0 deletions test/wpt/status/FileAPI/blob.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
'use strict';

module.exports = {
'Blob-constructor-dom.window.js': {
skip: 'Depends on DOM API',
},
'Blob-constructor.any.js': {
fail: {
note: 'Depends on File API',
expected: [
'A plain object with @@iterator should be treated as a sequence for the blobParts argument.',
'A plain object with @@iterator and a length property should be treated as a sequence for the blobParts argument.',
'A String object should be treated as a sequence for the blobParts argument.',
'A Uint8Array object should be treated as a sequence for the blobParts argument.',
'Getters and value conversions should happen in order until an exception is thrown.',
'Changes to the blobParts array should be reflected in the returned Blob (pop).',
'Changes to the blobParts array should be reflected in the returned Blob (unshift).',
'ToString should be called on elements of the blobParts array.',
'ArrayBuffer elements of the blobParts array should be supported.',
'Passing typed arrays as elements of the blobParts array should work.',
'Passing a Float64Array as element of the blobParts array should work.',
'Array with two blobs',
'Array with two buffers',
'Array with two bufferviews',
'Array with mixed types',
'options properties should be accessed in lexicographic order.',
'Arguments should be evaluated from left to right.',
'Passing null (index 0) for options should use the defaults.',
'Passing null (index 0) for options should use the defaults (with newlines).',
'Passing undefined (index 1) for options should use the defaults.',
'Passing undefined (index 1) for options should use the defaults (with newlines).',
'Passing object "[object Object]" (index 2) for options should use the defaults.',
'Passing object "[object Object]" (index 2) for options should use the defaults (with newlines).',
'Passing object "[object Object]" (index 3) for options should use the defaults.',
'Passing object "[object Object]" (index 3) for options should use the defaults (with newlines).',
'Passing object "/regex/" (index 4) for options should use the defaults.',
'Passing object "/regex/" (index 4) for options should use the defaults (with newlines).',
'Passing function "function() {}" (index 5) for options should use the defaults.',
'Passing function "function() {}" (index 5) for options should use the defaults (with newlines).',
],
},
},
'Blob-in-worker.worker.js': {
skip: 'Depends on Web Workers API',
},
'Blob-slice.any.js': {
skip: 'Depends on File API',
},
};
47 changes: 0 additions & 47 deletions test/wpt/status/FileAPI/blob.json

This file was deleted.

19 changes: 19 additions & 0 deletions test/wpt/status/FileAPI/file.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
'use strict';

module.exports = {
'Worker-read-file-constructor.worker.js': {
skip: true,
},
'send-file-formdata-punctuation.any.js': {
skip: true,
},
'send-file-formdata-utf-8.any.js': {
skip: true,
},
'send-file-formdata.any.js': {
skip: true,
},
'send-file-formdata-controls.any.js': {
skip: true,
},
};
17 changes: 0 additions & 17 deletions test/wpt/status/FileAPI/file.json

This file was deleted.

10 changes: 10 additions & 0 deletions test/wpt/status/WebCryptoAPI.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
'use strict';

module.exports = {
'algorithm-discards-context.https.window.js': {
skip: 'Not relevant in Node.js context',
},
'historical.any.js': {
skip: 'Not relevant in Node.js context',
},
};
8 changes: 0 additions & 8 deletions test/wpt/status/WebCryptoAPI.json

This file was deleted.

13 changes: 13 additions & 0 deletions test/wpt/status/console.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
'use strict';

module.exports = {
'idlharness.any.js': {
fail: {
flaky: [
'console namespace: operation assert(optional boolean, any...)',
'console namespace: operation table(optional any, optional sequence<DOMString>)',
'console namespace: operation dir(optional any, optional object?)',
],
},
},
};
11 changes: 0 additions & 11 deletions test/wpt/status/console.json

This file was deleted.

3 changes: 3 additions & 0 deletions test/wpt/status/dom/abort.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = {};
1 change: 0 additions & 1 deletion test/wpt/status/dom/abort.json

This file was deleted.

37 changes: 37 additions & 0 deletions test/wpt/status/dom/events.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
'use strict';

module.exports = {
'AddEventListenerOptions-passive.any.js': {
fail: {
expected: [
'preventDefault should be ignored if-and-only-if the passive option is true',
'returnValue should be ignored if-and-only-if the passive option is true',
'passive behavior of one listener should be unaffected by the presence of other listeners',
],
},
},
'Event-dispatch-listener-order.window.js': {
skip: 'document is not defined',
},
'EventListener-addEventListener.sub.window.js': {
skip: 'document is not defined',
},
'EventTarget-removeEventListener.any.js': {
skip: 'globalThis.removeEventListener is not a function',
},
'event-global-extra.window.js': {
skip: 'document is not defined',
},
'event-global-set-before-handleEvent-lookup.window.js': {
skip: 'window is not defined',
},
'event-global.worker.js': {
skip: 'importScripts is not defined',
},
'legacy-pre-activation-behavior.window.js': {
skip: 'document is not defined',
},
'relatedTarget.window.js': {
skip: 'document is not defined',
},
};
35 changes: 0 additions & 35 deletions test/wpt/status/dom/events.json

This file was deleted.

Loading

0 comments on commit 98de155

Please sign in to comment.