Title: [293641] trunk/Source/WebCore
- Revision
- 293641
- Author
- [email protected]
- Date
- 2022-04-29 20:37:19 -0700 (Fri, 29 Apr 2022)
Log Message
The isYahooMail quirk is specific to PLATFORM(IOS_FAMILY)
https://bugs.webkit.org/show_bug.cgi?id=239914
Reviewed by Simon Fraser.
The isYahooMail check is incorrectly guarded by ENABLE(PUBLIC_SUFFIX_LIST) when the only
using this function is guarded by ENABLE(IOS_TOUCH_EVENTS) and PLATFORM(IOS_FAMILY). Use
PLATFORM(IOS_FAMILY) since ENABLE(IOS_TOUCH_EVENTS) implies that anyways.
Fixes an unused function warning for other ports.
* page/Quirks.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (293640 => 293641)
--- trunk/Source/WebCore/ChangeLog 2022-04-30 01:37:01 UTC (rev 293640)
+++ trunk/Source/WebCore/ChangeLog 2022-04-30 03:37:19 UTC (rev 293641)
@@ -1,3 +1,18 @@
+2022-04-29 Don Olmstead <[email protected]>
+
+ The isYahooMail quirk is specific to PLATFORM(IOS_FAMILY)
+ https://bugs.webkit.org/show_bug.cgi?id=239914
+
+ Reviewed by Simon Fraser.
+
+ The isYahooMail check is incorrectly guarded by ENABLE(PUBLIC_SUFFIX_LIST) when the only
+ using this function is guarded by ENABLE(IOS_TOUCH_EVENTS) and PLATFORM(IOS_FAMILY). Use
+ PLATFORM(IOS_FAMILY) since ENABLE(IOS_TOUCH_EVENTS) implies that anyways.
+
+ Fixes an unused function warning for other ports.
+
+ * page/Quirks.cpp:
+
2022-04-29 Wenson Hsieh <[email protected]>
[Mail compose] Images with data URLs should be pasted or dropped as attachments
Modified: trunk/Source/WebCore/page/Quirks.cpp (293640 => 293641)
--- trunk/Source/WebCore/page/Quirks.cpp 2022-04-30 01:37:01 UTC (rev 293640)
+++ trunk/Source/WebCore/page/Quirks.cpp 2022-04-30 03:37:19 UTC (rev 293641)
@@ -77,7 +77,7 @@
return loader->allowedAutoplayQuirks();
}
-#if ENABLE(PUBLIC_SUFFIX_LIST)
+#if PLATFORM(IOS_FAMILY)
static inline bool isYahooMail(Document& document)
{
auto host = document.topDocument().url().host();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes