|
| 1 | +Check scope chains for different call frames at different pauses. |
| 2 | + |
| 3 | + |
| 4 | +== Running test suite: PausedCallFrameScope |
| 5 | +-- Running test case: TriggerFirstPause |
| 6 | +CALLFRAME: firstPause |
| 7 | + |
| 8 | +---- Scope Chain ---- |
| 9 | + SCOPE: Name (firstPause) - Type (Block) - Hash (firstPause:<sourceID>:21:29) |
| 10 | + - barLexicalVariable2 |
| 11 | + SCOPE: Name (firstPause) - Type (Closure) - Hash (firstPause:<sourceID>:21:29) |
| 12 | + - barLexicalVariable2 |
| 13 | + SCOPE: Name (firstPause) - Type (Closure) - Hash (firstPause:<sourceID>:21:29) |
| 14 | + - barVarVariable1 |
| 15 | + SCOPE: Name (firstPause) - Type (FunctionName) - Hash (firstPause:<sourceID>:21:29) |
| 16 | + - firstPause |
| 17 | + SCOPE: Name (firstPause) - Type (Closure) - Hash (firstPause:<sourceID>:19:24) |
| 18 | + - fakeFirstPauseLexicalVariable |
| 19 | + SCOPE: Name (firstPause) - Type (Closure) - Hash (firstPause:<sourceID>:19:24) |
| 20 | + SCOPE: Name (entry) - Type (Closure) - Hash (entry:<sourceID>:14:15) |
| 21 | + - fooLexicalVariable2 |
| 22 | + SCOPE: Name (entry) - Type (Closure) - Hash (entry:<sourceID>:14:15) |
| 23 | + - firstPause |
| 24 | + - fooVarVariable1 |
| 25 | + SCOPE: Name () - Type (GlobalLexicalEnvironment) - Hash () |
| 26 | + - globalLet2 |
| 27 | + SCOPE: Name () - Type (Global) - Hash () |
| 28 | + |
| 29 | +---- Merged Scope Chain ---- |
| 30 | + SCOPE: Name (firstPause) - Type (Block) - Hash (firstPause:<sourceID>:21:29) |
| 31 | + - barLexicalVariable2 |
| 32 | + SCOPE: Name (firstPause) - Type (Local) - Hash (firstPause:<sourceID>:21:29) |
| 33 | + - barVarVariable1 |
| 34 | + - barLexicalVariable2 |
| 35 | + SCOPE: Name (firstPause) - Type (FunctionName) - Hash (firstPause:<sourceID>:21:29) |
| 36 | + - firstPause |
| 37 | + SCOPE: Name (firstPause) - Type (Closure) - Hash (firstPause:<sourceID>:19:24) |
| 38 | + - fakeFirstPauseLexicalVariable |
| 39 | + SCOPE: Name (entry) - Type (Closure) - Hash (entry:<sourceID>:14:15) |
| 40 | + - firstPause |
| 41 | + - fooVarVariable1 |
| 42 | + - fooLexicalVariable2 |
| 43 | + SCOPE: Name () - Type (GlobalLexicalEnvironment) - Hash () |
| 44 | + - globalLet2 |
| 45 | + SCOPE: Name () - Type (Global) - Hash () |
| 46 | + |
| 47 | +CALLFRAME: firstPause |
| 48 | + |
| 49 | +---- Scope Chain ---- |
| 50 | + SCOPE: Name (firstPause) - Type (Closure) - Hash (firstPause:<sourceID>:19:24) |
| 51 | + - fakeFirstPauseLexicalVariable |
| 52 | + SCOPE: Name (firstPause) - Type (Closure) - Hash (firstPause:<sourceID>:19:24) |
| 53 | + SCOPE: Name (entry) - Type (Closure) - Hash (entry:<sourceID>:14:15) |
| 54 | + - fooLexicalVariable2 |
| 55 | + SCOPE: Name (entry) - Type (Closure) - Hash (entry:<sourceID>:14:15) |
| 56 | + - firstPause |
| 57 | + - fooVarVariable1 |
| 58 | + SCOPE: Name () - Type (GlobalLexicalEnvironment) - Hash () |
| 59 | + - globalLet2 |
| 60 | + SCOPE: Name () - Type (Global) - Hash () |
| 61 | + |
| 62 | +---- Merged Scope Chain ---- |
| 63 | + SCOPE: Name (firstPause) - Type (Local) - Hash (firstPause:<sourceID>:19:24) |
| 64 | + - fakeFirstPauseLexicalVariable |
| 65 | + SCOPE: Name (entry) - Type (Closure) - Hash (entry:<sourceID>:14:15) |
| 66 | + - firstPause |
| 67 | + - fooVarVariable1 |
| 68 | + - fooLexicalVariable2 |
| 69 | + SCOPE: Name () - Type (GlobalLexicalEnvironment) - Hash () |
| 70 | + - globalLet2 |
| 71 | + SCOPE: Name () - Type (Global) - Hash () |
| 72 | + |
| 73 | +CALLFRAME: entry |
| 74 | + |
| 75 | +---- Scope Chain ---- |
| 76 | + SCOPE: Name (entry) - Type (Closure) - Hash (entry:<sourceID>:14:15) |
| 77 | + - fooLexicalVariable2 |
| 78 | + SCOPE: Name (entry) - Type (Closure) - Hash (entry:<sourceID>:14:15) |
| 79 | + - firstPause |
| 80 | + - fooVarVariable1 |
| 81 | + SCOPE: Name () - Type (GlobalLexicalEnvironment) - Hash () |
| 82 | + - globalLet2 |
| 83 | + SCOPE: Name () - Type (Global) - Hash () |
| 84 | + |
| 85 | +---- Merged Scope Chain ---- |
| 86 | + SCOPE: Name (entry) - Type (Local) - Hash (entry:<sourceID>:14:15) |
| 87 | + - firstPause |
| 88 | + - fooVarVariable1 |
| 89 | + - fooLexicalVariable2 |
| 90 | + SCOPE: Name () - Type (GlobalLexicalEnvironment) - Hash () |
| 91 | + - globalLet2 |
| 92 | + SCOPE: Name () - Type (Global) - Hash () |
| 93 | + |
| 94 | + |
| 95 | +-- Running test case: TriggerSecondPause |
| 96 | +CALLFRAME: secondPause |
| 97 | + |
| 98 | +---- Scope Chain ---- |
| 99 | + SCOPE: Name (secondPause) - Type (Block) - Hash (secondPause:<sourceID>:6:21) |
| 100 | + - blockLexicalVariable |
| 101 | + SCOPE: Name (secondPause) - Type (Closure) - Hash (secondPause:<sourceID>:6:21) |
| 102 | + - shoeLexicalVariable1 |
| 103 | + SCOPE: Name (secondPause) - Type (Closure) - Hash (secondPause:<sourceID>:6:21) |
| 104 | + SCOPE: Name () - Type (GlobalLexicalEnvironment) - Hash () |
| 105 | + - globalLet2 |
| 106 | + SCOPE: Name () - Type (Global) - Hash () |
| 107 | + |
| 108 | +---- Merged Scope Chain ---- |
| 109 | + SCOPE: Name (secondPause) - Type (Block) - Hash (secondPause:<sourceID>:6:21) |
| 110 | + - blockLexicalVariable |
| 111 | + SCOPE: Name (secondPause) - Type (Local) - Hash (secondPause:<sourceID>:6:21) |
| 112 | + - shoeLexicalVariable1 |
| 113 | + SCOPE: Name () - Type (GlobalLexicalEnvironment) - Hash () |
| 114 | + - globalLet2 |
| 115 | + SCOPE: Name () - Type (Global) - Hash () |
| 116 | + |
| 117 | +CALLFRAME: firstPause |
| 118 | + |
| 119 | +---- Scope Chain ---- |
| 120 | + SCOPE: Name (firstPause) - Type (Block) - Hash (firstPause:<sourceID>:21:29) |
| 121 | + - barLexicalVariable2 |
| 122 | + SCOPE: Name (firstPause) - Type (Closure) - Hash (firstPause:<sourceID>:21:29) |
| 123 | + - barLexicalVariable2 |
| 124 | + SCOPE: Name (firstPause) - Type (Closure) - Hash (firstPause:<sourceID>:21:29) |
| 125 | + - barVarVariable1 |
| 126 | + SCOPE: Name (firstPause) - Type (FunctionName) - Hash (firstPause:<sourceID>:21:29) |
| 127 | + - firstPause |
| 128 | + SCOPE: Name (firstPause) - Type (Closure) - Hash (firstPause:<sourceID>:19:24) |
| 129 | + - fakeFirstPauseLexicalVariable |
| 130 | + SCOPE: Name (firstPause) - Type (Closure) - Hash (firstPause:<sourceID>:19:24) |
| 131 | + SCOPE: Name (entry) - Type (Closure) - Hash (entry:<sourceID>:14:15) |
| 132 | + - fooLexicalVariable2 |
| 133 | + SCOPE: Name (entry) - Type (Closure) - Hash (entry:<sourceID>:14:15) |
| 134 | + - firstPause |
| 135 | + - fooVarVariable1 |
| 136 | + SCOPE: Name () - Type (GlobalLexicalEnvironment) - Hash () |
| 137 | + - globalLet2 |
| 138 | + SCOPE: Name () - Type (Global) - Hash () |
| 139 | + |
| 140 | +---- Merged Scope Chain ---- |
| 141 | + SCOPE: Name (firstPause) - Type (Block) - Hash (firstPause:<sourceID>:21:29) |
| 142 | + - barLexicalVariable2 |
| 143 | + SCOPE: Name (firstPause) - Type (Local) - Hash (firstPause:<sourceID>:21:29) |
| 144 | + - barVarVariable1 |
| 145 | + - barLexicalVariable2 |
| 146 | + SCOPE: Name (firstPause) - Type (FunctionName) - Hash (firstPause:<sourceID>:21:29) |
| 147 | + - firstPause |
| 148 | + SCOPE: Name (firstPause) - Type (Closure) - Hash (firstPause:<sourceID>:19:24) |
| 149 | + - fakeFirstPauseLexicalVariable |
| 150 | + SCOPE: Name (entry) - Type (Closure) - Hash (entry:<sourceID>:14:15) |
| 151 | + - firstPause |
| 152 | + - fooVarVariable1 |
| 153 | + - fooLexicalVariable2 |
| 154 | + SCOPE: Name () - Type (GlobalLexicalEnvironment) - Hash () |
| 155 | + - globalLet2 |
| 156 | + SCOPE: Name () - Type (Global) - Hash () |
| 157 | + |
| 158 | +CALLFRAME: firstPause |
| 159 | + |
| 160 | +---- Scope Chain ---- |
| 161 | + SCOPE: Name (firstPause) - Type (Closure) - Hash (firstPause:<sourceID>:19:24) |
| 162 | + - fakeFirstPauseLexicalVariable |
| 163 | + SCOPE: Name (firstPause) - Type (Closure) - Hash (firstPause:<sourceID>:19:24) |
| 164 | + SCOPE: Name (entry) - Type (Closure) - Hash (entry:<sourceID>:14:15) |
| 165 | + - fooLexicalVariable2 |
| 166 | + SCOPE: Name (entry) - Type (Closure) - Hash (entry:<sourceID>:14:15) |
| 167 | + - firstPause |
| 168 | + - fooVarVariable1 |
| 169 | + SCOPE: Name () - Type (GlobalLexicalEnvironment) - Hash () |
| 170 | + - globalLet2 |
| 171 | + SCOPE: Name () - Type (Global) - Hash () |
| 172 | + |
| 173 | +---- Merged Scope Chain ---- |
| 174 | + SCOPE: Name (firstPause) - Type (Local) - Hash (firstPause:<sourceID>:19:24) |
| 175 | + - fakeFirstPauseLexicalVariable |
| 176 | + SCOPE: Name (entry) - Type (Closure) - Hash (entry:<sourceID>:14:15) |
| 177 | + - firstPause |
| 178 | + - fooVarVariable1 |
| 179 | + - fooLexicalVariable2 |
| 180 | + SCOPE: Name () - Type (GlobalLexicalEnvironment) - Hash () |
| 181 | + - globalLet2 |
| 182 | + SCOPE: Name () - Type (Global) - Hash () |
| 183 | + |
| 184 | +CALLFRAME: entry |
| 185 | + |
| 186 | +---- Scope Chain ---- |
| 187 | + SCOPE: Name (entry) - Type (Closure) - Hash (entry:<sourceID>:14:15) |
| 188 | + - fooLexicalVariable2 |
| 189 | + SCOPE: Name (entry) - Type (Closure) - Hash (entry:<sourceID>:14:15) |
| 190 | + - firstPause |
| 191 | + - fooVarVariable1 |
| 192 | + SCOPE: Name () - Type (GlobalLexicalEnvironment) - Hash () |
| 193 | + - globalLet2 |
| 194 | + SCOPE: Name () - Type (Global) - Hash () |
| 195 | + |
| 196 | +---- Merged Scope Chain ---- |
| 197 | + SCOPE: Name (entry) - Type (Local) - Hash (entry:<sourceID>:14:15) |
| 198 | + - firstPause |
| 199 | + - fooVarVariable1 |
| 200 | + - fooLexicalVariable2 |
| 201 | + SCOPE: Name () - Type (GlobalLexicalEnvironment) - Hash () |
| 202 | + - globalLet2 |
| 203 | + SCOPE: Name () - Type (Global) - Hash () |
| 204 | + |
| 205 | + |
0 commit comments