tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

console-tests-historical.any.js (749B)


      1 // META: global=window,dedicatedworker,shadowrealm
      2 /**
      3 * These tests assert the non-existence of certain
      4 * legacy Console methods that are not included in
      5 * the specification: http://console.spec.whatwg.org/
      6 */
      7 
      8 "use strict";
      9 
     10 test(() => {
     11  assert_equals(console.timeline, undefined, "console.timeline should be undefined");
     12 }, "'timeline' function should not exist on the console object");
     13 
     14 test(() => {
     15  assert_equals(console.timelineEnd, undefined, "console.timelineEnd should be undefined");
     16 }, "'timelineEnd' function should not exist on the console object");
     17 
     18 test(() => {
     19  assert_equals(console.markTimeline, undefined, "console.markTimeline should be undefined");
     20 }, "'markTimeline' function should not exist on the console object");