Skip to content

Conversation

@dbajpeyi
Copy link
Collaborator

@dbajpeyi dbajpeyi commented Oct 2, 2025

Reviewer: @GioSensation
Asana:

Description

On https://www.alibris.com/account the import dialog can show up in an identity field if the form is login, and has a identity field (should be a rare case).
Screenshot 2025-10-03 at 12 27 22

  • Check that inputtype that is sent in top context data includes credentials,
  • Add tests for this use case.

Steps to test

@github-actions
Copy link

github-actions bot commented Oct 2, 2025

bundle-size-check
node scripts/bundle-size-check.js

Bundle size change (main vs. current)

autofill.js: 757.50 KB -> 757.50 KB
Change: +1.00 B (+0.00%)


autofill-debug.js: 907.08 KB -> 907.08 KB
Change: +1.00 B (+0.00%)

@dbajpeyi dbajpeyi force-pushed the dbajpeyi/fix/credential-import-on-identities branch 5 times, most recently from 4ce5d84 to 0d73891 Compare October 3, 2025 10:26
@dbajpeyi dbajpeyi changed the title fix: show credential import on credential inputs only [CredentialsImport] Show credential import on credential inputs only Oct 3, 2025
@dbajpeyi dbajpeyi marked this pull request as ready for review October 3, 2025 10:29
@dbajpeyi dbajpeyi requested a review from GioSensation October 3, 2025 10:29
@dbajpeyi
Copy link
Collaborator Author

dbajpeyi commented Oct 3, 2025

Screenshot 2025-10-03 at 12 32 06

After the fix!


const cipher = new this.globals.Uint8Array([...ciphertext, ...tag]);
/** @ts-expect-error Type mismatch of key with BufferSource, and this code will be removed soon as it's not used */
const decrypted = await this.decrypt(cipher, key, iv);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, there's type mistmatch after the update but this encrypt/decrypt will be removed when getting rid of catalina support anyway! They are not used.

@dbajpeyi dbajpeyi enabled auto-merge (squash) October 3, 2025 10:36
@dbajpeyi dbajpeyi disabled auto-merge October 3, 2025 10:37
@dbajpeyi dbajpeyi force-pushed the dbajpeyi/fix/credential-import-on-identities branch from 83f3f2b to 22d189f Compare October 3, 2025 11:01
@dbajpeyi
Copy link
Collaborator Author

dbajpeyi commented Oct 3, 2025

Sadly this PR breaks all extension tests because of manifest updates expected by the newer chrome versions 🤷 I will have to spend a bit more time here.

Copy link
Member

@GioSensation GioSensation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good!

@dbajpeyi dbajpeyi force-pushed the dbajpeyi/fix/credential-import-on-identities branch from 454ff7d to eb97038 Compare October 29, 2025 08:37
@dbajpeyi
Copy link
Collaborator Author

Been a while since last review, I mainly rebased the PR as extension manifest is now updated in #910 and this PR is unblocked.

@dbajpeyi dbajpeyi merged commit fefddf0 into main Oct 29, 2025
2 checks passed
@dbajpeyi dbajpeyi deleted the dbajpeyi/fix/credential-import-on-identities branch October 29, 2025 08:57
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