 Chromium Code Reviews
 Chromium Code Reviews Issue 2737603006:
  [inspector] added createContextGroup for tests  (Closed)
    
  
    Issue 2737603006:
  [inspector] added createContextGroup for tests  (Closed) 
  | OLD | NEW | 
|---|---|
| (Empty) | |
| 1 Checks createContext(). | |
| 2 { | |
| 3 method : Runtime.executionContextCreated | |
| 4 params : { | |
| 5 context : { | |
| 6 id : 1 | |
| 7 name : | |
| 8 origin : | |
| 9 } | |
| 10 } | |
| 11 } | |
| 12 { | |
| 13 method : Runtime.executionContextCreated | |
| 14 params : { | |
| 15 context : { | |
| 16 id : 2 | |
| 17 name : | |
| 18 origin : | |
| 19 } | |
| 20 } | |
| 21 } | |
| 22 { | |
| 23 id : <messageId> | |
| 24 result : { | |
| 25 } | |
| 26 } | |
| 27 #debugger; | |
| 28 | |
| 29 setTimeout(#x => x * 3, 0) | |
| 30 | |
| 31 Reported script's execution id: 2 | |
| 32 { | |
| 33 method : Runtime.executionContextCreated | |
| 34 params : { | |
| 35 context : { | |
| 36 id : 1 | |
| 37 name : | |
| 38 origin : | |
| 39 } | |
| 40 } | |
| 41 } | |
| 42 { | |
| 43 method : Runtime.executionContextCreated | |
| 44 params : { | |
| 45 context : { | |
| 46 id : 2 | |
| 47 name : | |
| 48 origin : | |
| 49 } | |
| 50 } | |
| 51 } | |
| 52 #debugger; | |
| 53 | |
| 54 #debugger; | |
| 55 | |
| 56 setTimeout(#x => x * 3, 0) | |
| 57 | |
| 58 Reported script's execution id: 2 | |
| OLD | NEW |