Closed
Bug 646690
Opened 14 years ago
Closed 4 years ago
window.location.* doesn't return useful values for nested URIs
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: Gavin, Unassigned)
Details
Attachments
(1 file)
|
1.59 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
nsLocation::GetURI() unwraps nsIJARURIs, but it doesn't unwrap other nested URIs (e.g. view-source:). This causes some trouble for UI code that does not expect to have to special-case such URIs when getting e.g. location.hostname. (At least we no longer throw, given bug 562433)
See also bug 522319 and bug 645564.
| Reporter | ||
Comment 1•14 years ago
|
||
I don't know whether there are any compatibility concerns here.
| Reporter | ||
Comment 2•14 years ago
|
||
(or whether this is specced by HTML)
Comment 3•14 years ago
|
||
There's no spec for this; none of our nested URIs are standardized.
That patch is probably ok to take, but needs a not-me reviewer, for obvious reasons... ;)
Updated•14 years ago
|
Version: unspecified → Trunk
| Reporter | ||
Updated•14 years ago
|
Attachment #523175 -
Flags: review?(jst)
| Reporter | ||
Updated•14 years ago
|
Summary: window.location.* does return useful values for nested URIs → window.location.* doesn't return useful values for nested URIs
Updated•14 years ago
|
Attachment #523175 -
Flags: review?(jst) → review+
| Reporter | ||
Updated•14 years ago
|
Assignee: nobody → gavin.sharp
| Reporter | ||
Updated•13 years ago
|
Assignee: gavin.sharp → nobody
Comment 4•7 years ago
|
||
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
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•