Bug 1447671 [wpt PR 10124] - Add Console historical test for markTimline, a=testonly
authorDominic Farolino <domfarolino@gmail.com>
Sun, 29 Apr 2018 20:23:16 +0000
changeset 416268 fc8d20f5d38f09a92b20fcceb47560955ea322bf
parent 416267 b49ad9fb14edf5ebfb6c5d76d947bd0ed02df8f6
child 416269 89d303876a7e1b2b43d099822477b7f80333b71b
push id102744
push userwptsync@mozilla.com
push dateMon, 30 Apr 2018 14:39:46 +0000
treeherdermozilla-inbound@9299ab4a5235 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1447671, 10124
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/console/console-tests-historical.any.js
testing/web-platform/tests/console/console-timeline-timelineEnd-historical.any.js
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -310076,36 +310076,36 @@
      "/console/console-is-a-namespace.any.html",
      {}
     ],
     [
      "/console/console-is-a-namespace.any.worker.html",
      {}
     ]
    ],
+   "console/console-tests-historical.any.js": [
+    [
+     "/console/console-tests-historical.any.html",
+     {}
+    ],
+    [
+     "/console/console-tests-historical.any.worker.html",
+     {}
+    ]
+   ],
    "console/console-time-label-conversion.any.js": [
     [
      "/console/console-time-label-conversion.any.html",
      {}
     ],
     [
      "/console/console-time-label-conversion.any.worker.html",
      {}
     ]
    ],
-   "console/console-timeline-timelineEnd-historical.any.js": [
-    [
-     "/console/console-timeline-timelineEnd-historical.any.html",
-     {}
-    ],
-    [
-     "/console/console-timeline-timelineEnd-historical.any.worker.html",
-     {}
-    ]
-   ],
    "content-security-policy/base-uri/base-uri-allow.sub.html": [
     [
      "/content-security-policy/base-uri/base-uri-allow.sub.html",
      {}
     ]
    ],
    "content-security-policy/base-uri/base-uri-deny.sub.html": [
     [
@@ -423637,24 +423637,24 @@
   "console/console-format-specifier-symbol-manual.html": [
    "d3301d5fa86c5acad2dd4daec1d42ee7a7ef8732",
    "manual"
   ],
   "console/console-is-a-namespace.any.js": [
    "9ad845184a6dd40b1ab64992ca514dbf4736c930",
    "testharness"
   ],
+  "console/console-tests-historical.any.js": [
+   "ee18f8a672534b478ca15990026638a73588fcf4",
+   "testharness"
+  ],
   "console/console-time-label-conversion.any.js": [
    "5e2ca9e9dca88c6de32408b461f3f4c54c586031",
    "testharness"
   ],
-  "console/console-timeline-timelineEnd-historical.any.js": [
-   "ca938829b5946f26348e237379a4f3e9ec945e40",
-   "testharness"
-  ],
   "content-security-policy/OWNERS": [
    "f478084fb2b04fe93435b3c33e9791bf613ba7f8",
    "support"
   ],
   "content-security-policy/README.css": [
    "5d86efff22b5d791302cccd8cade79ccd2960e18",
    "support"
   ],
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/console/console-tests-historical.any.js
@@ -0,0 +1,19 @@
+/**
+ * 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");
deleted file mode 100644
--- a/testing/web-platform/tests/console/console-timeline-timelineEnd-historical.any.js
+++ /dev/null
@@ -1,9 +0,0 @@
-"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");
\ No newline at end of file