Closed Bug 792347 Opened 12 years ago Closed 12 years ago

resource://app/ modules/components are cached as jsloader/resource/gre/... when the application directory is under the gre directory

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file, 1 obsolete file)

In metro builds, the application directory for the browser is $FIREFOX_DIR/browser, when the GRE is under $FIREFOX_DIR/. In this case, resource://app/... urls are canonicalized as resource/gre/browser/... which is then used for startupcache. This also applies to webapprt files under $FIREFOX_DIR/webapprt.
Comment on attachment 662462 [details] [diff] [review]
Fix PathifyURI to properly return a resource/app path for resource://app/ urls when the application is in a subdirectory of the GRE

This is actually going to be a problem in the inverse situation of the GRE being in a subdirectory, which is the case in FF-on-XR situations.
Attachment #662462 - Flags: review?(mwu)
Attachment #662462 - Flags: review+
Note this only really affects non-omnijar builds, which matters for bug 792050
Attachment #662602 - Flags: review?(mwu)
Attachment #662462 - Attachment is obsolete: true
Blocks: 792050
Attachment #662602 - Flags: review?(mwu) → review+
https://hg.mozilla.org/mozilla-central/rev/61d680a20cea
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
No longer blocks: metro-build
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: