Searched refs:arguments (Results 1 - 25 of 1129) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/preparser/
H A Dnonstrict-arguments.js30 var arguments = 42; variable
31 arguments = arguments++;
32 arguments += --arguments;
33 arguments -= ++arguments;
34 arguments *= arguments--;
35 function arguments(argument function
44 var arguments = 42; variable
[all...]
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-3230771.js32 for (var h = typeof arguments[0] == "object" ? 0 : arguments; false; ) { }
H A Dregress-1149.js30 // arguments object.
33 for (x in arguments) {
34 for (x in arguments) {
H A Dregress-392.js31 assertTrue(isNaN((function(){return arguments++})()));
32 assertTrue(isNaN((function(){return ++arguments})()));
33 assertTrue(isNaN((function(){return arguments--})()));
34 assertTrue(isNaN((function(){return --arguments})()));
H A Dregress-1513.js28 // Deleting a mapped arguments property and adding it via
33 delete arguments[0];
34 Object.defineProperty(arguments, "0", {
40 assertEquals(10, arguments[0]);
H A Dregress-crbug-150545.js30 // Test that we do not generate OSR entry points that have an arguments
40 assertSame(3, arguments.length);
41 assertSame(1, arguments[0]);
42 assertSame(2, arguments[1]);
43 assertSame(3, arguments[2]);
H A Dregress-2539.js40 dispatcher.func.apply(this, arguments);
41 assertSame(2, arguments.length);
42 assertSame(10, arguments[0]);
43 assertSame(11, arguments[1]);
47 assertSame(2, arguments.length);
48 assertSame(10, arguments[0]);
49 assertSame(11, arguments[1]);
H A Dregress-1531.js28 // Regression test for computing elements keys of arguments object. Should
31 arguments[10] = 0;
33 for (var p in arguments) arr.push(p);
38 // Regression test for lookup after delete of a dictionary-mode arguments
42 arguments.__defineGetter__("5", function () { return 0; });
44 delete arguments[5];
46 return arguments[2];
H A Dregress-1060.js29 // for the (shared) .arguments proxy, even for calls.
30 function f(x) { arguments; return x() + x(); }
H A Dregress-1104.js29 // an arguments object access should not record duplicate AST IDs for
34 return arguments;
H A Dregress-arguments-gc.js32 arguments[0] = {};
H A Dregress-crbug-126414.js29 return arguments[bar];
/external/chromium_org/v8/test/webkit/fast/js/kde/
H A Darguments-scope.js35 var arguments;
37 // in scope beforehand -- e.g. the arguments thing
38 shouldBeOfType("test0", arguments, 'object');
43 shouldBeOfType("test1", arguments, 'object');
44 var arguments;
47 function test2(arguments) {
49 shouldBeOfType("test2", arguments, 'number');
55 shouldBeOfType("test3", arguments, 'function');
56 function arguments() {}
62 shouldBeOfType('test4.(1)', arguments, 'objec
[all...]
/external/chromium_org/v8/test/mjsunit/
H A Dfunction-arguments-null.js28 // The arguments property of functions should be null when not
30 assertTrue(toString.arguments === null);
H A Darguments-read-and-assignment.js27 // Testing basic functionality of the arguments object.
29 // The arguments object itself.
30 assertEquals(42, function(){ return arguments;}(42)[0],
31 "return arguments value");
32 assertEquals(42, function(){ return arguments;}(42)[0],
33 "arguments in plain value context");
34 assertEquals(42, function(){ arguments;return 42}(37),
35 "arguments in effect context");
36 assertEquals(42, function(){ if(arguments)return 42;}(),
37 "arguments i
[all...]
H A Darguments-lazy.js28 // Make sure we don't allocate the arguments object over and
31 return arguments === arguments;
37 // Make sure that accessing arguments doesn't clobber any
38 // local variables called arguments.
40 var arguments = 42;
42 return x + arguments;
H A Dargument-named-arguments.js28 // Tests to verify proper arguments handling if the arguments
33 assertEquals("arguments", a);
36 e("arguments");
39 function f(arguments) {
40 assertEquals(9, arguments.length);
41 assertEquals("arguments", arguments);
44 f("arguments");
48 var arguments;
[all...]
H A Dfunction-arguments-duplicate.js32 assertEquals(1, arguments[0]);
33 assertEquals(2, arguments[1]);
H A Darguments-indirect.js33 var a = arguments;
40 assertEquals(3, f.arguments.length);
41 assertEquals(1, f.arguments[0]);
42 assertEquals(2, f.arguments[1]);
43 assertEquals(3, f.arguments[2]);
H A Darguments-enum.js30 for (var prop in arguments)
36 arguments[10] = 5;
37 arguments.x = 4;
39 for (var prop in arguments)
/external/chromium_org/v8/test/webkit/
H A Dcall-apply-crash.js28 Function.prototype.call.apply(testLog, arguments);
29 })('Did not crash using apply', 0, 0); // needs 3+ arguments
31 arguments; // reify the arguments object.
32 Function.prototype.call.apply(testLog, arguments);
33 })('Did not crash using apply', 0, 0); // needs 3+ arguments
H A Dinvalid-callframe-during-unwind.js26 function testUnwind(){with({}){ arguments; throw "threw successfully";}}
/external/chromium_org/v8/test/mjsunit/bugs/
H A Dbug-222.js30 var oldArgs = Foo.arguments;
32 var newArgs = Foo.arguments
36 // Don't allow arguments to be overwritten.
37 Foo.arguments = oldArgs;
38 assertEquals(Foo.arguments, newArgs);
40 // Don't allow arguments to be deleted.
41 assertFalse(delete Foo.arguments);
42 assertEquals(Foo.arguments, newArgs);
/external/chromium_org/tools/cr/cr/actions/
H A Dlinux.py20 def Kill(self, targets, arguments):
24 def Run(self, target, arguments):
26 cr.Host.Execute('{CR_BINARY}', '{CR_RUN_ARGUMENTS}', *arguments)
28 def Test(self, target, arguments):
29 self.Run(target, arguments)
43 def Uninstall(self, targets, arguments):
46 def Install(self, targets, arguments):
49 def Reinstall(self, targets, arguments):
/external/chromium_org/v8/test/mjsunit/compiler/
H A Dregress-411262.js33 b.apply(this, arguments);

Completed in 325 milliseconds

1234567891011>>