Commit Graph

66 Commits

Author SHA1 Message Date
Mark Banner
b61a6a6502 Bug 1826063 - Automatic fixes for enabling Prettier on production xhtml and html files. r=mossop,webdriver-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,fxview-reviewers,sgalich,nalexander,devtools-reviewers,sclements,denschub,robwu,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177938
2023-05-20 12:26:56 +00:00
Sam Foster
c3066d257e Bug 1832171 - Link the packaged platform-specific common stylesheets in Screenshots. r=niklas,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D177569
2023-05-10 15:55:46 +00:00
Niklas Baumgardner
9bb496859e Bug 1805984 - Update save visible and save full page screenshot buttons. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D176081
2023-05-03 17:53:15 +00:00
Niklas Baumgardner
f0190facaa Bug 1824430 - Update screenshots buttons styling. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D173708
2023-03-30 15:30:21 +00:00
Niklas Baumgardner
b418549f7e Bug 1812631 - Use shared icons for screenshots buttons. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D172043
2023-03-30 15:30:21 +00:00
Iulian Moraru
7237840464 Backed out 2 changesets (bug 1824430, bug 1812631) for causing multiple mochitest failures. CLOSED TREE
Backed out changeset 500e6e1d7092 (bug 1824430)
Backed out changeset 6d0d5de3be6e (bug 1812631)
2023-03-30 04:44:53 +03:00
Niklas Baumgardner
5ea1b4a087 Bug 1824430 - Update screenshots buttons styling. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D173708
2023-03-30 00:36:32 +00:00
Niklas Baumgardner
28fe1e62b1 Bug 1812631 - Use shared icons for screenshots buttons. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D172043
2023-03-30 00:36:31 +00:00
Niklas Baumgardner
8d87e40736 Bug 1801019 - Add telemetry for screenshots component. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D164948
2023-02-25 17:26:34 +00:00
Marian-Vasile Laza
ac8ed92c6a Backed out changeset d853ddfd853e (bug 1801019) for bc failures on browser_screenshots_telemetry_tests.js. CLOSED TREE 2023-02-23 21:11:16 +02:00
Niklas Baumgardner
4a2f7b7309 Bug 1801019 - Add telemetry for screenshots component. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D164948
2023-02-23 17:37:01 +00:00
Butkovits Atila
0cf8d92417 Backed out changeset aaf82d1483ad (bug 1801019) for causing failures at browser_screenshots_telemetry_tests.js. CLOSED TREE 2023-02-21 23:04:05 +02:00
Niklas Baumgardner
3b1f991f19 Bug 1801019 - Add telemetry for screenshots component. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D164948
2023-02-21 19:59:09 +00:00
Niklas Baumgardner
ad90b95338 Bug 1785293 - Downloading screenshot respects 'Always ask you where to save files'. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D158678
2022-12-06 00:06:20 +00:00
Stanca Serban
7d855ec985 Backed out changeset b080b41aecf4 (bug 1785293) for causing bc failures on browser_screenshots_test_escape.js. CLOSED TREE 2022-12-02 16:39:01 +02:00
Niklas Baumgardner
47288cb256 Bug 1785293 - Downloading screenshot respects 'Always ask you where to save files'. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D158678
2022-12-02 13:45:57 +00:00
Marian-Vasile Laza
56aa734c69 Backed out changeset 1fdf3fc76d06 (bug 1785293) for causing bc failures on browser_screenshots_drag_test.js. CLOSED TREE 2022-11-30 22:53:47 +02:00
Niklas Baumgardner
0dab83bc6a Bug 1785293 - Downloading screenshot respects 'Always ask you where to save files'. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D158678
2022-11-30 15:00:33 +00:00
Cieara Meador
a1f865ad77 Bug 1794142 - Screenshots module buttom HCM r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D162044
2022-11-17 22:50:18 +00:00
Cristian Tuns
640cc43739 Backed out changeset 57d19e70e34c (bug 1794142) for causing mochitest failures in browser_parsable_css.js CLOSED TREE 2022-11-16 16:11:06 -05:00
Cieara Meador
baf02dc8ab Bug 1794142 - Screenshots module buttom HCM r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D162044
2022-11-16 19:31:49 +00:00
Marian-Vasile Laza
6b363505f3 Backed out changeset 7c0eb6e89712 (bug 1785293) for causing bc failures on browser_screenshots_test_downloads.js. CLOSED TREE 2022-11-11 02:36:29 +02:00
Niklas Baumgardner
a9c238827d Bug 1785293 - Downloading screenshot respects 'Always ask you where to save files'. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D158678
2022-11-10 22:21:11 +00:00
Mark Banner
19c189e131 Bug 1798212 - Convert consumers of downloads code to ES modules. r=mak,geckoview-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,sgalich,mconley,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D161013
2022-11-07 17:56:10 +00:00
Mark Banner
a49b8ef78f Bug 1792365 - Convert toolkit/modules consumers to use ES module imports directly. r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,extension-reviewers,preferences-reviewers,desktop-theme-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,robwu,Gijs,sgalich,bytesized,AlexandruIonescu,dao,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D158094
2022-09-29 06:52:34 +00:00
Tooru Fujisawa
328d63ce7f 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
f009ba2983 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
bf0a8b781b 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
48c568867c 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
Niklas Baumgardner
807796c1a3 Bug 1741740 - Add draggable selection ui for screenshots component. r=sfoster,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D138494
2022-05-06 15:45:52 +00:00
Niklas Baumgardner
18b1b35da5 Bug 1751060 - Add fallback color and removed st2 class for screenshots SVGs. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D136417
2022-01-20 19:52:38 +00:00
Alexandru Michis
f0b8e5859b Backed out changeset 338f8b736b41 (bug 1747429) as requested by sfoster. 2022-01-20 20:58:34 +02:00
Sam Foster
fbe65bb476 Bug 1747429 - Replace preprocessor urlbar* variables with CSS vars. r=dao
* Define urlbarMarginInline and urlbarSearchButtonWidth as CSS rather than preprocessor variables
* Replace the urlbarViewPadding, urlbarViewFaviconWidth and urlbarViewIconMarginEnd preprocessor variables with CSS vars.
* Remove %ifdefs around the license comment in these 2 files
* Update ambiguous/out-of-date comment in the skeleton UI code

