Skip to content

Commit

Permalink
Merge branch 'jsd2' of github.com:firebug/firebug into jsd2
Browse files Browse the repository at this point in the history
  • Loading branch information
janodvarko committed Dec 20, 2013
2 parents d3b5b02 + 8092d4f commit df288bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions extension/content/firebug/firefox/bindings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -764,8 +764,10 @@
Firebug.currentContext);
if (itemObject == object)
return item;
// For items implementing equals() (such as StackFrame)
if (itemObject && itemObject.equals && itemObject.equals(object))
// For items implementing equals() (such as StackFrame).
// Also make sure we get an object from chrome.
if (XPCNativeWrapper(itemObject) === itemObject && itemObject &&
itemObject.equals && itemObject.equals(object))
return item;
}
}
Expand Down

0 comments on commit df288bc

Please sign in to comment.