first-time chrome: load of XUL file gives document "res:" URL

VERIFIED DUPLICATE of bug 41182

Status

()

P3
normal
VERIFIED DUPLICATE of bug 41182
19 years ago
19 years ago

People

(Reporter: waterson, Assigned: waterson)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

19 years ago
The first time you load a XUL document (or, every time you load it, if you've
turned off your XUL cache), the document will get a base URL that is a
"resource:" URL rather than a "chrome:" URL. This caused some of Mitch's
security checking code to go awry when it expected to find something with a
"chrome:" URL. He's since fixed it, but I'm concerned there may be other
problems waiting to happen.

I'm attaching a patch that sets the "originalURI" attribute on the resource
channel after creating it. Let me know if it looks sane (esp. warren & mscott).

Comment 1

19 years ago
This is a Duplicate of 41182

Comment 2

19 years ago

*** This bug has been marked as a duplicate of 41182 ***
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → DUPLICATE

Comment 3

19 years ago
VERIFIED dupe. Bug report submitted twice.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.