GeezerVison is showing github.com — test: update console web platform tests · nodejs/node@bcb94aa
File tree
Expand 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/fixtures/wpt/README.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -11,7 +11,7 @@ See [test/wpt](../../wpt/README.md) for information on how these tests are run. |
11 | 11 | Last update: |
12 | 12 |
|
13 | 13 | - common: https://github.com/web-platform-tests/wpt/tree/03c5072aff/common |
14 | | -- console: https://github.com/web-platform-tests/wpt/tree/3b1f72e99a/console |
| 14 | +- console: https://github.com/web-platform-tests/wpt/tree/767ae35464/console |
15 | 15 | - dom/abort: https://github.com/web-platform-tests/wpt/tree/c49cafb491/dom/abort |
16 | 16 | - dom/events: https://github.com/web-platform-tests/wpt/tree/f8821adb28/dom/events |
17 | 17 | - encoding: https://github.com/web-platform-tests/wpt/tree/c1b24fce6e/encoding |
|
Collapse file
Copy file name to clipboardExpand all lines: test/fixtures/wpt/console/console-is-a-namespace.any.js +2-1Lines changed: 2 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// META: global=window,dedicatedworker,shadowrealm |
1 | 2 | "use strict"; |
2 | | -// https://heycam.github.io/webidl/#es-namespaces |
| 3 | +// https://webidl.spec.whatwg.org/#es-namespaces |
3 | 4 | // https://console.spec.whatwg.org/#console-namespace |
4 | 5 |
|
5 | 6 | test(() => { |
|
Collapse file
Copy file name to clipboard +10Lines changed: 10 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +<!DOCTYPE html> |
| 2 | +<mete charset=utf-8> |
| 3 | +<title>Console Logging Manual Test</title> |
| 4 | +<p>Open the console inside the developer tools. It should contain one entry saying "test passed".</p> |
| 5 | +<script> |
| 6 | +const sr = new ShadowRealm(); |
| 7 | +sr.evaluate(` |
| 8 | + console.log("test passed"); |
| 9 | +`); |
| 10 | +</script> |
Collapse file
Copy file name to clipboardExpand all lines: test/fixtures/wpt/console/console-namespace-object-class-string.any.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | "use strict"; |
2 | | -// https://heycam.github.io/webidl/#es-namespaces |
| 2 | +// https://webidl.spec.whatwg.org/#es-namespaces |
3 | 3 | // https://console.spec.whatwg.org/#console-namespace |
4 | 4 |
|
5 | 5 | test(() => { |
|
Collapse file
Copy file name to clipboardExpand all lines: test/fixtures/wpt/console/console-tests-historical.any.js +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// META: global=window,dedicatedworker,shadowrealm |
1 | 2 | /** |
2 | 3 | * These tests assert the non-existence of certain |
3 | 4 | * legacy Console methods that are not included in |
|
Collapse file
Copy file name to clipboard +5Lines changed: 5 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// META: script=/resources/idlharness-shadowrealm.js |
| 2 | + |
| 3 | +// https://console.spec.whatwg.org/ |
| 4 | + |
| 5 | +idl_test_shadowrealm(["console"], []); |
Collapse file
Copy file name to clipboardExpand all lines: test/fixtures/wpt/versions.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
4 | 4 | "path": "common" |
5 | 5 | }, |
6 | 6 | "console": { |
7 | | - "commit": "3b1f72e99a91d31551edd2147dc7b564eaf25d72", |
| 7 | + "commit": "767ae354642bee1e4d90b28df4480475b9260e14", |
8 | 8 | "path": "console" |
9 | 9 | }, |
10 | 10 | "dom/abort": { |
|