Skip to content

Commit fa16313

Browse files
joyeecheungcodebytere
authored andcommittedJun 7, 2020
test: update WPT interfaces and hr-time
This commit updates the interfaces to https://github.com/web-platform-tests/wpt/tree/8ada332aea/interfaces and updates the hr-time test status: - `window-worker-timeOrigin.window.js` should be skipped because we don't implement `Blob` - `idlharness.any.js` should be skipped since the IDL parser needs to be updated, but the parser update would also result in an update of the test harness which in turn requires updates of other tests. We need to fix the URL implementation first, and then update the harness and all the tests. PR-URL: #33297 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 1f159e4 commit fa16313

File tree

11 files changed

+3395
-18
lines changed

11 files changed

+3395
-18
lines changed
 

‎test/fixtures/wpt/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Last update:
1414
- encoding: https://github.com/web-platform-tests/wpt/tree/5059d2c777/encoding
1515
- url: https://github.com/web-platform-tests/wpt/tree/418f7fabeb/url
1616
- resources: https://github.com/web-platform-tests/wpt/tree/e1fddfbf80/resources
17-
- interfaces: https://github.com/web-platform-tests/wpt/tree/712c9f275e/interfaces
17+
- interfaces: https://github.com/web-platform-tests/wpt/tree/8ada332aea/interfaces
1818
- html/webappapis/microtask-queuing: https://github.com/web-platform-tests/wpt/tree/0c3bed38df/html/webappapis/microtask-queuing
1919
- html/webappapis/timers: https://github.com/web-platform-tests/wpt/tree/ddfe9c089b/html/webappapis/timers
2020
- hr-time: https://github.com/web-platform-tests/wpt/tree/a5d1774ecf/hr-time

‎test/fixtures/wpt/interfaces/console.idl

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ namespace console { // but see namespace object requirements below
1212
void error(any... data);
1313
void info(any... data);
1414
void log(any... data);
15-
void table(any tabularData, optional sequence<DOMString> properties);
15+
void table(optional any tabularData, optional sequence<DOMString> properties);
1616
void trace(any... data);
1717
void warn(any... data);
18-
void dir(any item, optional object? options);
18+
void dir(optional any item, optional object? options);
1919
void dirxml(any... data);
2020

2121
// Counting

0 commit comments

Comments
 (0)
Please sign in to comment.