Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:With

2 // Redistribution and use in source and binary forms, with or without
11 // with the distribution.
169 // Skip property with empty name.
225 // Local scope with a parameter.
241 // Local scope with a parameter and a local variable.
258 // Local scope with parameters and local variables.
276 // Empty local scope with use of eval.
310 // Local scope with parameters, local variables and local variable introduced
331 // Single empty with block.
332 BeginTest("With 1");
335 with({}) {
341 CheckScopeChain([debug.ScopeType.With,
350 // Nested empty with blocks.
351 BeginTest("With 2");
354 with({}) {
355 with({}) {
362 CheckScopeChain([debug.ScopeType.With,
363 debug.ScopeType.With,
373 // With block using an in-place object literal.
374 BeginTest("With 3");
377 with({a:1,b:2}) {
383 CheckScopeChain([debug.ScopeType.With,
392 // Nested with blocks using in-place object literals.
393 BeginTest("With 4");
396 with({a:1,b:2}) {
397 with({a:2,b:1}) {
404 CheckScopeChain([debug.ScopeType.With,
405 debug.ScopeType.With,
415 // Nested with blocks using existing object.
416 BeginTest("With 5");
420 with(with_object) {
421 with(with_object) {
428 CheckScopeChain([debug.ScopeType.With,
429 debug.ScopeType.With,
441 // Nested with blocks using existing object in global code.
442 BeginTest("With 6");
444 CheckScopeChain([debug.ScopeType.With,
445 debug.ScopeType.With,
454 with(with_object) {
455 with(with_object) {
462 // With block in function that is marked for optimization while being executed.
463 BeginTest("With 7");
466 with({}) {
473 CheckScopeChain([debug.ScopeType.With,
726 with ({j:13}){
729 with ({a:15}) {
730 with ({b:16}) {
743 CheckScopeChain([debug.ScopeType.With,
744 debug.ScopeType.With,
746 debug.ScopeType.With,
761 BeginTest("Closure inside With 1");
763 with({x:1}) {
772 debug.ScopeType.With,
781 BeginTest("Closure inside With 2");
783 with({x:1}) {
785 with({x:3}) {
793 CheckScopeChain([debug.ScopeType.With,
795 debug.ScopeType.With,
806 BeginTest("Closure inside With 3");
812 with({x:c}) {
825 CheckScopeChain([debug.ScopeType.With,
835 BeginTest("Closure inside With 4");
838 debug.ScopeType.With,
844 with({x:1}) {
886 with({n:10}) {
894 CheckScopeChain([debug.ScopeType.With,
908 // extension slot is initialized with JSContextExtensionObject.
932 // extension slot is initialized with JSContextExtensionObject.
937 with({n:10}) {
944 CheckScopeChain([debug.ScopeType.With,