Lines Matching refs:exception
28 function CheckStrictMode(code, exception) {
30 assertThrows("'use strict';\n" + code, exception);
31 assertThrows('"use strict";\n' + code, exception);
44 }", exception);
52 // Create non-strict function. No exception.
57 // Create strict mode function. Exception expected.
841 var exception = false;
845 exception = true;
848 assertTrue(exception);