Skip to content

Commit

Permalink
Fix remaining references to private script _downloadURL.
Browse files Browse the repository at this point in the history
  • Loading branch information
arantius committed Oct 2, 2013
1 parent 1ef7cad commit e716fe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/config.js
Expand Up @@ -227,7 +227,7 @@ Config.prototype.updateModifiedScripts = function(aWhen, aSafeWin) {
var scope = {};
Components.utils.import('resource://greasemonkey/parseScript.js', scope);
var parsedScript = scope.parse(
script.textContent, GM_util.uriFromUrl(script._downloadURL));
script.textContent, GM_util.uriFromUrl(script.downloadURL));
// TODO: Show PopupNotifications about parse error(s)?
script.updateFromNewScript(parsedScript, aSafeWin);
} else {
Expand Down
2 changes: 1 addition & 1 deletion modules/addons4.js
Expand Up @@ -283,7 +283,7 @@ ScriptInstall.prototype.install = function() {
'onDownloadStarted', this._listeners, this);
this.state = AddonManager.STATE_DOWNLOADING;

var rs = new RemoteScript(this._script._downloadURL);
var rs = new RemoteScript(this._script.downloadURL);
rs.messageName = 'script.updated';
rs.onProgress(this._progressCallback);
rs.download(GM_util.hitch(this, function(aSuccess, aType) {
Expand Down

0 comments on commit e716fe1

Please sign in to comment.