Lines Matching refs:With
2 // Redistribution and use in source and binary forms, with or without
11 // with the distribution.
148 // Skip property with empty name.
204 // Local scope with a parameter.
220 // Local scope with a parameter and a local variable.
237 // Local scope with parameters and local variables.
255 // Empty local scope with use of eval.
289 // Local scope with parameters, local variables and local variable introduced
310 // Single empty with block.
311 BeginTest("With 1");
314 with({}) {
320 CheckScopeChain([debug.ScopeType.With,
329 // Nested empty with blocks.
330 BeginTest("With 2");
333 with({}) {
334 with({}) {
341 CheckScopeChain([debug.ScopeType.With,
342 debug.ScopeType.With,
352 // With block using an in-place object literal.
353 BeginTest("With 3");
356 with({a:1,b:2}) {
362 CheckScopeChain([debug.ScopeType.With,
371 // Nested with blocks using in-place object literals.
372 BeginTest("With 4");
375 with({a:1,b:2}) {
376 with({a:2,b:1}) {
383 CheckScopeChain([debug.ScopeType.With,
384 debug.ScopeType.With,
394 // Nested with blocks using existing object.
395 BeginTest("With 5");
399 with(with_object) {
400 with(with_object) {
407 CheckScopeChain([debug.ScopeType.With,
408 debug.ScopeType.With,
420 // Nested with blocks using existing object in global code.
421 BeginTest("With 6");
423 CheckScopeChain([debug.ScopeType.With,
424 debug.ScopeType.With,
433 with(with_object) {
434 with(with_object) {
441 // With block in function that is marked for optimization while being executed.
442 BeginTest("With 7");
445 with({}) {
452 CheckScopeChain([debug.ScopeType.With,
705 with ({j:13}){
708 with ({a:15}) {
709 with ({b:16}) {
722 CheckScopeChain([debug.ScopeType.With,
723 debug.ScopeType.With,
725 debug.ScopeType.With,
740 BeginTest("Closure inside With 1");
742 with({x:1}) {
751 debug.ScopeType.With,
760 BeginTest("Closure inside With 2");
762 with({x:1}) {
764 with({x:3}) {
772 CheckScopeChain([debug.ScopeType.With,
774 debug.ScopeType.With,
785 BeginTest("Closure inside With 3");
791 with({x:c}) {
804 CheckScopeChain([debug.ScopeType.With,
814 BeginTest("Closure inside With 4");
817 debug.ScopeType.With,
823 with({x:1}) {
865 with({n:10}) {
873 CheckScopeChain([debug.ScopeType.With,
887 // extension slot is initialized with JSContextExtensionObject.
911 // extension slot is initialized with JSContextExtensionObject.
916 with({n:10}) {
923 CheckScopeChain([debug.ScopeType.With,