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

View File

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