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

HistoryHandler: fix title in history entry #407

Merged
merged 1 commit into from
Aug 16, 2024
Merged

Conversation

jiripudil
Copy link
Member

closes #406

- Safari still relies on the History API's `title` parameter (should be fixed in 18).
- Other browsers populate the current history entry only when the new one is being pushed, at which point SnippetHandler has already updated the title.
@jiripudil jiripudil self-assigned this Aug 10, 2024
Copy link

codecov bot commented Aug 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.71%. Comparing base (e9fbdb0) to head (47ecca6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #407      +/-   ##
==========================================
+ Coverage   94.63%   94.71%   +0.07%     
==========================================
  Files          11       11              
  Lines        1286     1305      +19     
  Branches      177      177              
==========================================
+ Hits         1217     1236      +19     
  Misses         67       67              
  Partials        2        2              

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

@jiripudil jiripudil merged commit 201ecf4 into main Aug 16, 2024
3 checks passed
@jiripudil jiripudil deleted the history-entry-title branch August 16, 2024 08:04
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.

Incorrect history entry in browser history when title is a snippet
2 participants