Closed Bug 315988 Opened 19 years ago Closed 4 years ago

Make document.loadOverlay() accept relative locations

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Waldo, Assigned: Waldo)

References

()

Details

If you're in a XUL document which is a sibling to a XUL overlay named "foo.xul" and try to run |document.loadOverlay("foo.xul", null);| you get an exception because the method doesn't accept relative locations.  I intend to try to fix this so that relative URIs work correctly, where "relative" is defined as "relative to the location of the document executing the script" (because it's the way that |window.location| works in webpage JS code).

I don't know when I'll get to this, but it's now on the to-do list.
Depends on: 282103
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets

(In reply to Jeff Walden [:Waldo] from comment #0)

I don't know when I'll get to this, but it's now on the to-do list.

I guess you didn't get to it. ;)

XUL overlays were removed in bug 1426763.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.