Closed Bug 745857 Opened 13 years ago Closed 8 years ago

Need a way to set the optionsURL to a chrome window (or anything else)

Categories

(Add-on SDK Graveyard :: General, enhancement, P4)

enhancement

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: erikvvold, Unassigned)

References

Details

This is something that any traditional add-on could do easily, and it should be easy to do with the add-on sdk as well.
Depends on: 676029
Assignee: nobody → erikvvold
What would be the use case for this?
Whiteboard: [triage:followup]
Assignee: erikvvold → evold
Severity: normal → enhancement
Priority: -- → P4
Depends on: 559306
No longer depends on: cfx.js
bug 559306 would resolve this.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
This ticket was marked as a duplicate of 559306, but that is not true. optionsURL is specified in install.rdf and not chrome.manifest. So there is still no way to specify optionsURL (and optionsType).
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
If we want to do this, then I have basically done it while working on bug 915376 already, but I think we might want to use a preference instead here in order to avoid package.json bloat. Irkali thoughts?
Flags: needinfo?(rFobic)
Erik we talked about this during weekly, so yes it looks like we should provide a way to expose `optionsURL`. That being said I'm not sure what do you mean by using preference instead, can you elaborate please ? Some example may help as well.
Flags: needinfo?(rFobic)
Flags: needinfo?(evold)
(In reply to Irakli Gozalishvili [:irakli] [:gozala] [@gozala] from comment #5) > Erik we talked about this during weekly, so yes it looks like we should > provide a way to expose `optionsURL`. > > That being said I'm not sure what do you mean by using preference instead, > can you elaborate please ? Some example may help as well. At the moment the AOM determines the optionsURL from a value in the install.rdf only. I'm suggesting that there could be a fallback check for a optionsURL in say `'extensions.' + id + '.optionsURL'` for example, which would be provided by the `package.json` like so: { ... "preferences": [{ "name": "optionsURL", "type": "hidden" "value": "chrome://.." }] ... }
Flags: needinfo?(evold)
I'm not working on this at the moment, and it probably doesn't make sense to work on this until bug 915376 is complete.
Assignee: evold → nobody
Status: REOPENED → RESOLVED
Closed: 12 years ago8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.