summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/test/mochitest/examples/sourcemapped/fixtures/step-over-function-params/input.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/debugger/test/mochitest/examples/sourcemapped/fixtures/step-over-function-params/input.js')
-rw-r--r--devtools/client/debugger/test/mochitest/examples/sourcemapped/fixtures/step-over-function-params/input.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/devtools/client/debugger/test/mochitest/examples/sourcemapped/fixtures/step-over-function-params/input.js b/devtools/client/debugger/test/mochitest/examples/sourcemapped/fixtures/step-over-function-params/input.js
new file mode 100644
index 0000000000..1cbd8c8180
--- /dev/null
+++ b/devtools/client/debugger/test/mochitest/examples/sourcemapped/fixtures/step-over-function-params/input.js
@@ -0,0 +1,8 @@
+function test(a1, a2 = 45, { a3, a4, a5: { a6: a7 } = {} } = {}) {
+ console.log("pause next here");
+}
+
+export default function fn() {
+ console.log("pause here");
+ test("1", undefined, { a3: "3", a4: "4", a5: { a6: "7" } });
+}