| OLD | NEW |
| 1 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ | 1 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
| 2 | 2 |
| 3 /* ***** BEGIN LICENSE BLOCK ***** | 3 /* ***** BEGIN LICENSE BLOCK ***** |
| 4 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 4 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 5 * | 5 * |
| 6 * The contents of this file are subject to the Mozilla Public License Version | 6 * The contents of this file are subject to the Mozilla Public License Version |
| 7 * 1.1 (the "License"); you may not use this file except in compliance with | 7 * 1.1 (the "License"); you may not use this file except in compliance with |
| 8 * the License. You may obtain a copy of the License at | 8 * the License. You may obtain a copy of the License at |
| 9 * http://www.mozilla.org/MPL/ | 9 * http://www.mozilla.org/MPL/ |
| 10 * | 10 * |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 * decision by deleting the provisions above and replace them with the notice | 32 * decision by deleting the provisions above and replace them with the notice |
| 33 * and other provisions required by the GPL or the LGPL. If you do not delete | 33 * and other provisions required by the GPL or the LGPL. If you do not delete |
| 34 * the provisions above, a recipient may use your version of this file under | 34 * the provisions above, a recipient may use your version of this file under |
| 35 * the terms of any one of the MPL, the GPL or the LGPL. | 35 * the terms of any one of the MPL, the GPL or the LGPL. |
| 36 * | 36 * |
| 37 * ***** END LICENSE BLOCK ***** */ | 37 * ***** END LICENSE BLOCK ***** */ |
| 38 | 38 |
| 39 gTestfile = 'regress-328249.js'; | 39 gTestfile = 'regress-328249.js'; |
| 40 | 40 |
| 41 var summary = "Crash due to infinite recursion in js_IsXMLName"; | 41 var summary = "Crash due to infinite recursion in js_IsXMLName"; |
| 42 var BUGNUMBER = 327897; | 42 var BUGNUMBER = 328249; |
| 43 var actual = 'No Crash'; | 43 var actual = 'No Crash'; |
| 44 var expect = 'No Crash'; | 44 var expect = 'No Crash'; |
| 45 | 45 |
| 46 printBugNumber(BUGNUMBER); | 46 printBugNumber(BUGNUMBER); |
| 47 START(summary); | 47 START(summary); |
| 48 | 48 |
| 49 try | 49 try |
| 50 { | 50 { |
| 51 var A = <x/>; | 51 var A = <x/>; |
| 52 var B = A.p1; | 52 var B = A.p1; |
| 53 var C = B.p2; | 53 var C = B.p2; |
| 54 B.p3 = C; | 54 B.p3 = C; |
| 55 C.p4 = B; | 55 C.p4 = B; |
| 56 C.appendChild(B); | 56 C.appendChild(B); |
| 57 C.p5 = C; | 57 C.p5 = C; |
| 58 } | 58 } |
| 59 catch(ex) | 59 catch(ex) |
| 60 { | 60 { |
| 61 printStatus(ex+''); | 61 printStatus(ex+''); |
| 62 } | 62 } |
| 63 TEST(1, expect, actual); | 63 TEST(1, expect, actual); |
| 64 | 64 |
| 65 END(); | 65 END(); |
| OLD | NEW |