Closed Bug 1300052 Opened 8 years ago Closed 3 years ago

Should do error handling if we set an invalid port to a URL

Categories

(Core :: Networking, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1301621

People

(Reporter: CuveeHsu, Unassigned)

References

Details

(Whiteboard: [necko-backlog])

According to bug 275101 comment 8, the following script should throw
> var url = new URL("http://example.com:99999"); url.port

Chrome and Edge will throw during the URL construction.
Safari will return port to 65535.
See Also: → 1301621
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3

Bulk-downgrade of unassigned, >=3 years untouched DOM/Storage bug's priority.

If you have reason to believe this is wrong, please write a comment and ni :jstutte.

Severity: normal → S4
Priority: P3 → P5

Fix landed in bug 1301621.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.