Title: [248560] branches/safari-608-branch/Source/WebKit
- Revision
- 248560
- Author
- [email protected]
- Date
- 2019-08-12 16:41:52 -0700 (Mon, 12 Aug 2019)
Log Message
Cherry-pick r248129. rdar://problem/53836595
REGRESSION: HSBC Personal Banking download/print dialog is usually positioned off screen on iPad
https://bugs.webkit.org/show_bug.cgi?id=200356
<rdar://problem/51885199>
Reviewed by Beth Dakin.
* UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::desktopClassBrowsingRecommendedForRequest):
Add HSBC domains to the list of sites that recommend mobile mode by default.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248129 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-608-branch/Source/WebKit/ChangeLog (248559 => 248560)
--- branches/safari-608-branch/Source/WebKit/ChangeLog 2019-08-12 23:41:49 UTC (rev 248559)
+++ branches/safari-608-branch/Source/WebKit/ChangeLog 2019-08-12 23:41:52 UTC (rev 248560)
@@ -1,5 +1,34 @@
2019-08-12 Alan Coon <[email protected]>
+ Cherry-pick r248129. rdar://problem/53836595
+
+ REGRESSION: HSBC Personal Banking download/print dialog is usually positioned off screen on iPad
+ https://bugs.webkit.org/show_bug.cgi?id=200356
+ <rdar://problem/51885199>
+
+ Reviewed by Beth Dakin.
+
+ * UIProcess/ios/WebPageProxyIOS.mm:
+ (WebKit::desktopClassBrowsingRecommendedForRequest):
+ Add HSBC domains to the list of sites that recommend mobile mode by default.
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248129 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2019-08-01 Tim Horton <[email protected]>
+
+ REGRESSION: HSBC Personal Banking download/print dialog is usually positioned off screen on iPad
+ https://bugs.webkit.org/show_bug.cgi?id=200356
+ <rdar://problem/51885199>
+
+ Reviewed by Beth Dakin.
+
+ * UIProcess/ios/WebPageProxyIOS.mm:
+ (WebKit::desktopClassBrowsingRecommendedForRequest):
+ Add HSBC domains to the list of sites that recommend mobile mode by default.
+
+2019-08-12 Alan Coon <[email protected]>
+
Cherry-pick r248104. rdar://problem/53836566
UserMediaPermissionRequestManagerProxy should not use audio+video denied requests to deny audio-only or video-only requests
Modified: branches/safari-608-branch/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm (248559 => 248560)
--- branches/safari-608-branch/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm 2019-08-12 23:41:49 UTC (rev 248559)
+++ branches/safari-608-branch/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm 2019-08-12 23:41:52 UTC (rev 248560)
@@ -1314,6 +1314,31 @@
if (equalLettersIgnoringASCIICase(host, "trello.com") || host.endsWithIgnoringASCIICase(".trello.com"))
return false;
+ if (host.containsIgnoringASCIICase("hsbc.")) {
+ if (equalLettersIgnoringASCIICase(host, "hsbc.com.au") || host.endsWithIgnoringASCIICase(".hsbc.com.au"))
+ return false;
+ if (equalLettersIgnoringASCIICase(host, "hsbc.com.eg") || host.endsWithIgnoringASCIICase(".hsbc.com.eg"))
+ return false;
+ if (equalLettersIgnoringASCIICase(host, "hsbc.lk") || host.endsWithIgnoringASCIICase(".hsbc.lk"))
+ return false;
+ if (equalLettersIgnoringASCIICase(host, "hsbc.co.uk") || host.endsWithIgnoringASCIICase(".hsbc.co.uk"))
+ return false;
+ if (equalLettersIgnoringASCIICase(host, "hsbc.com.hk") || host.endsWithIgnoringASCIICase(".hsbc.com.hk"))
+ return false;
+ if (equalLettersIgnoringASCIICase(host, "hsbc.com.mx") || host.endsWithIgnoringASCIICase(".hsbc.com.mx"))
+ return false;
+ if (equalLettersIgnoringASCIICase(host, "hsbc.ca") || host.endsWithIgnoringASCIICase(".hsbc.ca"))
+ return false;
+ if (equalLettersIgnoringASCIICase(host, "hsbc.com.ar") || host.endsWithIgnoringASCIICase(".hsbc.com.ar"))
+ return false;
+ if (equalLettersIgnoringASCIICase(host, "hsbc.com.ph") || host.endsWithIgnoringASCIICase(".hsbc.com.ph"))
+ return false;
+ if (equalLettersIgnoringASCIICase(host, "hsbc.com") || host.endsWithIgnoringASCIICase(".hsbc.com"))
+ return false;
+ if (equalLettersIgnoringASCIICase(host, "hsbc.com.cn") || host.endsWithIgnoringASCIICase(".hsbc.com.cn"))
+ return false;
+ }
+
return true;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes