Closed
Bug 989100
Opened 10 years ago
Closed 7 years ago
tabs.open(url) should accept relative urls (which use files in the add-on data folder)
Categories
(Add-on SDK Graveyard :: General, defect, P2)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: evold, Unassigned)
References
Details
Since we have start using allowing this type of code: Button({ icon: './icon.png' }); which uses the `icon.png` file from the add-on's data folder, I think we should also allow: require('sdk/tabs').open('./index.html'); as short hand for require('sdk/tabs').open(require('sdk/self').data.url('index.html'))
Priority: -- → P2
Comment 1•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•