[webkit-changes] [WebKit/WebKit] 96c49e: Regression (256785 at main) Mimeo Photos plugin is br...

Chris Dumez noreply at github.com
Thu Jul 20 14:08:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 96c49e041ac290ef903a7feff0542ad4f09be86c
      https://github.com/WebKit/WebKit/commit/96c49e041ac290ef903a7feff0542ad4f09be86c
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

  Changed paths:
    M Source/WebCore/page/History.cpp
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h
    M Source/WebCore/platform/RuntimeApplicationChecks.h
    M Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm
    M Source/WebKit/UIProcess/WebPageProxy.cpp

  Log Message:
  -----------
  Regression (256785 at main) Mimeo Photos plugin is broken
https://bugs.webkit.org/show_bug.cgi?id=259353
rdar://112445672

Reviewed by Brent Fulgham.

We added file path restrictions to the history.pushState() API in 256785 at main
to match the specification and other browsers. The new behavior was behind a
linked-on-after check but the Mimeo Photos app plugin got updated recently
and it now broken by these new restrictions.

To address the issue, I am adding a quirk to opt Mimeo out of these new
restrictions.

* Source/WebCore/page/History.cpp:
(WebCore::History::stateObjectAdded):
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldDisablePushStateFilePathRestrictions const):
* Source/WebCore/page/Quirks.h:
* Source/WebCore/platform/RuntimeApplicationChecks.h:
* Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm:
(WebCore::MacApplication::isMimeoPhotoProject):

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




More information about the webkit-changes mailing list