Bug 264329

Summary: in macOS Sonoma 14.2(Beta) , URL.protocol is no longer writable.
Product: WebKit Reporter: sunus <sunuslee>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Critical    
Priority: P2    
Version: Safari 17   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
can not change URL.protocol none

Description sunus 2023-11-07 02:34:35 PST
Created attachment 468504 [details]
can not change URL.protocol

in macOS Sonoma 14.2(Beta) , URL.protocol is no longer writable.

before 14.2(Beta) , we can change the URL Object's protocol property.
Comment 1 sunus 2023-11-07 02:38:37 PST
seems like a feature.

https://developer.apple.com/documentation/safari-release-notes/safari-17_2-release-notes

Fixed URL’s protocol setter to forbid change a special URL to a non-special URL. (114624048)