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

sunus
Reported 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.
Attachments
can not change URL.protocol (214.59 KB, image/jpeg)
2023-11-07 02:34 PST, sunus
no flags
sunus
Comment 1 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)
Note You need to log in before you can comment on or make changes to this bug.