Skip to content

Commit 4e89e53

Browse files
author
homyakov
committed
Exception samples for Firefox 3.6, 7.0
1 parent 2bfd6f8 commit 4e89e53

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

‎test/CapturedExceptions.js‎

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,46 @@ CapturedExceptions.chrome_15 = {
197197
" at foo (http://127.0.0.1:8000/js/test/functional/testcase1.html:20:5)\n" +
198198
" at http://127.0.0.1:8000/js/test/functional/testcase1.html:24:4"
199199
};
200+
201+
CapturedExceptions.firefox_36 = {
202+
fileName: "http://127.0.0.1:8000/js/stacktrace.js",
203+
lineNumber: 44,
204+
message: "this.undef is not a function",
205+
name: "TypeError",
206+
stack: "()@http://127.0.0.1:8000/js/stacktrace.js:44\n" +
207+
"(null)@http://127.0.0.1:8000/js/stacktrace.js:31\n" +
208+
"printStackTrace()@http://127.0.0.1:8000/js/stacktrace.js:18\n" +
209+
"bar(1)@http://127.0.0.1:8000/js/test/functional/testcase1.html:13\n" +
210+
"bar(2)@http://127.0.0.1:8000/js/test/functional/testcase1.html:16\n" +
211+
"foo()@http://127.0.0.1:8000/js/test/functional/testcase1.html:20\n" +
212+
"@http://127.0.0.1:8000/js/test/functional/testcase1.html:24\n" +
213+
""
214+
};
215+
216+
CapturedExceptions.firefox_36_file = {
217+
fileName: "file:///home/user/js/stacktrace.js",
218+
lineNumber: 44,
219+
message: "this.undef is not a function",
220+
name: "TypeError",
221+
stack: "()@file:///home/user/js/stacktrace.js:44\n" +
222+
"(null)@file:///home/user/js/stacktrace.js:31\n" +
223+
"printStackTrace()@file:///home/user/js/stacktrace.js:18\n" +
224+
"bar(1)@file:///home/user/js/test/functional/testcase1.html:13\n" +
225+
"bar(2)@file:///home/user/js/test/functional/testcase1.html:16\n" +
226+
"foo()@file:///home/user/js/test/functional/testcase1.html:20\n" +
227+
"@file:///home/user/js/test/functional/testcase1.html:24\n" +
228+
""
229+
};
230+
231+
CapturedExceptions.firefox_7 = {
232+
fileName: "file:///G:/js/stacktrace.js",
233+
lineNumber: 44,
234+
stack: "()@file:///G:/js/stacktrace.js:44\n" +
235+
"(null)@file:///G:/js/stacktrace.js:31\n" +
236+
"printStackTrace()@file:///G:/js/stacktrace.js:18\n" +
237+
"bar(1)@file:///G:/js/test/functional/testcase1.html:13\n" +
238+
"bar(2)@file:///G:/js/test/functional/testcase1.html:16\n" +
239+
"foo()@file:///G:/js/test/functional/testcase1.html:20\n" +
240+
"@file:///G:/js/test/functional/testcase1.html:24\n" +
241+
""
242+
};

0 commit comments

Comments
 (0)