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 reset temporary XRef-entries during saving (PR 16392 follow-up) #16717

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

@Snuffleupagus Snuffleupagus commented Jul 20, 2023

Please note: I'm not aware of any bugs caused by this, however that might be more luck than anything else.

In PR #16392 the incrementalUpdate function, and all of its various helpers, were made asynchronous. However the call-site in src/core/worker.js wasn't updated, which means that we currently reset temporary XRef-entries while saving is ongoing.

*Please note:* I'm not aware of any bugs caused by this, however that might be more luck than anything else.

In PR 16392 the `incrementalUpdate` function, and all of its various helpers, were made asynchronous. However the call-site in `src/core/worker.js` wasn't updated, which means that we currently reset temporary XRef-entries while saving is ongoing.
@Snuffleupagus Snuffleupagus force-pushed the saveDocument-resetNewTemporaryRef branch from 51fd79c to 88524bf Compare July 20, 2023 13:50
Copy link
Contributor

@calixteman calixteman left a comment

Choose a reason for hiding this comment

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

Good catch ! Thank you.

@Snuffleupagus
Copy link
Collaborator Author

/botio test

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/31a48e8130fb392/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.193.163.58:8877/7a47a906f874bda/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/31a48e8130fb392/output.txt

Total script time: 25.55 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Integration Tests: FAILED
  • Regression tests: FAILED
  different ref/snapshot: 19
  different first/second rendering: 1

Image differences available at: http://54.241.84.105:8877/31a48e8130fb392/reftest-analyzer.html#web=eq.log

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/7a47a906f874bda/output.txt

Total script time: 39.49 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Integration Tests: FAILED
  • Regression tests: FAILED
  different ref/snapshot: 29

Image differences available at: http://54.193.163.58:8877/7a47a906f874bda/reftest-analyzer.html#web=eq.log

@Snuffleupagus Snuffleupagus merged commit 7220b93 into mozilla:master Jul 20, 2023
@Snuffleupagus Snuffleupagus deleted the saveDocument-resetNewTemporaryRef branch July 20, 2023 15:58
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