1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
6 If F contains any character other than 'g', 'i', or 'm', or if it
7 contains the same one more than once, then throw a SyntaxError exception
9 description: Checking if using "ii" as F leads to throwing the correct exception
13 throw new Test262Error('#1.1: new RegExp(undefined,"ii") throw SyntaxError. Actual: ' + (new RegExp(undefined,"ii")));
16 e instanceof SyntaxError,
18 'The result of evaluating (e instanceof SyntaxError) is expected to be true'
22 // TODO: Convert to assert.throws() format.