Commit Graph

4431 Commits

Author SHA1 Message Date
Masatoshi Kimura
8262afb8c6 Bug 1856104 - Remove useless version checks from JavaScript code. r=Gijs,webcompat-reviewers,settings-reviewers,search-reviewers,Standard8,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D189696
2023-10-02 19:00:07 +00:00
Emilio Cobos Álvarez
82807a55ad Bug 1853515 - Simplify webextension toolbar icons. r=desktop-theme-reviewers,dao,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188407
2023-10-02 17:53:18 +00:00
Noemi Erli
8561f7ec9a Backed out 3 changesets (bug 1856187, bug 1856100, bug 1856104) for causing newtab failures
Backed out changeset db28784a1734 (bug 1856187)
Backed out changeset bd11e14dca63 (bug 1856104)
Backed out changeset 2741311b6055 (bug 1856100)
2023-10-02 21:16:25 +03:00
Masatoshi Kimura
89e9a36583 Bug 1856104 - Remove useless version checks from JavaScript code. r=Gijs,webcompat-reviewers,settings-reviewers,search-reviewers,Standard8,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D189696
2023-10-02 17:36:27 +00:00
Gijs Kruitbosch
a864c7b2b7 Bug 1854894 - remove unused removeQuotaUsage method, r=pbz
The last consumer was removed in https://hg.mozilla.org/mozilla-central/rev/5f30ff27430670b51e526c12023ea1236efdf8c4

as part of https://bugzilla.mozilla.org/show_bug.cgi?id=1523272 .

Differential Revision: https://phabricator.services.mozilla.com/D189215
2023-09-27 10:49:56 +00:00
Daisuke Akatsuka
30f00be6c8 Bug 1620576: Refer to the start time of the session with the update applied to suppress browser tips. r=adw,jteow,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D186900
2023-09-26 20:36:01 +00:00
Jan Varga
ad471d5a69 Bug 1733107 - Replace some nsIQuotaManagerService::ClearStoragesForPrincipal calls with nsIQuotaManagerService::ClearStoragesForOriginPrefix; r=dom-storage-reviewers,pbz,asuth
There's now a dedicated nsIQuotaManagerService::ClearStoragesForOriginPrefix
method for clearing storages for origin prefix. All callers of
nsIQuotaManagerService::ClearStoragesForPrincipal which want to clear all
storages for given origin prefix can be now converted to call the new method.

Changed done in this patch:
- replaced some nsIQuotaManagerService::ClearStoragesForPrincipal calls with
  nsIQuotaManagerService::ClearStoragesForOriginPrefix

Differential Revision: https://phabricator.services.mozilla.com/D186778
2023-09-25 16:28:38 +00:00
Tom Marble
ad50861ef9 Bug 1853243 - convert .ini manifests to .toml: batch 5 browser/**/browser.ini r=jmaher,mossop,webcompat-reviewers,twisniewski,search-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D188427
2023-09-21 22:47:07 +00:00
Shane Hughes
a888aea67a Bug 1852825 - Add more style configuration for Feature Callout. r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D188044
2023-09-19 18:41:30 +00:00
Paul Zuehlcke
2bfd7c338f Bug 1839918 - Update tests for nsICookieNotification. r=cookie-reviewers,sessionstore-reviewers,bvandersloot,valentin
Depends on D185301

Differential Revision: https://phabricator.services.mozilla.com/D185302
2023-09-18 11:55:09 +00:00
Marco Bonardo
6874dffc71 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-15 09:16:34 +00:00
Sandor Molnar
5d8dd001ad Backed out 3 changesets (bug 1852963) for causing remote failures on remote/shared/messagehandler/test/browser/browser_session_data.js CLOSED TREE
Backed out changeset 98de7bc404c3 (bug 1852963)
Backed out changeset edf1527c9a99 (bug 1852963)
Backed out changeset 34357750f69c (bug 1852963)
2023-09-14 20:29:06 +03:00
Marco Bonardo
c5fb3dbb49 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-14 16:33:13 +00:00
Travis Long
ccd205c7f9 Bug 1851237 - Renew expiring metrics ping.centre.send_failures*. r=chutten
This renews the expiring ping.centre.send_failures* metrics, extending the collection to v125.

