Bug 127957

Summary: FIX URL behavior for out of range port numbers
Product: WebKit Reporter: Maciej Stachowiak <mjs>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: annevk, ap
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 128023    

Description Maciej Stachowiak 2014-01-30 15:04:12 PST
FIX URL behavior for out of range port numbers
Comment 1 Anne van Kesteren 2023-08-23 00:20:22 PDT
From our text expectation files:

PASS URL: Setting <http://example.net:8080/path>.port = '65536' Port numbers are 16 bit integers, overflowing is an error
PASS URL: Setting <http://example.net:8080/path>.port = 'randomstring' Setting port to a string that doesn't parse as a number
PASS URL: Setting <non-special://example.net:8080/path>.port = '65536' Port numbers are 16 bit integers, overflowing is an error