From 500de750aaa3093e3fe510eaafba234c0e88e342 Mon Sep 17 00:00:00 2001 From: Andrea Marchesini Date: Sat, 1 Dec 2018 21:26:10 +0100 Subject: [PATCH] Bug 1508310 - Implement Report-to header support - part 10 - delivering tests, r=smaug --- dom/reporting/tests/iframe_delivering.html | 73 ++++++++++++++++++++++ dom/reporting/tests/mochitest.ini | 3 + dom/reporting/tests/test_delivering.html | 44 +++++++++++++ 3 files changed, 120 insertions(+) create mode 100644 dom/reporting/tests/iframe_delivering.html create mode 100644 dom/reporting/tests/test_delivering.html diff --git a/dom/reporting/tests/iframe_delivering.html b/dom/reporting/tests/iframe_delivering.html new file mode 100644 index 000000000000..f9b764fe786f --- /dev/null +++ b/dom/reporting/tests/iframe_delivering.html @@ -0,0 +1,73 @@ + + + + Test for delivering reports + + + + + + diff --git a/dom/reporting/tests/mochitest.ini b/dom/reporting/tests/mochitest.ini index f85e807ad223..876da26c7f76 100644 --- a/dom/reporting/tests/mochitest.ini +++ b/dom/reporting/tests/mochitest.ini @@ -1,7 +1,10 @@ [DEFAULT] prefs = dom.reporting.enabled=true + dom.reporting.header.enabled=true dom.reporting.testing.enabled=true [test_deprecated.html] [test_memoryPressure.html] +[test_delivering.html] +support-files = delivering.sjs iframe_delivering.html diff --git a/dom/reporting/tests/test_delivering.html b/dom/reporting/tests/test_delivering.html new file mode 100644 index 000000000000..fc0697cb421b --- /dev/null +++ b/dom/reporting/tests/test_delivering.html @@ -0,0 +1,44 @@ + + + + Test for delivering reports + + + + + + + +