Bug 606388 - Re-enable browser_popupUI.js. It is trying to use == to compare an Xray wrapper with a SJOW. r=jst

This commit is contained in:
Blake Kaplan 2011-03-11 12:07:43 -08:00
parent 4f00dab2ab
commit f93c39ea90
2 changed files with 2 additions and 4 deletions

View File

@ -205,6 +205,7 @@ _BROWSER_FILES = \
browser_clearplugindata.js \
browser_clearplugindata.html \
browser_clearplugindata_noage.html \
browser_popupUI.js \
browser_sanitizeDialog.js \
browser_scope.js \
browser_selectTabAtIndex.js \
@ -249,9 +250,6 @@ _BROWSER_FILES = \
test_bug628179.html \
$(NULL)
# compartment-disabled
# browser_popupUI.js \
ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
_BROWSER_FILES += \
browser_bug462289.js \

View File

@ -21,7 +21,7 @@ function findPopup() {
while (enumerator.hasMoreElements()) {
let win = enumerator.getNext();
if (win.content == content.wrappedJSObject.popup) {
if (win.content.wrappedJSObject == content.wrappedJSObject.popup) {
testPopupUI(win);
return;
}