[webkit-changes] [WebKit/WebKit] 54bc44: jsfiddles cannot get access to feature policy gate...

youennf noreply at github.com
Fri Aug 25 00:47:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 54bc44e6551791dc2ea46aae2420fa2866a3d6a1
      https://github.com/WebKit/WebKit/commit/54bc44e6551791dc2ea46aae2420fa2866a3d6a1
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

  Changed paths:
    M Source/WebCore/html/FeaturePolicy.cpp
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h

  Log Message:
  -----------
  jsfiddles cannot get access to feature policy gated features like camera
https://bugs.webkit.org/show_bug.cgi?id=260656
rdar://114378082

Reviewed by Eric Carlson and Chris Dumez.

https://commits.webkit.org/265641@main tightened feature policy parsing and aligned it with spec.
This was known to not work for some websites, like jsfiddle.
Add a temporary quirk to fix jsfiddle.
Manually tested.

* Source/WebCore/html/FeaturePolicy.cpp:
(WebCore::updateList):
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldStarBeFeaturePolicyDefaultValue const):
* Source/WebCore/page/Quirks.h:

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




More information about the webkit-changes mailing list