Commit Graph

52 Commits

Author SHA1 Message Date
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
Emma Malysz
c08b64687e Bug 1723583: add tab dialog box to screenshots component r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D120745
2021-08-05 15:10:34 +00:00
Kajal Sah
2b548ff121 Bug 1719492 - Migrates screenshot icons into the browser/component/screenshots directory. r=emalysz
Depends on D118573

Differential Revision: https://phabricator.services.mozilla.com/D119540
2021-07-23 18:25:51 +00:00
Emma Malysz
2a4f828aa1 Bug 1721215, lazily load screenshots subscript r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D120642
2021-07-22 17:10:42 +00:00
Butkovits Atila
a0808e43c0 Backed out changeset 7d53ab517f06 (bug 1719492) for causing bc failures at browser_all_files_referenced.js 2021-07-22 01:34:09 +03:00
Kajal Sah
6d2388027a Bug 1719492 - Migrates screenshot icons into the browser/component/screenshots directory. r=emalysz
Depends on D118573

Differential Revision: https://phabricator.services.mozilla.com/D119540
2021-07-21 19:09:17 +00:00
Brindusan Cristian
61e754f1f6 Backed out changeset b12a0c04a68b (bug 1719492) for causing bc failures in browser_all_files_referenced.js.
CLOSED TREE
2021-07-20 19:16:56 +03:00
Kajal Sah
9021b0a8a5 Bug 1719492 - Migrates screenshot icons into the browser/component/screenshots directory. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D119540
2021-07-20 14:49:00 +00:00
Kajal Sah
831fa7de88 Bug 1718713 - Creates dummy custom element in new screenshot. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D119209
2021-07-19 16:47:34 +00:00
Kajal Sah
8080ebf66e Bug 1717486 Creates browser/components/screenshots directory.r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D118573
2021-07-19 16:47:33 +00:00
Sandor Molnar
4373501a35 Backed out 2 changesets (bug 1717486, bug 1718713) for causng eslint failures. CLOSED TREE
Backed out changeset 57c50b132961 (bug 1718713)
Backed out changeset 00b064dbf950 (bug 1717486)
2021-07-15 22:07:54 +03:00
Kajal Sah
758f060369 Bug 1718713 - Creates dummy custom element in new screenshot. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D119209
2021-07-15 18:40:43 +00:00
Kajal Sah
462be9848f Bug 1717486 Creates browser/components/screenshots directory.r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D118573
2021-07-15 18:40:43 +00:00
Butkovits Atila
604e353f14 Backed out changeset 4731ed823f03 (bug 1717486) for causing mochitest failures at browser_all_files_referenced.js. CLOSED TREE 2021-07-07 04:22:27 +03:00
Kajal Sah
452999c670 Bug 1717486 Creates browser/components/screenshots directory.r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D118573
2021-07-06 22:45:56 +00:00