Skip to content

Commit

Permalink
no longer recording download urls until pwpb is supported
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvold committed May 31, 2013
1 parent 5cf6c98 commit 59a475e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions extension/modules/script/script.js
Expand Up @@ -834,7 +834,8 @@ Script.prototype = {
var tools = {};
Cu.import("resource://scriptish/utils/Scriptish_cryptoHash.js", tools);

if (Services.pbs.privateBrowsingEnabled) this._downloadURL = null;
// TODO: see https://github.com/scriptish/scriptish/issues/94
if (true) this._downloadURL = null;

// set up _modified and stat thrashing stuff
this.isModified();
Expand Down Expand Up @@ -869,7 +870,8 @@ Script.parseVersion = function Script_parseVersion(aSrc) {
Script.parse = function Script_parse(aConfig, aSource, aURI, aUpdateScript) {
var script = new Script(aConfig);

if (aURI && !Services.pbs.privateBrowsingEnabled)
// TODO: see https://github.com/scriptish/scriptish/issues/94
if (aURI && false)
script._downloadURL = aURI.spec;

// read one line at a time looking for start meta delimiter or EOF
Expand Down

0 comments on commit 59a475e

Please sign in to comment.