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

Unified Diff: sky/framework/inspector/dom-agent.sky

Issue 690433002: Fix the inspector and integrate it with skydb (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/tools/sky_server » ('j') | sky/tools/sky_server » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/inspector/dom-agent.sky
diff --git a/sky/framework/inspector/dom-agent.sky b/sky/framework/inspector/dom-agent.sky
index 6e6048fda614c2a62a912f3ff7e9ac33bf03f026..f3bc58ee03c92738ebf509b14aa12c81d033878e 100644
--- a/sky/framework/inspector/dom-agent.sky
+++ b/sky/framework/inspector/dom-agent.sky
@@ -60,10 +60,6 @@ DOMAgent.prototype.serializeNode_ = function(node) {
if (!nodeValue.trim())
return null;
record.nodeValue = nodeValue;
- } else if (node instanceof Comment) {
- record.nodeType = 8;
- record.nodeName = "#comment";
- record.nodeValue = node.data;
} else if (node instanceof Document) {
isContainer = true;
record.nodeType = 9;
« no previous file with comments | « no previous file | sky/tools/sky_server » ('j') | sky/tools/sky_server » ('J')

Powered by Google App Engine
This is Rietveld 408576698