gecko-dev/testing/web-platform/tests/console/console-tests-historical.any.js
Dominic Farolino 5ac558368d Bug 1447671 [wpt PR 10124] - Add Console historical test for markTimline, a=testonly
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
2018-04-30 14:35:56 +00:00

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");