Closed Bug 41181 Opened 24 years ago Closed 24 years ago

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

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 41182

People

(Reporter: waterson, Assigned: waterson)

Details

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).
This is a Duplicate of 41182

*** This bug has been marked as a duplicate of 41182 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
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.