Visitar URL original
test: update console web platform tests · nodejs/node@dd4db8e · GitHub
The Wayback Machine - https://web.archive.org/web/20230219023150/https://github.com/nodejs/node/commit/dd4db8e724
Skip to content
Permalink
Browse files
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>
  • Loading branch information
anonrig authored and juanarbol committed Oct 11, 2022
1 parent 5d33dfd commit dd4db8e
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 4 deletions.
@@ -11,7 +11,7 @@ See [test/wpt](../../wpt/README.md) for information on how these tests are run.
Last update:

- common: https://github.com/web-platform-tests/wpt/tree/03c5072aff/common
- console: https://github.com/web-platform-tests/wpt/tree/3b1f72e99a/console
- console: https://github.com/web-platform-tests/wpt/tree/767ae35464/console
- dom/abort: https://github.com/web-platform-tests/wpt/tree/c49cafb491/dom/abort
- dom/events: https://github.com/web-platform-tests/wpt/tree/f8821adb28/dom/events
- encoding: https://github.com/web-platform-tests/wpt/tree/c1b24fce6e/encoding
@@ -1,5 +1,6 @@
// META: global=window,dedicatedworker,shadowrealm
"use strict";
// https://heycam.github.io/webidl/#es-namespaces
// https://webidl.spec.whatwg.org/#es-namespaces
// https://console.spec.whatwg.org/#console-namespace

test(() => {
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<mete charset=utf-8>
<title>Console Logging Manual Test</title>
<p>Open the console inside the developer tools. It should contain one entry saying "test passed".</p>
<script>
const sr = new ShadowRealm();
sr.evaluate(`
console.log("test passed");
`);
</script>
@@ -1,5 +1,5 @@
"use strict";
// https://heycam.github.io/webidl/#es-namespaces
// https://webidl.spec.whatwg.org/#es-namespaces
// https://console.spec.whatwg.org/#console-namespace

test(() => {
@@ -1,3 +1,4 @@
// META: global=window,dedicatedworker,shadowrealm
/**
* These tests assert the non-existence of certain
* legacy Console methods that are not included in
@@ -0,0 +1,5 @@
// META: script=/resources/idlharness-shadowrealm.js

// https://console.spec.whatwg.org/

idl_test_shadowrealm(["console"], []);
@@ -4,7 +4,7 @@
"path": "common"
},
"console": {
"commit": "3b1f72e99a91d31551edd2147dc7b564eaf25d72",
"commit": "767ae354642bee1e4d90b28df4480475b9260e14",
"path": "console"
},
"dom/abort": {

0 comments on commit dd4db8e

Please sign in to comment.