diff options
Diffstat (limited to 'devtools/shared/tests/xpcshell/throwing-module-1.js')
-rw-r--r-- | devtools/shared/tests/xpcshell/throwing-module-1.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/devtools/shared/tests/xpcshell/throwing-module-1.js b/devtools/shared/tests/xpcshell/throwing-module-1.js new file mode 100644 index 0000000000..cc7e159a76 --- /dev/null +++ b/devtools/shared/tests/xpcshell/throwing-module-1.js @@ -0,0 +1,7 @@ +"use strict"; + +function throwingMethod() { + throw new Error("my-exception"); +} + +throwingMethod(); |