Backed out 6d349e5ae0ed (bug 889157) for JP test bustage

This commit is contained in:
Phil Ringnalda
2013-07-01 18:32:34 -07:00
parent 784f9c46c4
commit 84100ce0a4
75 changed files with 1275 additions and 4834 deletions

View File

@@ -389,16 +389,3 @@ function getOwnerBrowserWindow(node) {
});
}
exports.getOwnerBrowserWindow = getOwnerBrowserWindow;
function getParentWindow(window) {
try {
return window.QueryInterface(Ci.nsIInterfaceRequestor)
.getInterface(Ci.nsIWebNavigation)
.QueryInterface(Ci.nsIDocShellTreeItem).parent
.QueryInterface(Ci.nsIInterfaceRequestor)
.getInterface(Ci.nsIDOMWindow);
}
catch (e) {}
return null;
}
exports.getParentWindow = getParentWindow;