Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Side by Side Diff: sky/framework/inspector/runtime-agent.sky

Issue 727593004: Wire up the Inspector V8 Debugger (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Actually works Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <import src="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,
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 try { 108 try {
109 value = eval(params.expression); 109 value = eval(params.expression);
110 } catch (e) { 110 } catch (e) {
111 value = e; 111 value = e;
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 = function(params) {
119 // FIXME: Unclear what this is for.
120 return [];
121 }
119 122
120 module.exports = Runtime; 123 module.exports = Runtime;
121 </script> 124 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698