Skip to content

Make sure the focus moves on the first page of the added pdf after a merge (bug 2034827)#21223

Open
calixteman wants to merge 1 commit intomozilla:masterfrom
calixteman:bug2034827
Open

Make sure the focus moves on the first page of the added pdf after a merge (bug 2034827)#21223
calixteman wants to merge 1 commit intomozilla:masterfrom
calixteman:bug2034827

Conversation

@calixteman
Copy link
Copy Markdown
Contributor

No description provided.

@calixteman
Copy link
Copy Markdown
Contributor Author

FYI, I didn't manage to have an integration test reproducing the issue.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.90%. Comparing base (e8d3d19) to head (dc7ee03).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #21223      +/-   ##
==========================================
- Coverage   55.94%   55.90%   -0.05%     
==========================================
  Files         219      219              
  Lines       59017    59017              
==========================================
- Hits        33020    32992      -28     
- Misses      25997    26025      +28     
Flag Coverage Δ
fonttest ?
unittest 55.21% <ø> (ø)
unittestcli 55.71% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread web/app.js
this._mergedDocumentNeedsSaving = true;

// The following line is necessary to fix bug 2034827.
// TODO: create an integration test that covers this case.
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.

I'm not entirely clear on why this TODO is here given that this commit already extends the integration tests above to cover this case?

Aside from that, why does clearing the history here change the focus? It might be good to extend that part of the comment a bit, to indicate what the effect of this is in addition to the bug number it fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants