Bug 1532597 [wpt PR 15628] - Add an infra/testdriver test for generate_test_report API., a=testonly
authorLuke Zielinski <44509484+LukeZielinski@users.noreply.github.com>
Mon, 15 Apr 2019 14:37:22 +0000
changeset 471020 752af3b666db65792f22e0562af72068b20a30d4
parent 471019 98f0b195b2f577092bb71d11aaa424838611c24f
child 471021 2d737f13773b4e9217bbab77cf90e0b68b112bf6
push id35911
push usercbrindusan@mozilla.com
push dateWed, 24 Apr 2019 21:55:25 +0000
treeherdermozilla-central@c7a9affeb604 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1532597, 15628
milestone68.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 1532597 [wpt PR 15628] - Add an infra/testdriver test for generate_test_report API., a=testonly Automatic update from web-platform-tests Add an infra/testdriver test for generate_test_report API. (#15628) -- wpt-commits: 1a416a4ff95b0591b47313cda227efb48104ab75 wpt-pr: 15628
testing/web-platform/tests/infrastructure/metadata/infrastructure/testdriver/generate_test_report.html.ini
testing/web-platform/tests/infrastructure/testdriver/generate_test_report.html
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/metadata/infrastructure/testdriver/generate_test_report.html.ini
@@ -0,0 +1,4 @@
+[generate_test_report.html]
+  expected:
+    if product == "firefox": ERROR
+    if product == "safari": ERROR
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/testdriver/generate_test_report.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>TestDriver generate_test_report method</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/resources/testdriver.js"></script>
+<script src="/resources/testdriver-vendor.js"></script>
+
+<script>
+async_test(t => {
+  test_driver
+    .generate_test_report("Test message.")
+    .then(() => t.done())
+    .catch(t.unreached_func("generate_test_report failed"));
+});
+</script>