Differential Revision: https://phabricator.services.mozilla.com/D187916
2023-09-11 17:34:42 +00:00
Cosmin Sabou
ba8a89ba9e Backed out 9 changesets (bug 1839918) for causing a top crash as in Bug 1852357. a=backout
Backed out changeset 1c438df525c7 (bug 1839918)
Backed out changeset 6e3d7fdfda3f (bug 1839918)
Backed out changeset 087b27593538 (bug 1839918)
Backed out changeset 302d12c12083 (bug 1839918)
Backed out changeset 750e0796c1ad (bug 1839918)
Backed out changeset 3949d9b400d4 (bug 1839918)
Backed out changeset 707021ebfd23 (bug 1839918)
Backed out changeset fa9a6af80526 (bug 1839918)
Backed out changeset 5aa3b2f1b5ec (bug 1839918)
2023-09-11 16:42:08 +03:00
Paul Zuehlcke
a6d147de42 Bug 1839918 - Update tests for nsICookieNotification. r=cookie-reviewers,sessionstore-reviewers,bvandersloot,valentin
Differential Revision: https://phabricator.services.mozilla.com/D185302
2023-09-07 08:25:55 +00:00
Dão Gottwald
8a2927714d Bug 1850828 - Use browsing-context-discarded instead of unload listener to delete pending windows that close before we track them as open windows. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D187466
2023-09-05 16:32:49 +00:00
Emilio Cobos Álvarez
aecccea7aa Bug 1851486 - Deal with having/not having layers already in the tab switcher. r=dao
This fixes tests that block me from landing bug 1847584. In particular,
consider that we set a tab to `display: none` (e.g. by entering
customize mode). Only then, we try to switch tabs.

There can be the case that painting is fast enough in clearing our
layers, and by the time we set renderLayers = false, we already do not
have layers (from display: none clearing them).

This makes transitioning to UNLOADING/LOADING potentially transition
directly to LOADED/UNLOADED, but that seems fine. That's already the
case for non-remote browsers.

This makes the remote and non-remote code-paths more similar, which is
nice.

Differential Revision: https://phabricator.services.mozilla.com/D187387
2023-09-05 11:41:44 +00:00
Emilio Cobos Álvarez
11692470d4 Bug 1848357 - Cleanup layer observer handling. r=mconley,gfx-reviewers,bradwerth
This seems to work, and turns out I need to fix this before bug 1847584,
because the epoch handling breaks with those patches in the case
customize mode sets display: none on browser elements.

Instead of dealing with epochs, just always report the last "has layers"
state to BrowserParent. This is both simpler and more reliable (there
were a couple hacks in WebRenderBridgeParent to make sure we notified
even though a transaction failed).

AsyncTabSwitcher pretty much already deals with this correctly because
it already needs to deal with browsers that already have layers, we only
had to loosen some assertions for potentially previous messages which
are fine.

Differential Revision: https://phabricator.services.mozilla.com/D187203
2023-09-01 17:09:27 +00:00
Shane Hughes
3ead9a6e2e Bug 1842366 - Part 2: Allow rendering Feature Callout in panels. r=jprickett,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D183074
2023-08-31 08:14:41 +00:00
Butkovits Atila
5cbed29ced Backed out 2 changesets (bug 1842366) for causing Xpcshell failures at test_PanelTestProvider.js. CLOSED TREE
Backed out changeset bcc147043981 (bug 1842366)
Backed out changeset c9e538ad8526 (bug 1842366)
2023-08-31 07:43:26 +03:00
Shane Hughes
4db2cd3f28 Bug 1842366 - Part 2: Allow rendering Feature Callout in panels. r=jprickett,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D183074
2023-08-31 03:29:05 +00:00
Dão Gottwald
5e89f4908b Bug 1849904 - Convert a bunch of psuedo-boolean tab strip attributes to be standard boolean attributes. r=mconley,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186729
2023-08-29 06:52:49 +00:00
Shane Hughes
b8a5352d12 Bug 1847939 - Fix a feature callout page event race condition. r=jprickett
Also fix the FOUC for newtab callouts, and refine the logic for picking
an element in the callout to initially focus.

Differential Revision: https://phabricator.services.mozilla.com/D185811
2023-08-11 06:04:58 +00:00
Norisz Fay
2f3483cc9d Backed out changeset 27018b300692 (bug 1847939) for causing bc failures on browser_feature_callout.js 2023-08-10 23:16:57 +03:00
Shane Hughes
fef974733b Bug 1847939 - Fix a feature callout page event race condition. r=jprickett
Also fix the FOUC for newtab callouts, and refine the logic for picking
an element in the callout to initially focus.

