OLD | NEW |
1 <link rel="import" href="debug.sky" as="debug" /> | 1 <import src="debug.sky" as="debug" /> |
2 <script> | 2 <script> |
3 function Runtime(delegate) { | 3 function Runtime(delegate) { |
4 this.delegate_ = delegate; | 4 this.delegate_ = delegate; |
5 } | 5 } |
6 | 6 |
7 Runtime.prototype.enable = function() { | 7 Runtime.prototype.enable = function() { |
8 this.delegate_.sendMessage("Runtime.executionContextCreated", { | 8 this.delegate_.sendMessage("Runtime.executionContextCreated", { |
9 "context": { | 9 "context": { |
10 "frameId": 1, | 10 "frameId": 1, |
11 "id": 1, | 11 "id": 1, |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 wasThrown = true; | 112 wasThrown = true; |
113 } | 113 } |
114 | 114 |
115 return makeResult(params, value, wasThrown); | 115 return makeResult(params, value, wasThrown); |
116 } | 116 } |
117 | 117 |
118 Runtime.prototype.getProperties = debug.loggingStub("getProperties"); | 118 Runtime.prototype.getProperties = debug.loggingStub("getProperties"); |
119 | 119 |
120 module.exports = Runtime; | 120 module.exports = Runtime; |
121 </script> | 121 </script> |
OLD | NEW |