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

Unified Diff: Source/devtools/front_end/sdk/RemoteObject.js

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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 | « Source/devtools/front_end/sdk/PowerProfiler.js ('k') | Source/devtools/front_end/sdk/ResourceTreeModel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sdk/RemoteObject.js
diff --git a/Source/devtools/front_end/sdk/RemoteObject.js b/Source/devtools/front_end/sdk/RemoteObject.js
index 5d2844d5ebf6e06bcdce976d61be6bfaa8a43526..9ffc0b4f9d185e13628e097db3b5bb307ae38dff 100644
--- a/Source/devtools/front_end/sdk/RemoteObject.js
+++ b/Source/devtools/front_end/sdk/RemoteObject.js
@@ -282,7 +282,6 @@ WebInspector.RemoteObjectImpl = function(target, objectId, type, subtype, value,
this._preview = preview;
} else {
// Primitive or null object.
- console.assert(type !== "object" || value === null);
this._description = description || (value + "");
this._hasChildren = false;
// Handle special numbers: NaN, Infinity, -Infinity, -0.
« no previous file with comments | « Source/devtools/front_end/sdk/PowerProfiler.js ('k') | Source/devtools/front_end/sdk/ResourceTreeModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698