OLD | NEW |
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | 1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
2 /* ***** BEGIN LICENSE BLOCK ***** | 2 /* ***** BEGIN LICENSE BLOCK ***** |
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
4 * | 4 * |
5 * The contents of this file are subject to the Mozilla Public License Version | 5 * The contents of this file are subject to the Mozilla Public License Version |
6 * 1.1 (the "License"); you may not use this file except in compliance with | 6 * 1.1 (the "License"); you may not use this file except in compliance with |
7 * the License. You may obtain a copy of the License at | 7 * the License. You may obtain a copy of the License at |
8 * http://www.mozilla.org/MPL/ | 8 * http://www.mozilla.org/MPL/ |
9 * | 9 * |
10 * Software distributed under the License is distributed on an "AS IS" basis, | 10 * Software distributed under the License is distributed on an "AS IS" basis, |
(...skipping 19 matching lines...) Expand all Loading... |
30 * use your version of this file under the terms of the MPL, indicate your | 30 * use your version of this file under the terms of the MPL, indicate your |
31 * decision by deleting the provisions above and replace them with the notice | 31 * decision by deleting the provisions above and replace them with the notice |
32 * and other provisions required by the GPL or the LGPL. If you do not delete | 32 * and other provisions required by the GPL or the LGPL. If you do not delete |
33 * the provisions above, a recipient may use your version of this file under | 33 * the provisions above, a recipient may use your version of this file under |
34 * the terms of any one of the MPL, the GPL or the LGPL. | 34 * the terms of any one of the MPL, the GPL or the LGPL. |
35 * | 35 * |
36 * ***** END LICENSE BLOCK ***** */ | 36 * ***** END LICENSE BLOCK ***** */ |
37 | 37 |
38 var gTestfile = 'regress-425360.js'; | 38 var gTestfile = 'regress-425360.js'; |
39 //----------------------------------------------------------------------------- | 39 //----------------------------------------------------------------------------- |
40 var BUGNUMBER = 425369; | 40 var BUGNUMBER = 425360; |
41 var summary = 'Do not assert: !cx->throwing'; | 41 var summary = 'Do not assert: !cx->throwing'; |
42 var actual = 'No Crash'; | 42 var actual = 'No Crash'; |
43 var expect = 'No Crash'; | 43 var expect = 'No Crash'; |
44 | 44 |
45 function finishtest() | 45 function finishtest() |
46 { | 46 { |
47 gDelayTestDriverEnd = false; | 47 gDelayTestDriverEnd = false; |
48 reportCompare(expect, actual, summary); | 48 reportCompare(expect, actual, summary); |
49 jsTestDriverEnd(); | 49 jsTestDriverEnd(); |
50 } | 50 } |
(...skipping 14 matching lines...) Expand all Loading... |
65 else | 65 else |
66 { | 66 { |
67 gDelayTestDriverEnd = true; | 67 gDelayTestDriverEnd = true; |
68 window.onerror = null; | 68 window.onerror = null; |
69 setTimeout('finishtest()', 1000); | 69 setTimeout('finishtest()', 1000); |
70 window.onload = (function () { setInterval('throwBlah()', 0); }); | 70 window.onload = (function () { setInterval('throwBlah()', 0); }); |
71 setInterval('foo(', 0); | 71 setInterval('foo(', 0); |
72 } | 72 } |
73 | 73 |
74 | 74 |
OLD | NEW |