summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/extensions/column-numbers.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/non262/extensions/column-numbers.js')
-rw-r--r--js/src/tests/non262/extensions/column-numbers.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/src/tests/non262/extensions/column-numbers.js b/js/src/tests/non262/extensions/column-numbers.js
new file mode 100644
index 0000000000..721b05e9f2
--- /dev/null
+++ b/js/src/tests/non262/extensions/column-numbers.js
@@ -0,0 +1,10 @@
+actual = 'No Error';
+expected = /column-numbers\.js:4:11/;
+try {
+ throw new Error("test");
+}
+catch(ex) {
+ actual = ex.stack;
+ print('Caught exception ' + ex.stack);
+}
+reportMatch(expected, actual, 'column number present');