| OLD | NEW |
| 1 <script> | 1 <script> |
| 2 var myObj = {test : 1}; | 2 var myObj = {test : 1}; |
| 3 function getObject() | 3 function getObject() |
| 4 { | 4 { |
| 5 return myObj; | 5 return myObj; |
| 6 } | 6 } |
| 7 | 7 |
| 8 function statement() { | 8 function statement() { |
| 9 ; | 9 ; |
| 10 } | 10 } |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 The debugger should stop at the beggining of the loop.<br> | 26 The debugger should stop at the beggining of the loop.<br> |
| 27 The above actions should be performed before <b>each</b> of the following tests.
</p> | 27 The above actions should be performed before <b>each</b> of the following tests.
</p> |
| 28 <br><br> | 28 <br><br> |
| 29 <input type="button" value="run for-in" onclick="runForIn()"/> | 29 <input type="button" value="run for-in" onclick="runForIn()"/> |
| 30 <br><br> | 30 <br><br> |
| 31 TEST 1: Click 'continue'. Execution should continue without stopping on the loop
breakpoint again.<br> | 31 TEST 1: Click 'continue'. Execution should continue without stopping on the loop
breakpoint again.<br> |
| 32 TEST 2: Click 'Step over'. Debugger should step inside the loop to the next stat
ement line.<br> | 32 TEST 2: Click 'Step over'. Debugger should step inside the loop to the next stat
ement line.<br> |
| 33 TEST 3: Click 'Step into'. Debugger should step into 'getObject' function.<br> | 33 TEST 3: Click 'Step into'. Debugger should step into 'getObject' function.<br> |
| 34 TEST 4: 'Step over' to the statement line and then 'Step over' again. Debugger s
hould pause on | 34 TEST 4: 'Step over' to the statement line and then 'Step over' again. Debugger s
hould pause on |
| 35 the for-in loop again.<br> | 35 the for-in loop again.<br> |
| OLD | NEW |