Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bcb94aa

Browse filesBrowse files
anonrigdanielleadams
authored andcommitted
test: update console web platform tests
PR-URL: #44100 Reviewed-By: Feng Yu <F3n67u@outlook.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent c975427 commit bcb94aa
Copy full SHA for bcb94aa

File tree

Expand file treeCollapse file tree

7 files changed

+21
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

7 files changed

+21
-4
lines changed
Open diff view settings
Collapse file

‎test/fixtures/wpt/README.md‎

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 numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ See [test/wpt](../../wpt/README.md) for information on how these tests are run.
1111
Last update:
1212

1313
- 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
1515
- dom/abort: https://github.com/web-platform-tests/wpt/tree/c49cafb491/dom/abort
1616
- dom/events: https://github.com/web-platform-tests/wpt/tree/f8821adb28/dom/events
1717
- encoding: https://github.com/web-platform-tests/wpt/tree/c1b24fce6e/encoding
Collapse file

‎test/fixtures/wpt/console/console-is-a-namespace.any.js‎

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 numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
// META: global=window,dedicatedworker,shadowrealm
12
"use strict";
2-
// https://heycam.github.io/webidl/#es-namespaces
3+
// https://webidl.spec.whatwg.org/#es-namespaces
34
// https://console.spec.whatwg.org/#console-namespace
45

56
test(() => {
Collapse file
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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

‎test/fixtures/wpt/console/console-namespace-object-class-string.any.js‎

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 numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"use strict";
2-
// https://heycam.github.io/webidl/#es-namespaces
2+
// https://webidl.spec.whatwg.org/#es-namespaces
33
// https://console.spec.whatwg.org/#console-namespace
44

55
test(() => {
Collapse file

‎test/fixtures/wpt/console/console-tests-historical.any.js‎

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 numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// META: global=window,dedicatedworker,shadowrealm
12
/**
23
* These tests assert the non-existence of certain
34
* legacy Console methods that are not included in
Collapse file
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// META: script=/resources/idlharness-shadowrealm.js
2+
3+
// https://console.spec.whatwg.org/
4+
5+
idl_test_shadowrealm(["console"], []);
Collapse file

‎test/fixtures/wpt/versions.json‎

Copy file name to clipboardExpand all lines: test/fixtures/wpt/versions.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"path": "common"
55
},
66
"console": {
7-
"commit": "3b1f72e99a91d31551edd2147dc7b564eaf25d72",
7+
"commit": "767ae354642bee1e4d90b28df4480475b9260e14",
88
"path": "console"
99
},
1010
"dom/abort": {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.