Differential Revision: https://phabricator.services.mozilla.com/D135962
2022-01-20 00:48:42 +00:00
Niklas Baumgardner
2746a8255d Bug 1745045 - Clicking child of screenshots preview button behaves correctly. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D133276
2021-12-15 19:54:16 +00:00
Niklas Baumgardner
a8acab196d Bug 1740029 - Add retry button for screenshots ui. r=sfoster,fluent-reviewers,Gijs,jaws
Differential Revision: https://phabricator.services.mozilla.com/D131381
2021-12-07 16:57:53 +00:00
Niklas Baumgardner
f6c3135c0e Bug 1741987 - screenshots.html titles to Fluent. r=Gijs,fluent-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D131637
2021-11-22 14:47:14 +00:00
Sam Foster
1c5fd14c17 Bug 1736429 - Set up jswindowactors for screenshots and pass dimensions and scroll offsets from the child. r=mconley,sfoster
* Add jswindowactors for the Screenshots component, to facilitate communication between the UI (lives in the parent) and the content document.
* Fetch content document dimensions/offsets with e.g: `ScreenshotsUtils.fetchContentBounds(gBrowser.selectedBrowser)`.

Differential Revision: https://phabricator.services.mozilla.com/D129326
2021-11-19 15:25:19 +00:00
Niklas Baumgardner
256d347054 Bug 1739209 - Border color to follow theme in svg for screenshots buttons. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D130479
2021-11-11 19:50:59 +00:00
Niklas Baumgardner
f67d60c4af Bug 1735614 - Building initial save visible / save full page UI in the tab modal. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D128516
2021-11-04 17:57:29 +00:00
Butkovits Atila
b349774008 Backed out changeset 1884a0785032 (bug 1735614) for causing failures at browser_all_files_referenced.js. CLOSED TREE 2021-11-03 22:50:51 +02:00
Niklas Baumgardner
6bccbd01d6 Bug 1735614 - Building initial save visible / save full page UI in the tab modal. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D128516
2021-11-03 19:29:17 +00:00
Niklas Baumgardner
0a2de222a9 Bug 1734910 - Toggle screenshots UI for screenshots component. r=sfoster
This patch removes the disabled state from the screenshots button when the screenshots ui is activated. The button now works as a toggle to activate and deactivate the screenshots ui.
The screenshots button is still disabled on about pages.
For this patch we only need to check if there is an open dialog box for the screenshots ui and if it is open then we close the dialog box, otherwise open a new one.

Differential Revision: https://phabricator.services.mozilla.com/D128410
2021-10-21 18:06:54 +00:00
Niklas Baumgardner
7e91df02a3 Bug 1733639 - Use toBlob instead of toDataURL. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D127303
2021-10-14 15:15:58 +00:00
Niklas Baumgardner
e49d28c064 Bug 1725433 - Replace placeholder image with a screenshot of the current viewport in new screenshots UI. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D126292
2021-09-21 22:52:29 +00:00
Kajal Sah
b8b3c1e42f Bug 1725432 - Disables toolbar button when new screenshots UI is showing. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D122965
2021-08-24 17:49:28 +00:00
Kajal Sah
5a2a428efa Bug 1723800 - Adds button functionality to screenshot component's markup. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D122026
2021-08-11 18:00:56 +00:00
Kajal Sah
febad3b2f4 Bug 1722449 - Adds markup to the tab dialog box for screenshot component. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D120931
2021-08-05 17:43:00 +00:00
Emma Malysz
aca4408495 Bug 1723583: add tab dialog box to screenshots component r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D120745
2021-08-05 16:50:03 +00:00
Cosmin Sabou
49b806edcc Backed out 2 changesets (bug 1723583, bug 1722449) for failures on browser_all_files_referenced.js. CLOSED TREE
Backed out changeset 8eb9e75580b6 (bug 1722449)
Backed out changeset 6819370bba6d (bug 1723583)
2021-08-05 19:02:13 +03:00
Kajal Sah
f211b01fda Bug 1722449 - Adds markup to the tab dialog box for screenshot component. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D120931
2021-08-05 15:10:34 +00:00