OLD | NEW |
(Empty) | |
| 1 Tests that creating multiple sessions works. |
| 2 Connecting session 1 |
| 3 From session 1 |
| 4 { |
| 5 method : Runtime.executionContextCreated |
| 6 params : { |
| 7 context : { |
| 8 id : 1 |
| 9 name : |
| 10 origin : |
| 11 } |
| 12 } |
| 13 } |
| 14 Connecting session 2 |
| 15 From session 2 |
| 16 { |
| 17 method : Runtime.executionContextCreated |
| 18 params : { |
| 19 context : { |
| 20 id : 1 |
| 21 name : |
| 22 origin : |
| 23 } |
| 24 } |
| 25 } |
| 26 Reconnecting session 2 |
| 27 From session 2 |
| 28 { |
| 29 method : Runtime.executionContextCreated |
| 30 params : { |
| 31 context : { |
| 32 id : 1 |
| 33 name : |
| 34 origin : |
| 35 } |
| 36 } |
| 37 } |
| 38 Reconnecting session 1 |
| 39 From session 1 |
| 40 { |
| 41 method : Runtime.executionContextCreated |
| 42 params : { |
| 43 context : { |
| 44 id : 1 |
| 45 name : |
| 46 origin : |
| 47 } |
| 48 } |
| 49 } |
| 50 Connecting session 3 |
| 51 From session 3 |
| 52 { |
| 53 method : Runtime.executionContextCreated |
| 54 params : { |
| 55 context : { |
| 56 id : 1 |
| 57 name : |
| 58 origin : |
| 59 } |
| 60 } |
| 61 } |
| 62 Destroying and creating context |
| 63 From session 3 |
| 64 { |
| 65 method : Runtime.executionContextDestroyed |
| 66 params : { |
| 67 executionContextId : <executionContextId> |
| 68 } |
| 69 } |
| 70 id matching: true |
| 71 From session 1 |
| 72 { |
| 73 method : Runtime.executionContextDestroyed |
| 74 params : { |
| 75 executionContextId : <executionContextId> |
| 76 } |
| 77 } |
| 78 id matching: true |
| 79 From session 2 |
| 80 { |
| 81 method : Runtime.executionContextDestroyed |
| 82 params : { |
| 83 executionContextId : <executionContextId> |
| 84 } |
| 85 } |
| 86 id matching: true |
| 87 From session 3 |
| 88 { |
| 89 method : Runtime.executionContextCreated |
| 90 params : { |
| 91 context : { |
| 92 id : 2 |
| 93 name : |
| 94 origin : |
| 95 } |
| 96 } |
| 97 } |
| 98 From session 1 |
| 99 { |
| 100 method : Runtime.executionContextCreated |
| 101 params : { |
| 102 context : { |
| 103 id : 2 |
| 104 name : |
| 105 origin : |
| 106 } |
| 107 } |
| 108 } |
| 109 From session 2 |
| 110 { |
| 111 method : Runtime.executionContextCreated |
| 112 params : { |
| 113 context : { |
| 114 id : 2 |
| 115 name : |
| 116 origin : |
| 117 } |
| 118 } |
| 119 } |
| 120 Disconnecting all sessions |
| 121 Connecting session 4 |
| 122 From session 4 |
| 123 { |
| 124 method : Runtime.executionContextCreated |
| 125 params : { |
| 126 context : { |
| 127 id : 2 |
| 128 name : |
| 129 origin : |
| 130 } |
| 131 } |
| 132 } |
OLD | NEW |