-
Notifications
You must be signed in to change notification settings - Fork 920
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use EvalJS without
EXECUTE_SCRIPT_USE_MANUAL_REPLY
(#18754)
This PR changes the use of EvalJs in a similar fashion done upstream, removing on the uses of `content::EXECUTE_SCRIPT_USE_MANUAL_REPLY`, and modifying the scripts used in tests to return values directly, rather than relying on `domAutomationController` to transmit back results, which can be finicky. With the new approach, values are returned through promises, or directly as a return value.
- Loading branch information
1 parent
8fd55f4
commit fc30f80
Showing
24 changed files
with
530 additions
and
677 deletions.
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
Oops, something went wrong.