Commit graph

207 commits

Author SHA1 Message Date
Calixte
e0b32ecd80 Bug 1789883 - Add telemetry to know often users click in the secondary toolbar r=TravisLong,pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D157114
2022-09-12 17:33:27 +00:00
Calixte
850b97d92f Bug 1790394 - Update pdf.js to new version 493bb65005202678c5fa803859dcf70cbb6e37a6 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D157118
2022-09-12 16:13:55 +00:00
Calixte
b1d93fac78 Bug 1790039 - Update pdf.js to new version a274f63d50ebcd25efe4973283ded17fa1428fd4 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D156975
2022-09-09 19:07:34 +00:00
Calixte
43dfbe3e5b Bug 1784400 - Fix intermittent failures in pdf.js editing tests r=pdfjs-reviewers,marco
We were starting the editing session too early which caused some focus issues.
This patch ensures that we're a in correct state before starting some editing actions.

Differential Revision: https://phabricator.services.mozilla.com/D156529
2022-09-07 15:02:24 +00:00
Tom Ritter
ace18b0984 Bug 1788284: Add node 16 to the updatebot docker image and fix pdfjs' npm invocations r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D156113
2022-09-01 13:49:15 +00:00
Calixte
8741ca2d71 Bug 1788003 - Update pdf.js to new version 86370bd5c5945789491c8cc4e8cf40951e6b1cde r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D155955
2022-08-30 11:04:40 +00:00
Calixte
cb94455d93 Bug 1784918 - Update pdf.js to new version 518115fddc6db2c28752b8e9369c79377f521592 r=pdfjs-reviewers,Snuffleupagus
Differential Revision: https://phabricator.services.mozilla.com/D154668
2022-08-15 20:06:50 +00:00
Tom Ritter
65e5af1518 Bug 1783724: Fix nits in PDF.js's update script r=Snuffleupagus
Differential Revision: https://phabricator.services.mozilla.com/D154009
2022-08-15 18:36:09 +00:00
Calixte
ac60b350df Bug 1784537 - Update pdf.js to new version 3cf31a8b17d46434cfc03369b413e2daa2743803 r=pdfjs-reviewers,Snuffleupagus
Differential Revision: https://phabricator.services.mozilla.com/D154551
2022-08-13 11:30:00 +00:00
Calixte
95f5a70c44 Bug 1782254 - Add some telemetry to measure how often users are using the pdf editing feature r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D153480
2022-08-09 17:38:37 +00:00
Csoregi Natalia
d1d0b69871 Backed out changeset 0794c953b2f4 (bug 1782254) for causing failures on browser_pdfjs_editing_telemetry.js. CLOSED TREE 2022-08-09 14:54:06 +03:00
Calixte
4b0f9347b7 Bug 1782254 - Add some telemetry to measure how often users are using the pdf editing feature r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D153480
2022-08-09 09:17:15 +00:00
Calixte
5e975b2a83 Bug 1778714 - Fix the pdf download link in the All Downloads view r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D151431
2022-08-08 18:56:24 +00:00
Butkovits Atila
c37d8bfef7 Backed out changeset 724282da88eb (bug 1778714) for causing failures at browser_library_select_all.js. 2022-08-08 18:14:00 +03:00
Calixte
7cdbde51bb Bug 1778714 - Fix the pdf download link in the All Downloads view r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D151431
2022-08-08 13:47:55 +00:00
Calixte
0836473d3a Bug 1783605 - Update pdf.js to new version 40f9f7e9097e1168e98f1e2987726c5c31693617 r=pdfjs-reviewers,Snuffleupagus
Differential Revision: https://phabricator.services.mozilla.com/D153914
2022-08-08 12:21:05 +00:00
Tom Ritter
b56fdacacf Bug 1778567: Support running the pdfjs update locally r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D151747
2022-08-04 14:09:39 +00:00
Mark Banner
7428be4a86 Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D152736
2022-08-03 11:16:20 +00:00
Calixte
8f722351cf Bug 1779665 - Fix intermittent failure with browser_pdfjs_editing_contextmenu.js r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D152641
2022-07-29 20:47:20 +00:00
Calixte
be45a5d46b Bug 1782014 - Update pdf.js to version b06d1904519d2270a191e44ef1290188ac8dbc46 r=pdfjs-reviewers,Snuffleupagus
Differential Revision: https://phabricator.services.mozilla.com/D153070
2022-07-28 13:01:15 +00:00
Calixte
abf965ffe9 Bug 1780839 - Update pdf.js to version bf000687313b08924186f9f35a604f8cce27bd1d r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D152547
2022-07-22 21:22:24 +00:00
Shane Hughes
d5fb4566c2 Bug 1739348 - Don't open downloads panel after download dialogs. r=NeilDeakin
This is a medium sized patch to legacy download construction. It takes
advantage of the new property added in Bug 1762033 to prevent the
downloads panel from being automatically shown when a download is added
after an interaction with the unknown content type dialog or the file
picker dialog. I chose to not do the same for failed transfers since I
thought it might serve some use, but that might be wrong. I don't know
if there's a way to test the dialog that appears when you download an
executable without going through the same path I adjusted with the
patch. It seems like it's covered but I could be wrong. Also add a test
to cover these changes from the bottom up. Thanks and apologies for my
sloppy C++, though I'm sure I'll learn a lot more from the review 😅

