Skip to content

fix: focus firefox popup issue - #123

Merged
Vishala230531 merged 14 commits into
krakenjs:mainfrom
Vishala230531:feature/LI-190132
Sep 14, 2026
Merged

Vishala230531 merged 14 commits into
krakenjs:mainfrom
Vishala230531:feature/LI-190132

Conversation

@Vishala230531

@Vishala230531 Vishala230531 commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

When a user initiates the PayPal checkout popup, switches to a different browser tab, and then clicks "Click to Continue" on the original tab, Firefox opens a new empty tab.

[LI-190132]

Steps to Reproduce
Open PayPal checkout popup
Switch to a different browser tab
Return to original tab and click "Click to Continue"
blank tab opens in Firefox

Testing
Local setup:

Clone/build Krakenjs/post-robot repo and symlink it into smartcomponentnodeweb and clientsdknodeweb:

Start both scnw and csnw servers pointing to local.

@Vishala230531
Vishala230531 requested a review from a team as a code owner August 25, 2026 15:42
Comment thread .github/workflows/main.yaml Resolved
Comment thread package.json
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@krakenjs/grumbler-scripts": "^8.0.4",
"babel-plugin-transform-es2015-modules-commonjs": "6.26.2",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this needed for the flow-type change?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Seems like we need this — I tried reverting and pushing, but the npm run build step is failing in CI

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 73.13%. Comparing base (3def815) to head (d72c33a).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/serialize/window.js 66.66% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #123      +/-   ##
==========================================
- Coverage   73.31%   73.13%   -0.19%     
==========================================
  Files          26       26              
  Lines         952      953       +1     
==========================================
- Hits          698      697       -1     
- Misses        254      256       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Vishala230531
Vishala230531 requested a review from jtanya17 August 26, 2026 14:46
Comment thread src/serialize/window.js
}).then(({ isPopup, name }) => {
if (isPopup && name) {
window.open("", name, "noopener");
const win = this.getWindow();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we add a simple test for this so we can get a green lcov report?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added

@Vishala230531
Vishala230531 merged commit b7b6505 into krakenjs:main Sep 14, 2026
1 check passed
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.

4 participants