summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests/unit/tracerlocations.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/server/tests/unit/tracerlocations.js')
-rw-r--r--devtools/server/tests/unit/tracerlocations.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/devtools/server/tests/unit/tracerlocations.js b/devtools/server/tests/unit/tracerlocations.js
new file mode 100644
index 000000000..aa4677c0f
--- /dev/null
+++ b/devtools/server/tests/unit/tracerlocations.js
@@ -0,0 +1,8 @@
+// For JS Tracer tests dealing with source locations.
+
+function foo(x) {
+ x += 6;
+ return "bar";
+}
+
+foo(42);