Make document.loadOverlay() accept relative locations

NEW
Assigned to

Status

()

Core
XUL
12 years ago
8 years ago

People

(Reporter: Waldo, Assigned: Waldo)

Tracking

(Depends on: 1 bug)

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

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.

Updated

10 years ago
Depends on: 282103

Updated

9 years ago
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.