-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mobile listeners and other improvements (#177)
* Trim whitespace from labels and discard long ones Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Improve matchers and selectors Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Improve statistics with real false positives Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Improve tests to support false positive stats Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Use proper userPreferences in Android test mocks Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Use platform.name for device detection Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Move onPointerDown from Apple to InterfacePrototyp Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Move the event handler and options from Overlay to UIController Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Add capture to the keypress event listener Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Improve selector Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Improve matching for German Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Extract buttonMatchesFormType to utils Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Improve form submission and focus detection Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Submission detection now tries to read buttons outside the form Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Delay autofill startup until document is visible Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Pass onPointerDown to the NativeUIController Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Commit compiled files Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * Add Android listeners and tests Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com> * remove androidContentScopeReplacements * android (current) doesn't support `platform.name` yet, so fallback to UA check Co-authored-by: Shane Osbourne <shane.osbourne8@gmail.com>
- Loading branch information
1 parent
81d1994
commit 403a731
Showing
23 changed files
with
893 additions
and
343 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width"> | ||
<title>Login form</title> | ||
<link rel="stylesheet" href="./style.css" /> | ||
</head> | ||
|
||
<body> | ||
<p><a href="../index.html">[Home]</a></p> | ||
|
||
<p id="demo"></p> | ||
|
||
<div class="dialog"> | ||
<div id="login-form"> | ||
<label for="email">Email</label> | ||
<input id="email" type="email"> | ||
<label for="password">Password</label> | ||
<input id="password" type="password"> | ||
</div> | ||
</div> | ||
<div class="fixed"> | ||
<div role="button" class="button">Log in</div> | ||
<a href="#" role="button">Sign up</a> | ||
</div> | ||
</body> | ||
|
||
</html> |
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
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
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
Oops, something went wrong.