[Pkg-mozext-commits] [greasemonkey] 23/45: Use nsIDOMWindow, not deprecated nsIDOMWindowInternal.
David Prévot
taffit at moszumanska.debian.org
Mon Nov 3 20:59:20 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository greasemonkey.
commit b905bdcf22c50f6421c8082f0d77c7273f8a0d0f
Author: Anthony Lieuallen <arantius at gmail.com>
Date: Thu Oct 2 12:09:05 2014 -0400
Use nsIDOMWindow, not deprecated nsIDOMWindowInternal.
---
components/greasemonkey.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/components/greasemonkey.js b/components/greasemonkey.js
index 2376393..2e85a4d 100644
--- a/components/greasemonkey.js
+++ b/components/greasemonkey.js
@@ -219,12 +219,11 @@ service.prototype.injectScripts = function(
var winIsTop = true;
try {
- wrappedContentWin.QueryInterface(Ci.nsIDOMWindowInternal);
+ wrappedContentWin.QueryInterface(Ci.nsIDOMWindow);
if (wrappedContentWin.frameElement) winIsTop = false;
} catch (e) {
// Ignore non-DOM-windows.
- dump('Could not QI wrappedContentWin to nsIDOMWindowInternal at\n'
- + url + ' ?!\n');
+ dump('Could not QI wrappedContentWin to nsIDOMWindow at\n' + url + ' ?!\n');
}
for (var i = 0, script = null; script = scripts[i]; i++) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git
More information about the Pkg-mozext-commits
mailing list