Home | History | Annotate | Download | only in js

Lines Matching refs:true

58 shouldBe("testThis.call(true)", "true");
67 shouldBeUndefined("testThisDotAccess.call(true)");
73 shouldBeUndefined("testThisBracketAccess.call(true, 'length')");
139 shouldBeTrue("'use strict'; if (0) { someGlobal = 'Shouldn\\'t be able to assign this.'; }; true;");
158 shouldThrow("global.eval('\"use strict\"; if (0) ++arguments; true;')");
171 shouldBeTrue("(function (a){'use strict'; a = false; return a !== arguments[0]; })(true)");
172 shouldBeTrue("(function (a){'use strict'; arguments[0] = false; return a !== arguments[0]; })(true)");
173 shouldBeTrue("(function (a){'use strict'; a=false; return arguments; })(true)[0]");
174 shouldBeTrue("(function (a){'use strict'; arguments[0]=false; return a; })(true)");
175 shouldBeTrue("(function (a){'use strict'; arguments[0]=true; return arguments; })(false)[0]");
176 shouldBeTrue("(function (){'use strict'; arguments[0]=true; return arguments; })(false)[0]");
177 shouldBeTrue("(function (a){'use strict'; arguments[0]=true; a=false; return arguments; })()[0]");
178 shouldBeTrue("(function (a){'use strict'; arguments[0]=false; a=true; return a; })()");
179 shouldBeTrue("(function (a){'use strict'; arguments[0]=true; return arguments; })()[0]");
180 shouldBeTrue("(function (){'use strict'; arguments[0]=true; return arguments; })()[0]");
183 shouldBeTrue("(function (a){'use strict'; var local; (function (){local;})(); a = false; return a !== arguments[0]; })(true)");
184 shouldBeTrue("(function (a){'use strict'; var local; (function (){local;})(); arguments[0] = false; return a !== arguments[0]; })(true)");
185 shouldBeTrue("(function (a){'use strict'; var local; (function (){local;})(); a=false; return arguments; })(true)[0]");
186 shouldBeTrue("(function (a){'use strict'; var local; (function (){local;})(); arguments[0]=false; return a; })(true)");
187 shouldBeTrue("(function (a){'use strict'; var local; (function (){local;})(); arguments[0]=true; return arguments; })(false)[0]");
188 shouldBeTrue("(function (){'use strict'; var local; (function (){local;})(); arguments[0]=true; return arguments; })(false)[0]");
189 shouldBeTrue("(function (a){'use strict'; var local; (function (){local;})(); arguments[0]=true; a=false; return arguments; })()[0]");
190 shouldBeTrue("(function (a){'use strict'; var local; (function (){local;})(); arguments[0]=true; return arguments; })()[0]");
191 shouldBeTrue("(function (a){'use strict'; var local; (function (){local;})(); arguments[0]=false; a=true; return a; })()");
192 shouldBeTrue("(function (){'use strict'; var local; (function (){local;})(); arguments[0]=true; return arguments; })()[0]");
194 shouldBeTrue("'use strict'; (function (){var a = true; eval('var a = false'); return a; })()");
195 shouldBeTrue("(function (){var a = true; eval('\"use strict\"; var a = false'); return a; })()");
205 shouldBeTrue("'use strict'; (function f() { for(var i in this); })(); true;")
218 shouldBeTrue("'use strict'; try { throw 1; } catch (e) { aGlobal = true; }");
220 shouldBeTrue("'use strict'; (function () { try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal;");
222 shouldBeTrue("(function () {'use strict'; try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal;");
224 shouldBeTrue("try { throw 1; } catch (e) { aGlobal = true; }");
226 shouldBeTrue("(function () { try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal;");
228 shouldBeTrue("(function () {try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal;");