Skip to content
Browse files

Fix detection of optimized-away values after bug 716647

  • Loading branch information...
1 parent 88769ad commit 75f76d0390b4fd6e76822ca296b9f3f11c52a689 @simonlindholm committed Apr 25, 2014
Showing with 5 additions and 0 deletions.
  1. +5 −0 extension/content/firebug/console/closureInspector.js
View
5 extension/content/firebug/console/closureInspector.js
@@ -37,6 +37,11 @@ var ClosureInspector =
try
{
var ret = scope.getVariable(name);
+ if (ret && ret.optimizedOut)
+ return OptimizedAway;
+
+ // Try to detect optimized-away values. This round-about method is
+ // needed for Firefox versions prior to 31 (when bug 716647 landed).
if (ret !== undefined)
return ret;

0 comments on commit 75f76d0

Please sign in to comment.
Something went wrong with that request. Please try again.