Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Unable to log into chase.com on iPad when DeviceMotionEvent API is di…
…sabled https://bugs.webkit.org/show_bug.cgi?id=195101 <rdar://problem/48423023> Reviewed by Geoffrey Garen. Add site-specific quirk for chase.com on iOS where we fire a dummy DeviceMotionEvent if the page tries to register a "devicemotion" event listener and fails because the API is disabled. This is needed to unblock the site and proceed with the login flow. Unfortunately, document()->settings().needsSiteSpecificQuirks() is false on iOS so I could not guard the quirk behind this flag. * page/DOMWindow.cpp: (WebCore::DOMWindow::addEventListener): (WebCore::DOMWindow::failedToRegisterDeviceMotionEventListener): * page/DOMWindow.h: Canonical link: https://commits.webkit.org/209454@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
3 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters