Open Bug 610001 Opened 14 years ago Updated 2 years ago

Need better base URI for about:blank in many cases

Categories

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

x86
macOS
defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

Details

When calling window.open(), it looks like the resulting document ends up with an about:blank URI that itself as the base URI.  Blake, when we createAboutBlankContentViewer in SetOpenerScriptPrincipal, ideally we'd pass in a better base URI...  Note that the caller of SetOpenerScriptPrincipal already has to deal with base URIs, so could pass in the right one.

Not something to worry about until after 2.0.
Also, just opening a new tab gives about:blank with browser.xul as the base URI.  We should, imo, give that about:blank as the base URI.
Hi Boris, Is this still an issue? If so, are you still actively working on this? If not, let's unassign you from this.

Also, is this still a priority?
Flags: needinfo?(bzbarsky)
Maybe we should just wontfix this...  I think there is currently interop for the window.open() case, at least?

But not https://github.com/whatwg/html/issues/421
Assignee: bzbarsky → nobody
Flags: needinfo?(bzbarsky)
Priority: P2 → --
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.