Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't call getAvailableInputTypes from topFrame #411

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

GioSensation
Copy link
Member

Reviewer: @shakyShane
Asana: https://app.asana.com/0/0/1205907543853472/f

Description

Short-circuits getAvailableInputTypes in the topFrame to avoid calling the native app unnecessarily. That data is only needed for page scanning which we don't do in that context. Another instance where that architectural decision back then creates unintended problems 😔.

Steps to test

Everything should just work as usual in all autofill scenarios. Tom is testing specifically the Bitwarden integration.

@GioSensation GioSensation self-assigned this Nov 9, 2023
@GioSensation GioSensation marked this pull request as ready for review November 9, 2023 12:31
@GioSensation GioSensation merged commit 611e149 into main Nov 9, 2023
1 check passed
@GioSensation GioSensation deleted the ema/decrease-calls-in-topframe branch November 9, 2023 12:31
CDRussell pushed a commit to duckduckgo/Android that referenced this pull request Nov 13, 2023
Task/Issue URL:
https://app.asana.com/0/1205938901087974/1205938901087974
Autofill Release:
https://github.com/duckduckgo/duckduckgo-autofill/releases/tag/10.0.0


## Description
Updates Autofill to version
[10.0.0](https://github.com/duckduckgo/duckduckgo-autofill/releases/tag/10.0.0).

### Autofill 10.0.0 release notes
## What's Changed
* Don't call getAvailableInputTypes from topFrame by @GioSensation in
duckduckgo/duckduckgo-autofill#411
* Super small fix by @GioSensation in
duckduckgo/duckduckgo-autofill#412
* Send getRuntimeConfiguration to native on macOS by @GioSensation in
duckduckgo/duckduckgo-autofill#379


**Full Changelog**:
duckduckgo/duckduckgo-autofill@9.1.0...10.0.0

## Steps to test
This release has been tested during autofill development. For smoke test
steps see [this
task](https://app.asana.com/0/1198964220583541/1200583647142330/f).

Co-authored-by: GioSensation <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants