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

Move the _isOffscreenCanvasSupported property to the base Annotation class #15699

Conversation

Snuffleupagus
Copy link
Collaborator

Having just played around with adding FreeText-annotations and then trying to print, there were FreeTextAnnotation: OffscreenCanvas is not supported, annotation may not render correctly. messages printed in the console.
The reason for this is that FreeTextAnnotation inherits from MarkupAnnotation, however only WidgetAnnotation actually defines the _isOffscreenCanvasSupported property.

…on` class

Having just played around with adding FreeText-annotations and then trying to print, there were `FreeTextAnnotation: OffscreenCanvas is not supported, annotation may not render correctly.` messages printed in the console.
The reason for this is that `FreeTextAnnotation` inherits from `MarkupAnnotation`, however only `WidgetAnnotation` actually defines the `_isOffscreenCanvasSupported` property.
@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

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/19ad16e0f3bfcb2/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/c29e64befc30132/output.txt

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.

Arf...

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/19ad16e0f3bfcb2/output.txt

Total script time: 26.03 mins

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

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

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/c29e64befc30132/output.txt

Total script time: 32.86 mins

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

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

@Snuffleupagus Snuffleupagus merged commit c7d6ab2 into mozilla:master Nov 15, 2022
@Snuffleupagus
Copy link
Collaborator Author

This clearly fixes the relevant annotation-tests, so that's good :-)

I'm guessing that all of the movement in Firefox on the Windows bot is caused by a browser update (to version 109), while I've checked a few cases without finding any "real" regressions there's so much to check so I'm just assuming that everything is fine.

/botio makeref

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/9d0849e981320b1/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_makeref from @Snuffleupagus received. Current queue size: 1

Live output at: http://54.193.163.58:8877/b96c26f99c56003/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/9d0849e981320b1/output.txt

Total script time: 21.56 mins

  • Lint: Passed
  • Make references: Passed
  • Check references: Passed

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/b96c26f99c56003/output.txt

Total script time: 26.36 mins

  • Lint: Passed
  • Make references: Passed
  • Check references: Passed

@Snuffleupagus Snuffleupagus deleted the isOffscreenCanvasSupported-Annotation branch November 15, 2022 17:06
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