Closed
Bug 818186
Opened 13 years ago
Closed 12 years ago
Some loader bugs
Categories
(Add-on SDK Graveyard :: General, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: glind, Assigned: irakli)
Details
1. Have a "" mapping by default in the mappings, so that all paths resolve.
2. Fix resolve to this, so that 'bare imports' 'do the right thing':
let resolve1 = function(id, requirer) {
console.log("R1",id,requirer);
let ans = id[0] === "." ? resolve(id, requirer) : id
console.log('R1 answer:',ans);
return ans
}
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → rFobic
Priority: -- → P1
Comment 1•12 years ago
|
||
Gregg, I'm not sure what this solves, or if it's quite outdated (we do have "" mappings now), do you have a use-case in mind? Is this still valid?
Flags: needinfo?(glind)
| Reporter | ||
Comment 2•12 years ago
|
||
I believe that was fixed in 2013 in this rev:
commit a7ed5c079a876e48c6ff4432811afee385c64864
Author: Alexandre Poirot <poirot.alex@gmail.com>
Date: Tue Feb 19 16:48:42 2013 +0100
Bug 793925: part 8 - Fix handling of relative path for system/out-of-manifest modules
--> + if (!isRelative(id)) return id;
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(glind)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•