[webkit-changes] [WebKit/WebKit] 95cb10: [Lockdown Mode] Disable Web Codecs API

Brent Fulgham noreply at github.com
Wed Apr 5 19:29:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 95cb10c87569d6491b027a7f0123548dbf891555
      https://github.com/WebKit/WebKit/commit/95cb10c87569d6491b027a7f0123548dbf891555
  Author: Brent Fulgham <bfulgham at apple.com>
  Date:   2023-04-05 (Wed, 05 Apr 2023)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm

  Log Message:
  -----------
  [Lockdown Mode] Disable Web Codecs API
https://bugs.webkit.org/show_bug.cgi?id=255054
<rdar://107652463>

Reviewed by Youenn Fablet.

Disable access to WebCodec APIs when in lockdown mode.

* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::adjustSettingsForLockdownMode): Turn off WebCodecs.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: Add tests.

Canonical link: https://commits.webkit.org/262653@main




More information about the webkit-changes mailing list