summaryrefslogtreecommitdiffstats
path: root/devtools/shared/sourcemap/tests/unit/head_sourcemap.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/shared/sourcemap/tests/unit/head_sourcemap.js')
-rw-r--r--devtools/shared/sourcemap/tests/unit/head_sourcemap.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/devtools/shared/sourcemap/tests/unit/head_sourcemap.js b/devtools/shared/sourcemap/tests/unit/head_sourcemap.js
new file mode 100644
index 000000000..12d4c078e
--- /dev/null
+++ b/devtools/shared/sourcemap/tests/unit/head_sourcemap.js
@@ -0,0 +1,18 @@
+/* Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/ */
+
+"use strict";
+var Cc = Components.classes;
+var Ci = Components.interfaces;
+var Cu = Components.utils;
+var Cr = Components.results;
+
+function doesNotThrow(f) {
+ try {
+ f();
+ } catch(e) {
+ ok(false, e + e.stack);
+ }
+}
+
+var assert = this;