Bug 1673490 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

STR:
Make sure PDF.js is enabled
Open https://www.irs.gov/pub/irs-pdf/f1040.pdf
Bookmarks Toolbar should be set to "Only on New Tab"
Click the bookmark star
Change the location of the bookmark is changed to Bookmarks Toolbar
Hit Save

ER:
The bookmarks toolbar should be opened and remain open until the tab is changed or the page is navigated away

AR:
The toolbar appears then disappears immediately after

With some debugging I'm seeing that browsing around the pdf.js document generated somewhat random calls to onLocationChange ([chrome://browser/content/tabbrowser.js#6246](https://searchfox.org/mozilla-central/rev/dbced93f1c57942501c23d4633d01ce59d9087a1/browser/base/content/tabbrowser.js#6246)).

@Brendan, do you know why we're getting these events? Is it something we can limit or at least stop from propagating to browser UI?
STR:
Make sure PDF.js is enabled
Open https://www.irs.gov/pub/irs-pdf/f1040.pdf
Bookmarks Toolbar should be set to "Only on New Tab"
Click the bookmark star
Change the location of the bookmark to Bookmarks Toolbar
Hit Save

ER:
The bookmarks toolbar should be opened and remain open until the tab is changed or the page is navigated away

AR:
The toolbar appears then disappears immediately after

With some debugging I'm seeing that browsing around the pdf.js document generated somewhat random calls to onLocationChange ([chrome://browser/content/tabbrowser.js#6246](https://searchfox.org/mozilla-central/rev/dbced93f1c57942501c23d4633d01ce59d9087a1/browser/base/content/tabbrowser.js#6246)).

@Brendan, do you know why we're getting these events? Is it something we can limit or at least stop from propagating to browser UI?

Back to Bug 1673490 Comment 0