Commit Graph

172 Commits

Author SHA1 Message Date
Mark Banner
ff212fab8b Bug 1792398 - Enable ESLint rule 'strict' on mjs files as the directive is not necessary for modules. r=arai,pip-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D158115
2022-09-26 16:51:10 +00:00
Brian
b5ffb06e87 Bug 1788776 - Convert screenshots component from JSM to ESM. r=niklas.
Differential Revision: https://phabricator.services.mozilla.com/D157038
2022-09-11 19:08:38 +00:00
Niklas Baumgardner
7909aa40b4 Bug 1748724 - Element selector screenshots component. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D155106
2022-08-31 19:52:09 +00:00
Niklas Baumgardner
b461ae4bf4 Bug 1786558 - Parse screenshots markup from safe string. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D155402
2022-08-31 18:13:52 +00:00
Niklas Baumgardner
5c6223e340 Bug 1777596 - Tests for screenshots component. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D154550
2022-08-19 13:20:31 +00:00
Niklas Baumgardner
8686628e19 Bug 1780645 - Screenshots component overlay should be a minimum of the window size. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D152456
2022-07-26 21:31:57 +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
eda08a4a05 Bug 1667455 - Part 6: Stop importing Services.jsm from chrome-priv JS code, non-top-level or multi-line cases. r=kmag,perftest-reviewers,AlexandruIonescu,sparky
Differential Revision: https://phabricator.services.mozilla.com/D150895
2022-07-11 12:41:51 +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
Tooru Fujisawa
b10d0289af 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
Niklas Baumgardner
bc182ae00a Bug 1772181 - Screenshot overlay is now scrollable. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D148071
2022-06-30 21:14:54 +00:00
Tooru Fujisawa
d005fe9005 Bug 1772100 - Part 14: Use plain object for lazy getter in browser/components/screenshots/. r=niklas
Differential Revision: https://phabricator.services.mozilla.com/D148024
2022-06-06 22:46:24 +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
adb1f1b95d Bug 1749074 - Cancel screenshots on page unload. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D135522
2022-02-11 19:30:04 +00:00
Csoregi Natalia
b2eed1d49e Backed out changeset d2074c570a2a (bug 1749074) for causing sanitizer failures during browser_screenshots_test_page_crash.js. CLOSED TREE 2022-02-10 18:02:52 +02:00
Niklas Baumgardner
e7b4514c32 Bug 1749074 - Cancel screenshots on page unload. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D135522
2022-02-10 15:23:44 +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
10436f78e1 Bug 1741736 - Add overlay to Screenshots component implementation. r=sfoster,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D132832
2022-01-14 18:06:11 +00:00
Sandor Molnar
a1932946a8 Backed out changeset fb53fb5009a4 (bug 1741736) for causing browser-chrome failures in browser_parsable_css. CLOSED TREE 2022-01-14 17:32:52 +02:00
Niklas Baumgardner
938f730c7b Bug 1741736 - Add overlay to Screenshots component implementation. r=sfoster,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D132832
2022-01-14 14:36:49 +00:00
Iulian Moraru
a51a43a772 Backed out changeset 843d1e2cee98 (bug 1741736) for causing mochitest failures on browser_all_files_referenced.js. CLOSED TREE 2022-01-13 22:40:36 +02:00
Niklas Baumgardner
9fd86b59dc Bug 1741736 - Add overlay to Screenshots component implementation. r=sfoster,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D132832
2022-01-13 19:04:55 +00:00
Joel Maher
28c2cfbfcd Bug 1743907 - remove remaining webrender references in manifests. r=MasterWayZ
Differential Revision: https://phabricator.services.mozilla.com/D134634
2021-12-24 14:06:25 +00:00
Niklas Baumgardner
0a0c18bc29 Bug 1744331 - Take visible and full page work as expected now. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D132838
2021-12-20 14:57:51 +00:00
Marian-Vasile Laza
d85e93c476 Backed out changeset 0b08092c5fb9 (bug 1744331) for causing bc failures on browser_screenshots_test_full_page.js. CLOSED TREE 2021-12-16 03:33:05 +02:00
Niklas Baumgardner
535d23f6a1 Bug 1743882 - Screenshots component preference observer. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D132740
2021-12-15 19:55:34 +00:00
Niklas Baumgardner
6de5625103 Bug 1744331 - Take visible and full page work as expected now. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D132838
2021-12-15 19:55:07 +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
Iulian Moraru
a0c283f56f Backed out changeset 63ec4612926b (bug 1743882) for causing mochitest failures on browser_preferences_usage.js. CLOSED TREE 2021-12-10 03:37:45 +02:00
Niklas Baumgardner
244fe122c9 Bug 1743882 - Screenshots component preference observer. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D132740
2021-12-09 21:06:37 +00:00
Niklas Baumgardner
20c80629af Bug 1735654 - Tests for screenshots component. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D131691
2021-12-07 16:59:44 +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
Emma Malysz
6aa62ca44e Bug 1725430: disable screenshot shortcut for extension when screenshots.browser.component.enabled is true. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125850
2021-09-28 20:01:35 +00:00
criss
f157e7c832 Backed out changeset ec019c0205a9 (bug 1725430) for causing failures on dbg-toggling-tools.js 2021-09-28 00:42:30 +03:00
Emma Malysz
058eca39a9 Bug 1725430: disable screenshot shortcut for extension when screenshots.browser.component.enabled is true. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125850
2021-09-27 17:30:35 +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
Narcis Beleuzu
64df090f34 Backed out changeset ceaaed353b66 (bug 1725430) for assertion failure on ErrorResult.h . CLOSED TREE 2021-09-22 01:09:22 +03:00
Emma Malysz
b1d78a7427 Bug 1725430: disable screenshot shortcut for extension when screenshots.browser.component.enabled is true. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125850
2021-09-21 20:37:48 +00:00