[webkit-changes] [WebKit/WebKit] de000c: Remove shouldDisableContentChangeObserverTouchEven...

Karl Dubost noreply at github.com
Tue May 7 16:23:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: de000c743daf09e8ae01eafea49faeccf162c151
      https://github.com/WebKit/WebKit/commit/de000c743daf09e8ae01eafea49faeccf162c151
  Author: Karl Dubost <karlcow at apple.com>
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
    M Source/WebCore/loader/DocumentLoader.h
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h
    M Source/WebCore/page/ios/ContentChangeObserver.cpp
    M Source/WebKit/Shared/WebsitePoliciesData.cpp
    M Source/WebKit/Shared/WebsitePoliciesData.h
    M Source/WebKit/Shared/WebsitePoliciesData.serialization.in
    M Source/WebKit/UIProcess/API/APIWebsitePolicies.h
    M Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm

  Log Message:
  -----------
  Remove shouldDisableContentChangeObserverTouchEventAdjustment on Youtube.com
https://bugs.webkit.org/show_bug.cgi?id=255275
rdar://107484040

Reviewed by Tim Horton.

After disabling the Site Specific Quirks on iOS, and testing the touch
on Autoplay feature everything is working the same in both scenarios.
The quirk is not necessary anymore. This also removes
allowContentChangeObserverQuirk associated to this quirk.

It was enabled on https://webkit.org/b/200609
This is also a followup on https://webkit.org/b/264234

* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldDisableContentChangeObserverTouchEventAdjustment const): Deleted.
* Source/WebCore/page/Quirks.h:
* Source/WebCore/page/ios/ContentChangeObserver.cpp:
(WebCore::ContentChangeObserver::touchEventDidStart):
* Source/WebCore/loader/DocumentLoader.h:
(WebCore::DocumentLoader::setAllowContentChangeObserverQuirk): Deleted.
(WebCore::DocumentLoader::allowContentChangeObserverQuirk const): Deleted.
* Source/WebKit/Shared/WebsitePoliciesData.cpp:
(WebKit::WebsitePoliciesData::applyToDocumentLoader):
* Source/WebKit/Shared/WebsitePoliciesData.h:
* Source/WebKit/Shared/WebsitePoliciesData.serialization.in:
* Source/WebKit/UIProcess/API/APIWebsitePolicies.h:
* Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::effectiveContentModeAfterAdjustingPolicies):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list