OLD | NEW |
1 Tests that Debugger.getGeneratorObjectDetails command returns correct result. | 1 Tests that Debugger.getGeneratorObjectDetails command returns correct result. |
2 | 2 |
3 | 3 |
4 Running: testIterNotStarted | 4 Running: testIterNotStarted |
5 iterNotStarted: type = object, subtype = generator | 5 iterNotStarted: type = object, subtype = generator |
6 [[GeneratorStatus]] = suspended | 6 [[GeneratorStatus]] = suspended |
7 [[GeneratorFunction]] = function* gen() | 7 [[GeneratorFunction]] = function* gen() |
8 { | 8 { |
9 yield 1; | 9 yield 1; |
10 yield 2; | 10 yield 2; |
(...skipping 26 matching lines...) Expand all Loading... |
37 [[GeneratorFunction]] = function* gen() | 37 [[GeneratorFunction]] = function* gen() |
38 { | 38 { |
39 yield 1; | 39 yield 1; |
40 yield 2; | 40 yield 2; |
41 yield 3; | 41 yield 3; |
42 } | 42 } |
43 [[GeneratorReceiver]] = Window | 43 [[GeneratorReceiver]] = Window |
44 lineNumber = 13 | 44 lineNumber = 13 |
45 columnNumber = 13 | 45 columnNumber = 13 |
46 script is valid: yes | 46 script is valid: yes |
47 [[Scopes]] = Scopes[2] | |
48 | 47 |
49 Running: testIterObjGenerator | 48 Running: testIterObjGenerator |
50 iterObjGenerator: type = object, subtype = generator | 49 iterObjGenerator: type = object, subtype = generator |
51 [[GeneratorStatus]] = suspended | 50 [[GeneratorStatus]] = suspended |
52 [[GeneratorFunction]] = function* () | 51 [[GeneratorFunction]] = function* () |
53 { | 52 { |
54 yield 11; | 53 yield 11; |
55 yield 12; | 54 yield 12; |
56 yield 13; | 55 yield 13; |
57 } | 56 } |
(...skipping 10 matching lines...) Expand all Loading... |
68 yield 21; | 67 yield 21; |
69 yield 22; | 68 yield 22; |
70 yield 23; | 69 yield 23; |
71 } | 70 } |
72 [[GeneratorReceiver]] = Window | 71 [[GeneratorReceiver]] = Window |
73 lineNumber = 38 | 72 lineNumber = 38 |
74 columnNumber = 4 | 73 columnNumber = 4 |
75 script is valid: yes | 74 script is valid: yes |
76 [[Scopes]] = Scopes[2] | 75 [[Scopes]] = Scopes[2] |
77 | 76 |
OLD | NEW |