[Pkg-mozext-commits] [greasemonkey] 14/35: Update xmlhttprequester.js (fix typo, style clean up)
David Prévot
taffit at moszumanska.debian.org
Wed May 20 02:43:37 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 ac5d3ee41bdca0c97c77073f142d0d1bda413ebd
Author: janekptacijarabaci <janekptacijarabaci at users.noreply.github.com>
Date: Tue May 5 13:36:51 2015 +0200
Update xmlhttprequester.js (fix typo, style clean up)
---
modules/xmlhttprequester.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/xmlhttprequester.js b/modules/xmlhttprequester.js
index c6e8d19..9abff6c 100644
--- a/modules/xmlhttprequester.js
+++ b/modules/xmlhttprequester.js
@@ -33,7 +33,7 @@ GM_xmlhttpRequester.prototype.contentStartRequest = function(details) {
// A malformed URL won't be parsed properly.
throw new Error(
gStringBundle.GetStringFromName('error.invalidUrl')
- .replace('%1', name)
+ .replace('%1', details.url)
);
}
@@ -279,7 +279,7 @@ function(wrappedContentWin, sandbox, req, event, details) {
status: responseState.status,
statusText: responseState.statusText,
total: responseState.total
- }, sandbox, {cloneFunctions: true, wrapReflectors: true});
+ }, sandbox, {cloneFunctions: true, wrapReflectors: true});
if (GM_util.windowIsClosed(wrappedContentWin)) {
return;
--
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