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

Simplify the fallback-logic in the default viewer #14624

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

After bug 1705327 the ChromeActions.fallback-method is now just a stub[1], since the fallback bar was removed.
Hence there's no good reason, as far as I can tell, to keep this code in the viewer itself when it's completely unused.


[1] See https://searchfox.org/mozilla-central/rev/292d17c13daa61016fd082e2337297091d53a015/toolkit/components/pdfjs/content/PdfStreamConverter.jsm#575-581

After [bug 1705327](https://bugzilla.mozilla.org/show_bug.cgi?id=1705327) the `ChromeActions.fallback`-method is now just a stub[1], since the fallback bar was removed.
Hence there's no good reason, as far as I can tell, to keep this code in the viewer itself when it's completely unused.

---
[1] See https://searchfox.org/mozilla-central/rev/292d17c13daa61016fd082e2337297091d53a015/toolkit/components/pdfjs/content/PdfStreamConverter.jsm#575-581
@Snuffleupagus
Copy link
Collaborator Author

/botio integrationtest

@pdfjsbot
Copy link

pdfjsbot commented Mar 2, 2022

From: Bot.io (Windows)


Received

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

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

@pdfjsbot
Copy link

pdfjsbot commented Mar 2, 2022

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/d57a83d15d562a8/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 2, 2022

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/d57a83d15d562a8/output.txt

Total script time: 3.95 mins

  • Integration Tests: FAILED

@pdfjsbot
Copy link

pdfjsbot commented Mar 2, 2022

From: Bot.io (Windows)


Success

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

Total script time: 6.84 mins

  • Integration Tests: Passed

@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

pdfjsbot commented Mar 2, 2022

From: Bot.io (Linux m4)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://54.241.84.105:8877/309783a9aa937d8/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 2, 2022

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/309783a9aa937d8/output.txt

Total script time: 2.47 mins

Published

@timvandermeij timvandermeij merged commit 234aa9a into mozilla:master Mar 2, 2022
@timvandermeij
Copy link
Contributor

Given the upstream patch I also don't really see a reason to keep this around; thanks!

@Snuffleupagus Snuffleupagus deleted the viewer-fallback-cleanup branch March 3, 2022 09:50
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.

None yet

3 participants