From 241fc1b9c7a12906d677b55e5319406709faf420 Mon Sep 17 00:00:00 2001 From: Jonathan Griffin Date: Fri, 27 Jul 2012 09:39:55 -0700 Subject: [PATCH] Bug 753490 - Fix find_element regression, r=mdas, DONTBUILD because NPOTB --- testing/marionette/marionette-elements.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/marionette/marionette-elements.js b/testing/marionette/marionette-elements.js index 1a47c68a329..80cd07ed58b 100644 --- a/testing/marionette/marionette-elements.js +++ b/testing/marionette/marionette-elements.js @@ -62,7 +62,7 @@ ElementManager.prototype = { */ addToKnownElements: function EM_addToKnownElements(element) { for (let i in this.seenItems) { - if (this.seenItems[i] == element) { + if (XPCNativeWrapper(this.seenItems[i]) == XPCNativeWrapper(element)) { return i; } }