Commit graph

26196 commits

Author SHA1 Message Date
Itiel
8d45186ac0 Bug 1790232 - Use subviewbutton for the Protections popup buttons and cleanup some CSS r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D157045
2022-10-25 19:02:45 +00:00
Kirk Steuber
b743ac7241 Bug 1727820 - Change aboutDialog-appUpdater to accomodate changes to AppUpdater r=bhearsum
In a previous patch in this stack, AppUpdater was changed to remove the checkForUpdates function. This change updates aboutDialog-appUpdater to accomodate this change.

It was probably incorrect for this function to be called previously. Calling into checkForUpdates() is functionally similar to calling into check(), except that checks are bypassed that probably shouldn't be bypassed.

Differential Revision: https://phabricator.services.mozilla.com/D159299
2022-10-25 18:10:20 +00:00
Benjamin VanderSloot
0c1ac2904a Bug 1782088, part 1 - Create draft doorhanger for FedCM account choice, r=pbz,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D158778
2022-10-25 16:31:54 +00:00
Emilio Cobos Álvarez
6b052d0ee9 Bug 1797278 - Don't flex release notes link. r=Gijs
This was introduced so they can wrap when you shrink the window, but
other links don't behave like that so we can probably live without it.

Differential Revision: https://phabricator.services.mozilla.com/D160202
2022-10-25 12:11:18 +00:00
Olli Pettay
cc213b1aad Bug 1644656 - Remove usages of <img> loadend events in page info code, r=mconley
The changes in pageInfo.js is just trying to keep the existing behavior where the event listener
is handling both the successful and failing loads. Based on the code the listener may not be designed to
handle error case, but that is what it does currently.

Depends on D159929

Differential Revision: https://phabricator.services.mozilla.com/D159930
2022-10-25 08:27:01 +00:00
Jonathan Sudiaman
8213dcbd89 Bug 1754772 - Add a button to get Places database stats to about:support r=mak,fluent-reviewers
Incorporates the "Places Database Statistics" table from `chrome://browser/content/places/interactionsViewer.html` into the `about:support` page, under the existing "Places Database" table. The table is hidden by default, and it can be toggled on/off using a button. Table contents will always be part of the "Copy text to clipboard" export, regardless of visibility.

Try Job: https://treeherder.mozilla.org/jobs?revision=923a9df8c477f6e2b1f0a2fee3b0291ddbdd32e3&repo=try

Initial state:
{F4177493}

After clicking "Show Statistics":
{F4177495}

Text export:
{F4177496}

Differential Revision: https://phabricator.services.mozilla.com/D158200
2022-10-25 04:55:04 +00:00
Butkovits Atila
1a4dfaa163 Backed out 4 changesets (bug 1782088)for causing build bustages. CLOSED TREE
Backed out changeset a7423c6d52b7 (bug 1782088)
Backed out changeset 50a3cc77e38b (bug 1782088)
Backed out changeset 7dca17d480bb (bug 1782088)
Backed out changeset f1e6e1226a8c (bug 1782088)
2022-10-25 06:03:22 +03:00
Benjamin VanderSloot
21b507a43c Bug 1782088, part 1 - Create draft doorhanger for FedCM account choice, r=pbz,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D158778
2022-10-25 02:00:26 +00:00
Norisz Fay
720e6a2cb3 Backed out 18 changesets (bug 1727820) for causing mochitest failures on browser_updateAsk.js CLOSED TREE
Backed out changeset 577d5618fcd1 (bug 1727820)
Backed out changeset 9e6a904ec81d (bug 1727820)
Backed out changeset d95a38c6e8b4 (bug 1727820)
Backed out changeset dc9b7d7e97ae (bug 1727820)
Backed out changeset 464b501ae051 (bug 1727820)
Backed out changeset 9729c6dd1aac (bug 1727820)
Backed out changeset 3c67eac7d52e (bug 1727820)
Backed out changeset 7c2a0dfca2d2 (bug 1727820)
Backed out changeset 2021fb0cba9e (bug 1727820)
Backed out changeset 7a02de8e6ca6 (bug 1727820)
Backed out changeset 6e9017360297 (bug 1727820)
Backed out changeset 0bfff694ce96 (bug 1727820)
Backed out changeset 746d1c708507 (bug 1727820)
Backed out changeset 3b14d8d1fb94 (bug 1727820)
Backed out changeset c8a1417f3528 (bug 1727820)
Backed out changeset 69ef434ae92c (bug 1727820)
Backed out changeset ad646b770b07 (bug 1727820)
Backed out changeset 18b9dd91761f (bug 1727820)
2022-10-25 05:31:39 +03:00
Norisz Fay
81c86f9a79 Backed out 3 changesets (bug 1644658, bug 1574487, bug 1644656) for causing mochitest failures on browser_staticPartition_saveAs.js CLOSED TREE
Backed out changeset ccd076f67748 (bug 1574487)
Backed out changeset 2235323f0cf9 (bug 1644656)
Backed out changeset 7fe2c7526246 (bug 1644658)
2022-10-25 02:22:37 +03:00
Kirk Steuber
5bc07ebbc8 Bug 1727820 - Change aboutDialog-appUpdater to accomodate changes to AppUpdater r=bhearsum
In a previous patch in this stack, AppUpdater was changed to remove the checkForUpdates function. This change updates aboutDialog-appUpdater to accomodate this change.

