Closed Bug 1217472 Opened 9 years ago Closed 9 years ago

Simplify SrcdirProvider by using resource substitution

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jryans, Unassigned)

References

(Blocks 2 open bugs)

Details

Now that we have resource://devtools, we should be able to remove the path list from SrcdirProvider and just redirect resource://devtools instead.
Note that bug 1201710 and external libs prevents you from doing that. But I think we can mitigate that by changing how we package them, and instead package them as-is. By as-is I mean as they are in the source tree. Loader.jsm does this: "gcli": "resource://devtools/gcli", That fails if we pass resource://devtools to /mozilla-central/devtools. Instead we should package libs "as-is" and just have a shortcut that would work for both builtin and srcdir: "gcli": "resource://devtools/shared/gcli/source/lib/gcli",
Depends on: 1219723
Depends on: 1221549
Depends on: 1232290
Given that I'm about to remove SrcDirProvider in bug 1250430, I imagine we can WONTFIX this bug. Please reopen if there is still something to do.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.