Bug 264329 - in macOS Sonoma 14.2(Beta) , URL.protocol is no longer writable.
Summary: in macOS Sonoma 14.2(Beta) , URL.protocol is no longer writable.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: Safari 17
Hardware: Unspecified Unspecified
: P2 Critical
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-07 02:34 PST by sunus
Modified: 2023-11-07 02:38 PST (History)
0 users

See Also:


Attachments
can not change URL.protocol (214.59 KB, image/jpeg)
2023-11-07 02:34 PST, sunus
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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)