It was probably incorrect for this function to be called previously. Calling into checkForUpdates() is functionally similar to calling into check(), except that checks are bypassed that probably shouldn't be bypassed.

Differential Revision: https://phabricator.services.mozilla.com/D159299
2022-10-24 20:53:23 +00:00
Simon Friedberger
3c5991df13 Bug 1549057 - Rename (Gg)etCSP to (Gg)etCsp - r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D159268
2022-10-24 20:38:11 +00:00
Olli Pettay
721c4db021 Bug 1644656 - Remove usages of <img> loadend events in page info code, r=mconley
The changes in pageInfo.js is just trying to keep the existing behavior where the event listener
is handling both the successful and failing loads. Based on the code the listener may not be designed to
handle error case, but that is what it does currently.

Depends on D159929

Differential Revision: https://phabricator.services.mozilla.com/D159930
2022-10-24 20:33:03 +00:00
Gijs Kruitbosch
ffbec3e406 Bug 1791940 - reduce sandbox pref lower limit in browser_preferences_usage.js to stop intermittents, r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D160041
2022-10-24 19:38:40 +00:00
Emilio Cobos Álvarez
0b8c38ef2f Bug 1797052 - Improve behavior of customize mode in small windows. r=Gijs
There was only a min-height: 0 missing. I also cleaned-up a bit because
flex: 1 is the same as flex: 1 1 auto, and flex attribute (which only
sets -moz-box-flex) is not doing anything because it was inside flex
layout (so legacy properties aren't looked at).

Differential Revision: https://phabricator.services.mozilla.com/D160094
2022-10-24 18:26:26 +00:00
Marian-Vasile Laza
f5df80da66 Backed out changeset 5da81833a114 (bug 1754772) for causing bc failures on browser_Troubleshoot.js. CLOSED TREE 2022-10-24 18:59:03 +03:00
Jonathan Sudiaman
29347cf647 Bug 1754772 - Add a button to get Places database stats to about:support r=mak,fluent-reviewers
Incorporates the "Places Database Statistics" table from `chrome://browser/content/places/interactionsViewer.html` into the `about:support` page, under the existing "Places Database" table. The table is hidden by default, and it can be toggled on/off using a button. Table contents will always be part of the "Copy text to clipboard" export, regardless of visibility.

Try Job: https://treeherder.mozilla.org/jobs?revision=923a9df8c477f6e2b1f0a2fee3b0291ddbdd32e3&repo=try

Initial state:
{F4177493}

After clicking "Show Statistics":
{F4177495}

Text export:
{F4177496}

Differential Revision: https://phabricator.services.mozilla.com/D158200
2022-10-24 15:19:50 +00:00
Florian Quèze
32a16315a4 Bug 1796096 - Add a shift+esc keyboard shortcut to quickly open about:processes, r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D159688
2022-10-24 14:42:27 +00:00
Marian-Vasile Laza
51c683be62 Backed out changeset caddc49839d3 (bug 1793088) for causing bc failures on browser_firefoxview_tab.js. CLOSED TREE 2022-10-24 17:49:47 +03:00
Kelly Cochrane
22fba29900 Bug 1793088 - Make first available tab focusable when Fx View is open r=dao
Differential Revision: https://phabricator.services.mozilla.com/D159766
2022-10-24 12:32:44 +00:00
Henrik Skupin
1c61d460dc Bug 1533058 - [browser] Extend BrowserOpenTab to open a custom URL. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D159424
2022-10-24 07:46:15 +00:00
Tomislav Jovanovic
e82afd3462 Bug 1793629 - Implement attention indicator for the unified extensions button, r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D158938
2022-10-22 17:21:58 +00:00
Emilio Cobos Álvarez
5be309d7fb Bug 1796735 - Remove useless flex attributes from panelviews. r=dao
These are probably copy-pasta. All panelviews flex because of:

  https://searchfox.org/mozilla-central/rev/c5c002f81f08a73e04868e0c2bf0eb113f200b03/browser/themes/shared/customizableui/panelUI-shared.css#135

Differential Revision: https://phabricator.services.mozilla.com/D159933
2022-10-21 12:52:12 +00:00
jneuberger
dc2e7ab905 Bug 1781213 - CSV Parser to import login csv files to password manager r=sgalich,credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D154404
2022-10-20 21:21:35 +00:00
Kagami Sascha Rosylight
f29c0cd51a Bug 1795968 - Part 1: Esmify dom/push/*.jsm r=smaug
Included IndexedDBHelper since it's only used and tested by PushDB.

Differential Revision: https://phabricator.services.mozilla.com/D159631
2022-10-20 21:16:11 +00:00
Noemi Erli
9c4f5fd7bc Backed out changeset 0a1431ca8979 (bug 1793088) for causing failures browser_firefoxview_tab.js CLOSED TREE 2022-10-20 18:53:41 +03:00
Emilio Cobos Álvarez
487b3234a1 Bug 1793359 - Simplify bookmarks popup placement. r=Itiel,dao,mak
By using delegatesanchor="true", we delegate the anchor node to the
first in-flow box (that is the icon), simplifying a lot of the
hard-coded margins in the CSS.

Do that, plus make menupopup[type="arrow"] work consistently, to
simplify the styling of the bookmarks popup a bit.

Differential Revision: https://phabricator.services.mozilla.com/D158569
2022-10-20 15:50:23 +00:00
Kelly Cochrane
80e600b519 Bug 1793088 - Make first available tab focusable when Fx View is open r=dao
Differential Revision: https://phabricator.services.mozilla.com/D159766
2022-10-20 14:43:31 +00:00
Emilio Cobos Álvarez
f1cb20723d Bug 1796199 - Remove script access to XUL layout attributes. r=Gijs
These don't work on emulated flexbox. We only have a couple of uses.

See D159726 for the diagnostic patch I used to catch these.

Differential Revision: https://phabricator.services.mozilla.com/D159727
2022-10-20 08:36:00 +00:00
BryanMacoy
17845a428a Bug 1790226 - Convert ContextMenu JSM modules to ESMs. r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D157041
2022-10-19 20:21:12 +00:00
Butkovits Atila
7f001fb596 Backed out changeset 39f39360ae48 (bug 1796199) for causing failures at test_panel.xhtml. CLOSED TREE 2022-10-20 00:39:56 +03:00
Emilio Cobos Álvarez
db485fd57c Bug 1796199 - Remove script access to XUL layout attributes. r=Gijs
These don't work on emulated flexbox. We only have a couple of uses.

See D159726 for the diagnostic patch I used to catch these.

Differential Revision: https://phabricator.services.mozilla.com/D159727
2022-10-19 19:18:04 +00:00
Norisz Fay
bfa4dfd40b Backed out 2 changesets (bug 1795984) for causing bc failures on browser_fullscreen-window-open.js CLOSED TREE
Backed out changeset 4f1f5ebc134b (bug 1795984)
Backed out changeset f742568d925b (bug 1795984)
2022-10-19 23:46:02 +03:00
Edgar Chen
f4a1a2d3ac Bug 1795984 - Put browser fullscreen tests under fullscreen folder; r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D159633
2022-10-19 14:40:46 +00:00
Emilio Cobos Álvarez
e83fac1f59 Bug 1795944 - Remove descriptionheightworkaround. r=Gijs
Stuff wraps properly now with flexbox emulation.

Differential Revision: https://phabricator.services.mozilla.com/D159621
2022-10-19 11:55:29 +00:00
Emilio Cobos Álvarez
db9217e4e9 Bug 1795972 - Prevent offscreen view container from growing the popup. r=Gijs
This depends on bug 1795892 and restores the sizing behavior that XUL had for
this case (making the overflow: hidden element not contribute to the intrinsic
size of the container).

If this were to be written today, we couldd probably use absolute positioning
or transforms, and maybe this could be simplified a bit. This is the less risky
change tho.

Differential Revision: https://phabricator.services.mozilla.com/D159639
2022-10-19 11:06:13 +00:00
Tom Schuster
3ddbc463f2 Bug 1617611 - Fix all tests using laxByDefault=false under browser/. r=freddyb
This turned out to be more complicated than expected, because:
- SameSite=None requires https://
- Many test were using the mochi.test domain, which is not reachable via https

Differential Revision: https://phabricator.services.mozilla.com/D157637
2022-10-19 08:59:38 +00:00
Cosmin Sabou
acc26cd06f Backed out changeset 27a859f55fdd (bug 1793629) for causing bc failures on browser_preferences_usage.js. 2022-10-19 02:34:23 +03:00
Tomislav Jovanovic
0975a1bceb Bug 1793629 - Implement attention indicator for the unified extensions button, r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D158938
2022-10-18 21:44:48 +00:00
Dana Keeler
04b2180978 Bug 1793841 - don't serialize securityInfo in browser_aboutCertError_exception.js r=pbz
This test only needs the bytes of the server certificate, not the entire
nsITransportSecurityInfo of the connection.

Differential Revision: https://phabricator.services.mozilla.com/D157994
2022-10-18 21:25:03 +00:00
Bernard Igiri
07dc284c09 Bug 1710092 - Back out workaround from bug 1708809 r=mconley
Backed out workaround from bug 1708809.

Differential Revision: https://phabricator.services.mozilla.com/D159331
2022-10-18 18:39:32 +00:00
Mark Banner
1b63e93005 Bug 1795370 - Add nsICrashReporter as an interface on nsAppRunner. r=gsvelto
This fixes ESLint issues raised by mozilla/valid-services-properties.
This also changes follow-on issues to use Services.appinfo rather than getService.

Differential Revision: https://phabricator.services.mozilla.com/D159461
2022-10-18 18:22:24 +00:00
Emilio Cobos Álvarez
8678589631 Bug 1795890 - Fix Ctrl+Tab labels to not overflow. r=dao
Make them use CSS text-overflow rather than XUL <label crop>.

Differential Revision: https://phabricator.services.mozilla.com/D159597
2022-10-18 14:53:59 +00:00
James Teow
3c03da845b Bug 1788953 - Part 2: Use cached originalURI in setURI - r=adw
Depends on D157485

Differential Revision: https://phabricator.services.mozilla.com/D157486
2022-10-18 13:38:49 +00:00
James Teow
a918c57eb8 Bug 1788953 - Part 1: Add originalURI to browser-custom-element - r=adw
Differential Revision: https://phabricator.services.mozilla.com/D157485
2022-10-18 13:38:49 +00:00
Mark Banner
2ffde1e92f Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy
Mainly automated changes. Some manual ESLint fixes and whitespace cleanup.

Differential Revision: https://phabricator.services.mozilla.com/D158452
2022-10-18 11:21:26 +00:00
Mark Banner
69a9e3e717 Bug 1792341 - Migrate most of the rest of toolkit/modules/ to be system ES modules. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D158451
2022-10-18 11:21:25 +00:00
Noemi Erli
5a21645f73 Backed out 2 changesets (bug 1793841) for causing Gtest failures CLOSED TREE
Backed out changeset 4d39c423b92e (bug 1793841)
Backed out changeset 5cfb5f595add (bug 1793841)
2022-10-18 04:29:44 +03:00
Dana Keeler
f37644a281 Bug 1793841 - don't serialize securityInfo in browser_aboutCertError_exception.js r=pbz
This test only needs the bytes of the server certificate, not the entire
nsITransportSecurityInfo of the connection.

Differential Revision: https://phabricator.services.mozilla.com/D157994
2022-10-18 00:18:08 +00:00
Emilio Cobos Álvarez
f8cba5a04a Bug 1790616 - Use modern flexbox for the toolbox. r=dao,Gijs
The min-width / contain are as usual to allow elements to shrink under
their intrinsic size. You can only see its effects with relatively thin
windows (or with a very large number of tabs in the tabstrip case).

Differential Revision: https://phabricator.services.mozilla.com/D157216
2022-10-17 17:19:09 +00:00