Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /console/console-tests-historical.any.html - WPT Dashboard Interop Dashboard
- /console/console-tests-historical.any.shadowrealm-in-dedicatedworker.html - WPT Dashboard Interop Dashboard
- /console/console-tests-historical.any.shadowrealm-in-shadowrealm.html - WPT Dashboard Interop Dashboard
- /console/console-tests-historical.any.shadowrealm-in-sharedworker.html - WPT Dashboard Interop Dashboard
- /console/console-tests-historical.any.shadowrealm-in-window.html - WPT Dashboard Interop Dashboard
- /console/console-tests-historical.any.worker.html - WPT Dashboard Interop Dashboard
- /console/console-tests-historical.https.any.shadowrealm-in-audioworklet.html - WPT Dashboard Interop Dashboard
- /console/console-tests-historical.https.any.shadowrealm-in-serviceworker.html - WPT Dashboard Interop Dashboard
// META: global=window,dedicatedworker,shadowrealm
/**
* These tests assert the non-existence of certain
* legacy Console methods that are not included in
*/
"use strict";
test(() => {
assert_equals(console.timeline, undefined, "console.timeline should be undefined");
}, "'timeline' function should not exist on the console object");
test(() => {
assert_equals(console.timelineEnd, undefined, "console.timelineEnd should be undefined");
}, "'timelineEnd' function should not exist on the console object");
test(() => {
assert_equals(console.markTimeline, undefined, "console.markTimeline should be undefined");
}, "'markTimeline' function should not exist on the console object");