Differential Revision: https://phabricator.services.mozilla.com/D185811
2023-08-10 18:10:02 +00:00
Marc Seibert
3b461e98a2 Bug 1067293 - Omit "https://".r=dao
Differential Revision: https://phabricator.services.mozilla.com/D184933
2023-08-09 22:27:21 +00:00
Cristian Tuns
064737db44 Backed out changeset e99b30fd0931 (bug 1067293) for causing bc failures in browser_preferences_usage.js CLOSED TREE 2023-08-08 20:40:06 -04:00
Marc Seibert
6447bd4fab Bug 1067293 - Omit "https://".r=dao
Differential Revision: https://phabricator.services.mozilla.com/D184933
2023-08-08 19:19:57 +00:00
Danny Colin
a83220710b Bug 1633946 - Add tooltip to List All Tabs r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D183102
2023-07-31 13:54:31 +00:00
Shane Hughes
0f4e587520 Bug 1845862 - Support primary buttons in Feature Callout. r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D184788
2023-07-28 20:51:17 +00:00
Shane Hughes
b6556b9453 Bug 1845419 - Allow Feature Callout page_event_listeners to set timers and hook callout lifecycle events. r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D184536
2023-07-27 16:26:26 +00:00
Jason Prickett
fb566fae67 Bug 1844215 - Add styling for cta link and multiselect to feature callout for use in newtab survey r=aminomancer,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D184400
2023-07-27 07:52:18 +00:00
Gregory Pappas
e9950eccfd Bug 1845311 - Use ChromeUtils.defineLazyGetter in more places r=arai,webdriver-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,joschmidt,robwu,issammani,bytesized,owlish,dao
Differential Revision: https://phabricator.services.mozilla.com/D184481
2023-07-26 16:28:11 +00:00
Marco Bonardo
530854e412 Bug 1844150 - Don't add moz-anno:favicon to local protocols. r=daisuke,sessionstore-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184376
2023-07-25 16:37:14 +00:00
Cristina Horotan
4b34180c2b Backed out changeset 46add7a02063 (bug 1844150) for causing bc failures at browser_readerMode.js CLOSED TREE 2023-07-25 16:31:59 +03:00
Marco Bonardo
b690ec8b26 Bug 1844150 - Don't add moz-anno:favicon to local protocols. r=daisuke,sessionstore-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184376
2023-07-25 11:02:18 +00:00
Tomislav Jovanovic
ad3b63cdf3 Bug 1838234 - Implement Quarantine controls in extensions panel and context menus, r=bolsson,willdurand
Differential Revision: https://phabricator.services.mozilla.com/D182375
2023-07-24 19:51:07 +00:00
Shane Hughes
0e39523d2a Bug 1838295 - Feature Callout fallback anchor system. r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D184067
2023-07-23 02:57:02 +00:00
Cristian Tuns
f0bbf8faa6 Backed out changeset 6f0a2e1e42f5 (bug 1838295) for causing bc failures in browser_feature_callout_in_chrome.js CLOSED TREE 2023-07-22 01:40:06 -04:00
Shane Hughes
ab73a1849d Bug 1838295 - Feature Callout fallback anchor system. r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D184067
2023-07-22 03:47:34 +00:00
Nick Alexander
7a754653bf Bug 1805514 - Pre: Fix typos. r=nrishel
Differential Revision: https://phabricator.services.mozilla.com/D182309
2023-07-15 02:34:05 +00:00
Jason Prickett
dcf79e6ec3 Bug 1826588 - add newtab feature callout trigger and prefs r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D182405
2023-07-13 06:38:52 +00:00
Mark Banner
544ecba3af Bug 1837176 - Convert imports of httpd.js to consume the ES module directly. r=necko-reviewers,webcompat-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,robwu,issammani,bytesized,pbz,valentin
Differential Revision: https://phabricator.services.mozilla.com/D181159
2023-07-12 13:38:34 +00:00
Mark Banner
88e658c23d Bug 1792824 - Convert ObjectUtils.jsm to an ES module. r=barret,necko-reviewers,devtools-reviewers,kershaw
Depends on D183308

Differential Revision: https://phabricator.services.mozilla.com/D183309
2023-07-12 08:07:23 +00:00
Shane Hughes
99e82b0f08 Bug 1821826 - Refactor FeatureCallout to support generic triggers. r=omc-reviewers,fxview-reviewers,tabbrowser-reviewers,dao,jprickett,sclements
Also disable the Firefox View feature tour to avoid any risk of
regressions. The feature tour code will be removed in a later patch.
It's still present for now for testing purposes.

Differential Revision: https://phabricator.services.mozilla.com/D180927
2023-07-11 16:00:40 +00:00
Dão Gottwald
d5c2d8dccd Bug 713713 - Expand BrowserWindowTracker.openWindow to cover the use cases of OpenBrowserWindow, and remove BrowserUIUtils.openNewBrowserWindow. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D182557
2023-07-07 12:15:35 +00:00
Sandor Molnar
0f440248de Backed out changeset a09e586f7b7f (bug 713713) for causing bc failures in browser/modules/test/browser/browser_BrowserWindowTracker.js CLOSED TREE 2023-07-06 17:54:01 +03:00
Dão Gottwald
9d2c1a9368 Bug 713713 - Expand BrowserWindowTracker.openWindow to cover the use cases of OpenBrowserWindow, and remove BrowserUIUtils.openNewBrowserWindow. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D182557
2023-07-06 13:39:15 +00:00
Cosmin Sabou
16a750f1fa Backed out changeset e9251e249c27 (bug 713713) for causing browser-chrome leaked windows. 2023-07-06 00:37:38 +03:00