Closed
Bug 130413
Opened 23 years ago
Closed 23 years ago
window.location.hostname won't accept port
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: samuel, Assigned: jst)
Details
Attachments
(1 file)
290 bytes,
text/html
|
Details |
mozilla tries to resolve the hostname including the port and obviously fails. (my.site.com:80 not found)
Assignee | ||
Comment 1•23 years ago
|
||
Please provide more info here, we need a testcase that shows this problem. Thanks.
Reporter | ||
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
I'm pretty sure this is invalid. The properties of <a> and <area> also have .host and .hostname; there, we (I) implemented it this way: host can contain port numbers, hostname not.
Reporter | ||
Comment 4•23 years ago
|
||
The spec on Netscape's site is wrong! :-( NS4 does it the sensible way. host == hostname + port
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•