Title: [249997] branches/safari-608-branch/Source
- Revision
- 249997
- Author
- [email protected]
- Date
- 2019-09-17 15:29:41 -0700 (Tue, 17 Sep 2019)
Log Message
Cherry-pick r249770. rdar://problem/55427487
REGRESSION (245006): can't scroll in "read more" view in Eventbrite app
https://bugs.webkit.org/show_bug.cgi?id=201683
<rdar://problem/54582602>
Reviewed by Simon Fraser.
Source/WebCore:
* platform/RuntimeApplicationChecks.h:
* platform/cocoa/RuntimeApplicationChecksCocoa.mm:
(WebCore::IOSApplication::isEventbrite):
Source/WebKit:
Content <body> has 'overflow:hidden'.
* UIProcess/Cocoa/VersionChecks.h:
* UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp:
(WebKit::RemoteScrollingCoordinatorProxy::hasScrollableMainFrame const):
Fix by adding an app specific LinkedOnOrAfter quirk that always allows main frame scrolling.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249770 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-608-branch/Source/WebCore/ChangeLog (249996 => 249997)
--- branches/safari-608-branch/Source/WebCore/ChangeLog 2019-09-17 22:29:38 UTC (rev 249996)
+++ branches/safari-608-branch/Source/WebCore/ChangeLog 2019-09-17 22:29:41 UTC (rev 249997)
@@ -1,5 +1,46 @@
2019-09-17 Kocsen Chung <[email protected]>
+ Cherry-pick r249770. rdar://problem/55427487
+
+ REGRESSION (245006): can't scroll in "read more" view in Eventbrite app
+ https://bugs.webkit.org/show_bug.cgi?id=201683
+ <rdar://problem/54582602>
+
+ Reviewed by Simon Fraser.
+
+ Source/WebCore:
+
+ * platform/RuntimeApplicationChecks.h:
+ * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
+ (WebCore::IOSApplication::isEventbrite):
+
+ Source/WebKit:
+
+ Content <body> has 'overflow:hidden'.
+
+ * UIProcess/Cocoa/VersionChecks.h:
+ * UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp:
+ (WebKit::RemoteScrollingCoordinatorProxy::hasScrollableMainFrame const):
+
+ Fix by adding an app specific LinkedOnOrAfter quirk that always allows main frame scrolling.
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249770 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2019-09-11 Antti Koivisto <[email protected]>
+
+ REGRESSION (245006): can't scroll in "read more" view in Eventbrite app
+ https://bugs.webkit.org/show_bug.cgi?id=201683
+ <rdar://problem/54582602>
+
+ Reviewed by Simon Fraser.
+
+ * platform/RuntimeApplicationChecks.h:
+ * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
+ (WebCore::IOSApplication::isEventbrite):
+
+2019-09-17 Kocsen Chung <[email protected]>
+
Cherry-pick r249762. rdar://problem/55427465
Prevent reentrancy FrameLoader::dispatchUnloadEvents()
Modified: branches/safari-608-branch/Source/WebCore/platform/RuntimeApplicationChecks.h (249996 => 249997)
--- branches/safari-608-branch/Source/WebCore/platform/RuntimeApplicationChecks.h 2019-09-17 22:29:38 UTC (rev 249996)
+++ branches/safari-608-branch/Source/WebCore/platform/RuntimeApplicationChecks.h 2019-09-17 22:29:41 UTC (rev 249997)
@@ -95,6 +95,7 @@
WEBCORE_EXPORT bool isFirefox();
WEBCORE_EXPORT bool isAppleApplication();
WEBCORE_EXPORT bool isEvernote();
+WEBCORE_EXPORT bool isEventbrite();
} // IOSApplication
Modified: branches/safari-608-branch/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm (249996 => 249997)
--- branches/safari-608-branch/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm 2019-09-17 22:29:38 UTC (rev 249996)
+++ branches/safari-608-branch/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm 2019-09-17 22:29:41 UTC (rev 249997)
@@ -312,6 +312,12 @@
return isEvernote;
}
+bool IOSApplication::isEventbrite()
+{
+ static bool isEventbrite = applicationBundleIsEqualTo("com.eventbrite.attendee"_s);
+ return isEventbrite;
+}
+
#endif
} // namespace WebCore
Modified: branches/safari-608-branch/Source/WebKit/ChangeLog (249996 => 249997)
--- branches/safari-608-branch/Source/WebKit/ChangeLog 2019-09-17 22:29:38 UTC (rev 249996)
+++ branches/safari-608-branch/Source/WebKit/ChangeLog 2019-09-17 22:29:41 UTC (rev 249997)
@@ -1,5 +1,50 @@
2019-09-17 Kocsen Chung <[email protected]>
+ Cherry-pick r249770. rdar://problem/55427487
+
+ REGRESSION (245006): can't scroll in "read more" view in Eventbrite app
+ https://bugs.webkit.org/show_bug.cgi?id=201683
+ <rdar://problem/54582602>
+
+ Reviewed by Simon Fraser.
+
+ Source/WebCore:
+
+ * platform/RuntimeApplicationChecks.h:
+ * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
+ (WebCore::IOSApplication::isEventbrite):
+
+ Source/WebKit:
+
+ Content <body> has 'overflow:hidden'.
+
+ * UIProcess/Cocoa/VersionChecks.h:
+ * UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp:
+ (WebKit::RemoteScrollingCoordinatorProxy::hasScrollableMainFrame const):
+
+ Fix by adding an app specific LinkedOnOrAfter quirk that always allows main frame scrolling.
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249770 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2019-09-11 Antti Koivisto <[email protected]>
+
+ REGRESSION (245006): can't scroll in "read more" view in Eventbrite app
+ https://bugs.webkit.org/show_bug.cgi?id=201683
+ <rdar://problem/54582602>
+
+ Reviewed by Simon Fraser.
+
+ Content <body> has 'overflow:hidden'.
+
+ * UIProcess/Cocoa/VersionChecks.h:
+ * UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp:
+ (WebKit::RemoteScrollingCoordinatorProxy::hasScrollableMainFrame const):
+
+ Fix by adding an app specific LinkedOnOrAfter quirk that always allows main frame scrolling.
+
+2019-09-17 Kocsen Chung <[email protected]>
+
Cherry-pick r249757. rdar://problem/55427273
REGRESSION: Scrubbing on ted.com does not work well
Modified: branches/safari-608-branch/Source/WebKit/UIProcess/Cocoa/VersionChecks.h (249996 => 249997)
--- branches/safari-608-branch/Source/WebKit/UIProcess/Cocoa/VersionChecks.h 2019-09-17 22:29:38 UTC (rev 249996)
+++ branches/safari-608-branch/Source/WebKit/UIProcess/Cocoa/VersionChecks.h 2019-09-17 22:29:41 UTC (rev 249997)
@@ -82,6 +82,7 @@
FirstWithModernCompabilityModeByDefault = DYLD_IOS_VERSION_FIRST_WITH_MODERN_COMPATIBILITY_MODE_BY_DEFAULT,
FirstThatHasUIContextMenuInteraction = DYLD_IOS_VERSION_13_0,
FirstWhereWKContentViewDoesNotOverrideKeyCommands = DYLD_IOS_VERSION_13_0,
+ FirstThatSupportsOverflowHiddenOnMainFrame = DYLD_IOS_VERSION_13_0,
#elif PLATFORM(MAC)
FirstWithNetworkCache = DYLD_MACOSX_VERSION_10_11,
FirstWithExceptionsForDuplicateCompletionHandlerCalls = DYLD_MACOSX_VERSION_10_13,
Modified: branches/safari-608-branch/Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp (249996 => 249997)
--- branches/safari-608-branch/Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp 2019-09-17 22:29:38 UTC (rev 249996)
+++ branches/safari-608-branch/Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp 2019-09-17 22:29:41 UTC (rev 249997)
@@ -33,8 +33,10 @@
#include "RemoteScrollingCoordinator.h"
#include "RemoteScrollingCoordinatorMessages.h"
#include "RemoteScrollingCoordinatorTransaction.h"
+#include "VersionChecks.h"
#include "WebPageProxy.h"
#include "WebProcessProxy.h"
+#include <WebCore/RuntimeApplicationChecks.h>
#include <WebCore/ScrollingStateFrameScrollingNode.h>
#include <WebCore/ScrollingStateOverflowScrollingNode.h>
#include <WebCore/ScrollingStatePositionedNode.h>
@@ -247,6 +249,11 @@
if (!rootNode)
return false;
+#if PLATFORM(IOS_FAMILY)
+ if (WebCore::IOSApplication::isEventbrite() && !linkedOnOrAfter(WebKit::SDKVersion::FirstThatSupportsOverflowHiddenOnMainFrame))
+ return true;
+#endif
+
return rootNode->canHaveScrollbars() || rootNode->visualViewportIsSmallerThanLayoutViewport();
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes