Bug 262518
Summary: | [Lockdown Mode] Add logging to the console and the build | ||
---|---|---|---|
Product: | WebKit | Reporter: | Karl Dubost <karlcow> |
Component: | WebKit API | Assignee: | Karl Dubost <karlcow> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 17 | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Karl Dubost
When Lockdown Mode is activated a number of features have been disabled and sites which rely on these features might break.
To make it easier for Web developers and people analyzing the bug reports created by lockdown mode, it would be interesting to have a better logging.
See previously for Lockdown Mode features/bugs
https://bugs.webkit.org/buglist.cgi?list_id=9595295&query_format=advanced&short_desc=%5BLockdown%20Mode%5D&short_desc_type=allwordssubstr
* Web Fonts: 90% of the reported issues so far are related to WebFonts. It is probably interesting to add logging with the name of the font when possible through RELEASE_LOG()
* More Work: Possible followup bug, a modification of the Web Inspector so it advertises that Lockdown mode is active.
* Exceptions: Double check that console message is NOT sent when an exception has been granted for a specific website.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Karl Dubost
<rdar://114657783>
Karl Dubost
Possible link to understand what is LockDown Mode.
https://support.apple.com/en-us/HT212650
There is also
https://searchfox.org/wubkat/rev/d65248aa5c753da56ad0c0e0028e4c4cddd5c1f4/Source/WebKit/WebProcess/WebPage/WebPage.cpp#4380
but this is a C++ code page, maybe too heavy for webdevs, even if easy to read.
Karl Dubost
Pull request: https://github.com/WebKit/WebKit/pull/18684
EWS
Committed 269238@main (72d690ca0740): <https://commits.webkit.org/269238@main>
Reviewed commits have been landed. Closing PR #18684 and removing active labels.