Bug 219278

Summary: [WPE][GTK] Use Internet Explorer quirk for Google Docs and Google Drive
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: Michael Catanzaro <mcatanzaro>
Status: RESOLVED FIXED    
Severity: Normal CC: 077janesmith, bugs-noreply, cgarcia, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
See Also: https://bugs.webkit.org/show_bug.cgi?id=221845
https://bugs.webkit.org/show_bug.cgi?id=142074
Attachments:
Description Flags
Patch none

Description Michael Catanzaro 2020-11-24 11:58:42 PST
Since r266584, we've suffered from an annoying unsupported browser warning when using Google Docs. We don't have many options to avoid it. I'm afraid that Firefox or Chrome quirks are too risky, since these seem to tempt Google into using web platform features that WebKit does not support. The safest quirk is the macOS platform quirk, but that doesn't work well here because it breaks various keyboard shortcuts like Ctrl+A and Ctrl+Z. So Internet Explorer quirk is really the last card we have left.

I think this is the safest Google quirk we've ever had, in that it's pretty unlikely that Google will try to send Internet Explorer anything that doesn't work in WebKit. However, it will break eventually, whenever Google decides that Internet Explorer is no longer supported. I guess that date is probably at least five years away, so we can only hope that Google drops this anticompetitive nonsense before then.
Comment 1 Michael Catanzaro 2020-11-24 12:08:37 PST
Created attachment 414846 [details]
Patch
Comment 2 Carlos Garcia Campos 2020-11-25 00:16:19 PST
Comment on attachment 414846 [details]
Patch

This is weird (and sad), but if it works...
Comment 4 EWS 2020-11-26 16:37:18 PST
Committed r270168: <https://trac.webkit.org/changeset/270168>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 414846 [details].