mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 14:20:14 +02:00
Automatic update from web-platform-testsAdd Console historical test for markTimeline ...and also generalize the file already containing historical tests to house any future historical tests asserting the non-existence of certain legacy Console methods. Part of whatwg/console#27. -- wpt-commits: 0628e2e73489ddd075f273d2555e504e97e28ce6 wpt-pr: 10124
19 lines
698 B
JavaScript
19 lines
698 B
JavaScript
/**
|
|
* These tests assert the non-existence of certain
|
|
* legacy Console methods that are not included in
|
|
* the specification: http://console.spec.whatwg.org/
|
|
*/
|
|
|
|
"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");
|