Skip to content

Commit b932366

Browse files
Added sample exception for Opera 12.16
1 parent a20f151 commit b932366

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

test/CapturedExceptions.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,26 @@ CapturedExceptions.opera_1151 = {
185185
" foo();"
186186
};
187187

188+
CapturedExceptions.opera_1216 = {
189+
message: "Cannot convert 'x' to object",
190+
name: "TypeError",
191+
stack: "<anonymous function>([arguments not available])@http://localhost:63342/javascript-stacktrace/test/functional/ExceptionLab.js:4\n" +
192+
"createException([arguments not available])@http://localhost:63342/javascript-stacktrace/test/functional/ExceptionLab.js:2\n" +
193+
"createException4([arguments not available])@http://localhost:63342/javascript-stacktrace/test/functional/ExceptionLab.html:56\n" +
194+
"dumpException4([arguments not available])@http://localhost:63342/javascript-stacktrace/test/functional/ExceptionLab.html:60\n" +
195+
"<anonymous function>([arguments not available])@http://localhost:63342/javascript-stacktrace/test/functional/ExceptionLab.html:1",
196+
stacktrace: "Error thrown at line 4, column 6 in <anonymous function>(x) in http://localhost:63342/javascript-stacktrace/test/functional/ExceptionLab.js:\n" +
197+
" x.undef();\n" +
198+
"called from line 2, column 2 in createException() in http://localhost:63342/javascript-stacktrace/test/functional/ExceptionLab.js:\n" +
199+
" return ((function(x) {\n" +
200+
"called from line 56, column 8 in createException4() in http://localhost:63342/javascript-stacktrace/test/functional/ExceptionLab.html:\n" +
201+
" return createException();\n" +
202+
"called from line 60, column 8 in dumpException4() in http://localhost:63342/javascript-stacktrace/test/functional/ExceptionLab.html:\n" +
203+
" dumpException(createException4());\n" +
204+
"called from line 1, column 0 in <anonymous function>(event) in http://localhost:63342/javascript-stacktrace/test/functional/ExceptionLab.html:\n" +
205+
" dumpException4();"
206+
};
207+
188208
CapturedExceptions.chrome_15 = {
189209
'arguments': ["undef"],
190210
message: "Object #<Object> has no method 'undef'",

0 commit comments

Comments
 (0)