Skip to content

Commit

Permalink
test: remove reference to whatwg in file names under test/wpt
Browse files Browse the repository at this point in the history
WPT covers standards in both W3C and WHATWG, as such it would be
strange to make this disparity explicit in our file names
(e.g. when testing standards that are solely in W3C, like
performance-timeline). Remove the reference to WHATWG will
also make the file names shorter.

PR-URL: #24826
Refs: #24823
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
  • Loading branch information
joyeecheung authored and BethGriggs committed Dec 17, 2018
1 parent 2825894 commit da984be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/wpt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $ git node wpt url

### 3. Create the test driver

For example, for the URL tests, add a file `test/wpt/test-whatwg-url.js`:
For example, for the URL tests, add a file `test/wpt/test-url.js`:

```js
'use strict';
Expand Down Expand Up @@ -75,14 +75,14 @@ Run the test using `tools/test.py` and see if there are any failures.
For example, to run all the URL tests under `test/fixtures/wpt/url`:

```text
$ tools/test.py wpt/test-whatwg-url
$ tools/test.py wpt/test-url
```

To run a specific test in WPT, for example, `url/url-searchparams.any.js`,
pass the file name as argument to the corresponding test driver:

```text
node --expose-internals test/wpt/test-whatwg-url.js url-searchparams.any.js
node --expose-internals test/wpt/test-url.js url-searchparams.any.js
```

If there are any failures, update the corresponding status file
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit da984be

Please sign in to comment.