Open Bug 720254 Opened 12 years ago Updated 2 years ago

baseURI for a blank content document created by chrome is the browser's URI

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

People

(Reporter: neil, Unassigned)

Details

(Keywords: regression)

If chrome creates a blank content document (e.g. by opening a tab) then the resulting document has a base URI equal to the chrome document's URI. This was unexpected to me (I accidentally tried to use the base for a relative URI).

Note that if content creates a content document by calling window.open() then the resulting document has an about:blank base URI as expected.

Note that the editor also manages to reset the base URI to about:blank (testing at two stages of message compose shows the compose window as the initial base URI early on but later on it is about:blank as expected.)

Gecko 2 has the bug but I found a build from 2007 that does not.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.