From efddb6ab00b64f0b62df5271ea7e6218b5e36a06 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Tue, 10 Mar 2020 05:32:25 +0000 Subject: [PATCH] Bug 873229 test. Differential Revision: https://phabricator.services.mozilla.com/D66181 --HG-- extra : moz-landing-system : lando --- dom/tests/mochitest/bugs/file_bug873229.js | 3 + dom/tests/mochitest/bugs/mochitest.ini | 2 + dom/tests/mochitest/bugs/test_bug873229.html | 83 ++++++++++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 dom/tests/mochitest/bugs/file_bug873229.js create mode 100644 dom/tests/mochitest/bugs/test_bug873229.html diff --git a/dom/tests/mochitest/bugs/file_bug873229.js b/dom/tests/mochitest/bugs/file_bug873229.js new file mode 100644 index 000000000000..1702bfedc7df --- /dev/null +++ b/dom/tests/mochitest/bugs/file_bug873229.js @@ -0,0 +1,3 @@ +// This is a script that will let you get an exception thrown by +// calling bar() with no arguments, say. +var foo = "Some string"; function bar(x) { x.trySomething(); } diff --git a/dom/tests/mochitest/bugs/mochitest.ini b/dom/tests/mochitest/bugs/mochitest.ini index cfe78803699f..e948c45e6c47 100644 --- a/dom/tests/mochitest/bugs/mochitest.ini +++ b/dom/tests/mochitest/bugs/mochitest.ini @@ -130,6 +130,8 @@ skip-if = toolkit == 'android' && !is_fennec # Bug 1525959 [test_bug850517.html] [test_bug857555.html] [test_bug862540.html] +[test_bug873229.html] +support-files = file_bug873229.js [test_bug876098.html] [test_bug927901.html] [test_devicemotion_multiple_listeners.html] diff --git a/dom/tests/mochitest/bugs/test_bug873229.html b/dom/tests/mochitest/bugs/test_bug873229.html new file mode 100644 index 000000000000..c2452751595d --- /dev/null +++ b/dom/tests/mochitest/bugs/test_bug873229.html @@ -0,0 +1,83 @@ + + + + + + Test for Bug 873229 + + + + + + +Mozilla Bug 873229 +

+ +
+
+ +