regress-375651.js (795B)
1 /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ 2 /* This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 5 6 7 //----------------------------------------------------------------------------- 8 var BUGNUMBER = 375651; 9 var summary = 'Do not assert with regexp quantifiers'; 10 var actual = 'No Crash'; 11 var expect = 'No Crash'; 12 13 14 //----------------------------------------------------------------------------- 15 test(); 16 //----------------------------------------------------------------------------- 17 18 function test() 19 { 20 printBugNumber(BUGNUMBER); 21 printStatus (summary); 22 23 /(.{2,3}){0,2}?t/.exec("abt"); 24 25 reportCompare(expect, actual, summary); 26 }