Differential Revision: https://phabricator.services.mozilla.com/D145312
2022-07-18 20:45:41 +00:00
Gijs Kruitbosch
2660d2c8a6 Bug 1768671 - force append '.pdf' for pdf blob downloads displayed inline if it's missing, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D151890
2022-07-18 09:53:31 +00:00
Calixte
54ceb75660 Bug 1779408 - Update pdf.js to version 2.15.259 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D151720
2022-07-13 16:44:18 +00:00
Calixte
086c9a9516 Bug 1779418 - Update try query for pdfjs and updatebot to remove useless tasks r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D151721
2022-07-13 14:58:46 +00:00
Calixte
04b02aad0d Bug 1778068 - Add a test to check that the colors used to render a pdf are the correct ones r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D151380
2022-07-12 15:16:09 +00:00
Cristian Tuns
d0df70c68c Backed out changeset a194660c7ea6 (bug 1778068) for causing mochitest failures in browser_pdfjs_hcm.js CLOSED TREE 2022-07-12 06:06:55 -04:00
Calixte
b980f8e710 Bug 1778068 - Add a test to check that the colors used to render a pdf are the correct ones r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D151380
2022-07-12 09:30:59 +00:00
Tooru Fujisawa
54623364da Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-12 04:21:34 +00:00
Andreea Pavel
7738a75fdd Backed out 11 changesets (Bug 1777486) for failing bc at browser_startup.js on a CLOSED TREE
Backed out changeset b6c4c386f1a6 (Bug 1777486)
Backed out changeset 195cc2de8433 (Bug 1777486)
Backed out changeset 20c746fb1648 (Bug 1777486)
Backed out changeset d5fd8173d62d (Bug 1777486)
Backed out changeset 6d758fab5a3e (Bug 1777486)
Backed out changeset e938b601ba15 (Bug 1777486)
Backed out changeset 0c4ea0b9416b (Bug 1777486)
Backed out changeset 0559c53cc668 (Bug 1777486)
Backed out changeset eea573d3a9f9 (Bug 1777486)
Backed out changeset 9ce3a6496a49 (bug 1777486)
Backed out changeset b0867652fc48 (bug 1777486)
2022-07-11 22:24:40 +03:00
Tooru Fujisawa
8cd6ed7409 Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-11 15:09:13 +00:00
Tooru Fujisawa
bf93d07148 Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Tooru Fujisawa
f3a8c52c53 Bug 1667455 - Part 4: Stop importing Services.jsm from JSM. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,pip-reviewers,twisniewski,devtools-reviewers,m_kato,jdescottes,ochameau,mconley,sfoster,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D150893
2022-07-11 12:41:50 +00:00
Calixte
d0845cb8cf Bug 1778827 - Update pdf.js to version 2.15.244 r=pdfjs-reviewers,Snuffleupagus
Differential Revision: https://phabricator.services.mozilla.com/D151433
2022-07-09 16:26:30 +00:00
Calixte
981db3428b Bug 1777695 - Add some entries in the context menu when editing a PDF r=mconley
It adds the entries Undo, Redo, Cut, Copy, Paste, Delete and Select all,
only when the pdf editing mode is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D151122
2022-07-08 08:27:18 +00:00
Calixte
f340b32330 Bug 1778273 - Update pdf.js to version 2.15.224 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D151106
2022-07-06 10:12:11 +00:00
Calixte
4791c52174 Bug 1777929 - Update an l10n string id after a change r=flod
Differential Revision: https://phabricator.services.mozilla.com/D150941
2022-07-04 09:20:55 +00:00
Updatebot
17a1bcd8de Bug 1777768 - Update PDF.js to 13c01b6d4ababf039fe59ef800ebae38b1de37f5 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D150882
2022-07-02 10:22:47 +00:00
Michelle Goossens
7f247c8d44 Bug 1773830 - Migrate Linux mochitest-browser-chrome from AWS to GCP r=ahal,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D150325
2022-06-28 11:11:42 +00:00
Updatebot
0fbe5544f1 Bug 1776538 - Update PDF.js to cd35b9bfac85c00238cf0fa0f657a780f2a5ead6 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D150311
2022-06-28 09:47:24 +00:00
Neil Deakin
467752474e Bug 1772569, add a preference so that pdf files sent as attachments can be opened either inline or download, and default to downloaded, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D150198
2022-06-27 21:25:37 +00:00
Updatebot
b39b1b78df Bug 1774899 - Update PDF.js to be2dfe45f96fa58a1926f764fd64d2416cecc501 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D149681
2022-06-19 12:07:24 +00:00
Calixte
545bb2486b Bug 1774017 - Update pdf.js to version 1a6ae5f03480d7c655dff7aea3d39d10d05d9197 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D149144
2022-06-13 15:59:45 +00:00
Calixte
9498c86de4 Bug 1773846 - Add an async function to dispatch an event in the pdf.js sandbox r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D148987
2022-06-11 20:12:36 +00:00
Cosmin Sabou
6f043ebd93 Backed out changeset b7ac1dc2e29e (bug 1739348) for causing frequent failures on browser_downloads_panel_opens.js. 2022-06-10 23:49:24 +03:00
Shane Hughes
755d60c20a Bug 1739348 - Don't open downloads panel after download dialogs. r=NeilDeakin
This is a medium sized patch to legacy download construction. It takes
advantage of the new property added in Bug 1762033 to prevent the
downloads panel from being automatically shown when a download is added
after an interaction with the unknown content type dialog or the file
picker dialog. I chose to not do the same for failed transfers since I
thought it might serve some use, but that might be wrong. I don't know
if there's a way to test the dialog that appears when you download an
executable without going through the same path I adjusted with the
patch. It seems like it's covered but I could be wrong. Also add a test
to cover these changes from the bottom up. Thanks and apologies for my
sloppy C++, though I'm sure I'll learn a lot more from the review 😅

Differential Revision: https://phabricator.services.mozilla.com/D145312
2022-06-10 17:31:27 +00:00
Tom Ritter
cb4903e286 Bug 1772877 - Fix pdfjs reviewers r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D148419
2022-06-07 13:34:12 +00:00
Tooru Fujisawa
74507e1850 Bug 1772101 - Part 30: Use plain object for lazy getter in toolkit/components/pdfjs/. r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D147971
2022-06-07 04:31:01 +00:00
Tooru Fujisawa
d2d2093466 Bug 1772101 - Part 29: Use plain object for lazy getter in toolkit/components/pdfjs/content/. r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D147970
2022-06-07 04:31:01 +00:00
Neil Deakin
a49aa34d6d Bug 1761265, don't show the downloads panel when a download was started by user action that they expect will save the file, r=mhowell,necko-reviewers,kershaw
The download panel should still appear when clicking on download links or those with content-disposition: attachment

Differential Revision: https://phabricator.services.mozilla.com/D147875
2022-06-06 22:23:58 +00:00