[Pkg-mozext-commits] [greasemonkey] 02/62: Run document-start scripts on about:blank.
David Prévot
taffit at moszumanska.debian.org
Sun Sep 13 22:10:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository greasemonkey.
commit 9bd373a0d79aa99d7e17dc4d7cb229fd98a10d6d
Author: Anthony Lieuallen <arantius at gmail.com>
Date: Fri Jul 31 11:17:01 2015 -0400
Run document-start scripts on about:blank.
Fixes #2041
---
content/framescript.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/content/framescript.js b/content/framescript.js
index f34e6df..a514964 100644
--- a/content/framescript.js
+++ b/content/framescript.js
@@ -58,6 +58,7 @@ function blankLoad(aEvent) {
var contentWin = aEvent.target.defaultView;
if (contentWin.location.href.match(/^about:blank/)) {
// #1696: document-element-inserted doesn't see about:blank
+ runScripts('document-start', contentWin);
runScripts('document-end', contentWin);
}
}
--
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