https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 12b6163dada31f7883839c25903e69566b9ef8b0 authored by Eugene Kim on 28 November 2018, 11:15:33 UTC
Change <area> element's style to display:none
Tip revision: 12b6163
console-tests-historical.any.js
/**
 * 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");
back to top