summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/whatwg/browserFu.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/mochitest/whatwg/browserFu.js')
-rw-r--r--dom/tests/mochitest/whatwg/browserFu.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/dom/tests/mochitest/whatwg/browserFu.js b/dom/tests/mochitest/whatwg/browserFu.js
new file mode 100644
index 000000000..3fb5bdf95
--- /dev/null
+++ b/dom/tests/mochitest/whatwg/browserFu.js
@@ -0,0 +1,6 @@
+/**
+ * File which includes stuff for Mozilla-specific checks which shouldn't happen
+ * in other browsers but which we wish to test.
+ */
+
+var isMozilla = navigator.product === "Gecko" && "buildID" in navigator;