diff options
Diffstat (limited to 'devtools/client/debugger/test/mochitest/code_script-switching-02.js')
-rw-r--r-- | devtools/client/debugger/test/mochitest/code_script-switching-02.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devtools/client/debugger/test/mochitest/code_script-switching-02.js b/devtools/client/debugger/test/mochitest/code_script-switching-02.js new file mode 100644 index 000000000..feb74315f --- /dev/null +++ b/devtools/client/debugger/test/mochitest/code_script-switching-02.js @@ -0,0 +1,13 @@ +/* Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ + +function secondCall() { + // This comment is useful: ☺ + debugger; + function foo() {} + if (x) { + foo(); + } +} + +var x = true; |