25974 Commits

Author SHA1 Message Date
Timothy Nikkel
b27cec1892 Bug 1762881. Make sure swipe to nav _completeFadeOut is called. r=hiro
I think this is because this._completeFadeOut is a function but calling it from to handle the event isn't going to have any reference to this so it doesn't do anything.

Differential Revision: https://phabricator.services.mozilla.com/D142821
2022-05-03 08:56:47 +00:00
Tooru Fujisawa
d087243ae9 Bug 1765156 - Part 2: Use SpecialPowers.ChromeUtils.import in browser/. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D144083
2022-05-03 06:32:25 +00:00
Henrik Skupin
78f7bbce86 Bug 1719505 - [remote] Unify Remote Agent's running state with Marionette. r=webdriver-reviewers,mossop,smaug,keeler,jdescottes
Both components are related to WebDriver and should expose the
same flag for their running state.

Differential Revision: https://phabricator.services.mozilla.com/D144982
2022-04-29 17:38:14 +00:00
Alexandre Lissy
68da11d927 Bug 1756407 - Make about:restartrequired tests more robust r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D144953
2022-04-29 13:44:12 +00:00
Butkovits Atila
fc54f60211 Backed out 6 changesets (bug 1719505) for causing failures at browser_Troubleshoot.js. CLOSED TREE
Backed out changeset 915b5331f6b2 (bug 1719505)
Backed out changeset 8df69b3445e5 (bug 1719505)
Backed out changeset 674fe8523cf6 (bug 1719505)
Backed out changeset f40c2fe6872d (bug 1719505)
Backed out changeset 3e3df2a6b1e3 (bug 1719505)
Backed out changeset 621024810236 (bug 1719505)
2022-04-29 17:32:32 +03:00
Henrik Skupin
8a69201f2e Bug 1719505 - [remote] Unify Remote Agent's running state with Marionette. r=webdriver-reviewers,mossop,smaug,keeler,jdescottes
Both components are related to WebDriver and should expose the
same flag for their running state.

Differential Revision: https://phabricator.services.mozilla.com/D144982
2022-04-29 11:55:43 +00:00
Meg Viar
647ec190cf Bug 1765142 - "Shadows" are displayed above and under the "Get Firefox Focus" modal r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D144749
2022-04-28 21:15:26 +00:00
Hannah Peuckmann
6c894d925d Bug 1766223 - Fix cookie exceptions for subdomains in container tabs.r=pbz
In case of multiple subdomains without an own cookie permission we need to be able to check the cookie permission
of the domain those subdomains get their permissions from multiple times,
so we can not remove it after the first subdomain.

Differential Revision: https://phabricator.services.mozilla.com/D144573
2022-04-28 17:27:38 +00:00
Paul Zuehlcke
b0406b4508 Bug 1766628 - Increase timeout for browser_protectionsUI_dfpi_rollout_phase2.js. r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D144942
2022-04-28 14:01:20 +00:00
Florian Quèze
3b0ccd8cf7 Bug 1732447 - browser_preferences_usage.js - adjust minimum counts for prefs accessed while creating content processes on Linux, to account for preallocated content processes, r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D144795
2022-04-28 08:37:43 +00:00
Nika Layzell
e834665924 Bug 1756980 - Part 1: Redirect internally-handled attachment loads into new tabs, r=Gijs,smaug,necko-reviewers,dragana
This patch changes how we handle document loads which are being handled
internally but have Content-Disposition: attachment specified at the
DocumentLoadListener layer. This was done as process switching is
currently the only place during a load where we can change the target
BrowsingContext which the load will complete in.

The only situation where we should currently continue to deliver a
successful request to the default content-viewer despite
Content-Disposition: attachment being specified is when we choose to
handle a downloaded PDF internally, so this shouldn't impact other
cases.

The change is handled by forcing a process switch under the hood, and
opening a new browser window asynchronously to handle the process
switch, similar to how object and embed load upgrades are handled. This
is done using nsIBrowserDOMWindow to attempt to respect the user's
window opening preferences.

A small change to browser.js was also made to try to encourage the new
tab to be opened next to the previous tab, as well as to avoid starting
unnecessary new processes when creating the new browser window.

Differential Revision: https://phabricator.services.mozilla.com/D143675
2022-04-27 15:22:00 +00:00
Paul Zuehlcke
38f5baa295 Bug 1766401 - Tests for tcpByDefault Nimbus feature. r=timhuang,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D144720
2022-04-27 10:35:52 +00:00
Paul Zuehlcke
b0377fa482 Bug 1766441 - Remove study prefs set on TCP rollout opt-in/out. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D144721
2022-04-27 10:35:50 +00:00
Mark Banner
5185d87a50 Bug 1766238 - Stop using the target argument for ChromeUtils.import in services. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D144558
2022-04-27 08:38:33 +00:00
Sarah Clements
eaa5d9e321 Bug 1761784 - Firefox View Recently closed tabs implementation r=fluent-reviewers,dao,flod
* Sketch in recently-closed-tabs section and listing
* Add some styles and suggested markup for the page-level sections & headers

Differential Revision: https://phabricator.services.mozilla.com/D143365
2022-04-26 11:00:30 +00:00
Calixte
aa08b62a57 Bug 1766222 - Update pdf.js to version 2.14.224 r=pdfjs-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D144544
2022-04-25 19:44:06 +00:00
Rob Wu
9c9a7d440b Bug 1740792 - Replace TODO with explanatory comment r=rpl DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D144495
2022-04-25 15:51:58 +00:00
Gabriele Svelto
4e25142c69 Bug 1762949 - Explicitly flag all crash reports as throttleable when they've not been submitted manually r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D143185
2022-04-25 06:37:17 +00:00
Tim Huang
d008c8e783 Bug 1765949 - Change the search params for TCP rollout. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D144397
2022-04-22 15:38:14 +00:00
Narcis Beleuzu
49e2102b48 Backed out changeset 4c742ffdfbbf (bug 1765949) as req by timhuang in order to divide the fixes. CLOSED TREE 2022-04-22 18:02:43 +03:00
Tim Huang
51444c2217 Bug 1765949 - Change the search params for TCP rollout. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D144397
2022-04-22 09:42:40 +00:00
Gabriele Svelto
95e13b1839 Bug 1702509 - Add an annotation describing how a crash report was submitted r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D143184
2022-04-21 12:43:11 +00:00
Oriol Brufau
56b156bf6a Bug 1764452 - Avoid tabs.onUpdated events for 'attention' when value doesn't change. r=Gijs,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D143553
2022-04-21 08:30:07 +00:00
Scott
fc018ca0e8 Bug 1538464 - Ensure Pocket context menu items work as expected in sidebar extension or other windows. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D143539
2022-04-20 13:22:38 +00:00
criss
e8d6d26858 Backed out changeset 5382bd66d8f7 (bug 1702509) for causing failures on browser_UnsubmittedCrashHandler.js . CLOSED TREE 2022-04-20 14:18:20 +03:00
Gabriele Svelto
08af3280d9 Bug 1702509 - Add an annotation describing how a crash report was submitted r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D143184
2022-04-20 08:08:28 +00:00
Ed Lee
f6b8bfcc7f Bug 1765411 - Allow configuring logo and background images using firefox-settings-attachments r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D144054
2022-04-19 19:39:36 +00:00
Andreas Farre
e4c062012a Bug 1739450 - Part 1: Move ownership of session store scroll and form data to platform. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D130389
2022-04-19 15:19:22 +00:00
Greg Tatum
e24a32d029 Bug 1765173 - Remove duplicated menubar.ftl load; r=platform-i18n-reviewers,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D143923
2022-04-18 18:14:27 +00:00
Peter Van der Beken
3e9eedaad9 Bug 1763833 - Fixes for tests with SHIP without Fission and/or on Android. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D143303
2022-04-16 09:24:52 +00:00
Shane Hughes
7810a6da05 Bug 1747343 - Add pref to set default action for new mimetypes. r=Gijs,fluent-reviewers,preferences-reviewers
When downloading a file, we check for existing mime types and construct
a new one if it's unrecognized. Mime types have a flag,
alwaysAskBeforeHandling, that determines whether the unknown content
type dialog should be opened before handling the file. Before bug
1733492, the default value for that flag was simply true. Since the new
downloads flow is intended to avoid unnecessary steps, the default value
was changed to the inverted value of the new downloads panel
improvements pref. This patch adds a new pref that the mime info
constructor will read in configuring the flag's value. If the
improvements pref is not enabled, then the flag will be true, so the UCT
dialog will open. If the improvements pref is enabled, then it'll use
the value of the new pref. Also add a an interface for the pref to the
about:preferences UI, and automatically migrate a false value for
browser.download.improvements_to_download_panel to a true value for this
pref. I'm updating some tangentially related test files since they
happen to be touched slightly by this change. Strictly speaking they
would still work, but if the pref value was somehow changed from the
default they would fail.

Differential Revision: https://phabricator.services.mozilla.com/D143002
2022-04-15 18:13:11 +00:00
Calixte
f49c8e03e9 Bug 1764886 - Update pdf.js to version 2.14.171 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D143819
2022-04-15 14:39:47 +00:00
criss
4666a062b0 Backed out changeset a1e9e031f3a1 (bug 1764886) for causing failures on browser_parsable_script.js . CLOSED TREE 2022-04-15 16:57:08 +03:00
Calixte
addedf097a Bug 1764886 - Update pdf.js to version 2.14.171 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D143819
2022-04-15 12:50:55 +00:00
Shane Hughes
aa61f3c263 Bug 1658103 - Fix lazy translation of tab context menu. r=dao
The tab context menu is designed to not be translated until the user
interacts with the tab strip in some way. However, the tab context menu
is now shared between the tab strip and the "all tabs" panel. So, it's
possible to open the tab context menu without interacting with the tab
strip. This results in the context menu being opened before it is
translated, so the user sees an essentially blank menu. Resolve this
by adding to the all tabs panel an extra initialization step that will
automatically translate the tab context menu.

Differential Revision: https://phabricator.services.mozilla.com/D142850
2022-04-15 05:06:47 +00:00
Meg Viar
ac30b8f24b Bug 1762666 - Remove legacy Upgrade Dialog code r=fluent-reviewers,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D142973
2022-04-14 20:55:22 +00:00
Paul Zuehlcke
78153e1936 Bug 1741597 - Revert cookie behavior to initial default value when dFPI rollout pref is set to false. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D131348
2022-04-14 16:32:34 +00:00
Molnar Sandor
2b5c232830 Backed out changeset 40580eaf2289 (bug 1741597) for causing mochitest failures in browser_contentblocking_standard_tcp_toggle. CLOSED TREE 2022-04-14 14:18:08 +03:00
Paul Zuehlcke
21ac7aece3 Bug 1741597 - Revert cookie behavior to initial default value when dFPI rollout pref is set to false. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D131348
2022-04-14 10:13:23 +00:00
Paul Zuehlcke
a80328308c Bug 1746383 - Test for identity section security state after tab restore. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D139032
2022-04-12 14:41:06 +00:00
Paul Zuehlcke
c102462ad6 Bug 1746383 - Set URLBar pageProxyState to invalid for onLocationChange triggered by SessionStore. r=nika,dao
Differential Revision: https://phabricator.services.mozilla.com/D138823
2022-04-12 14:41:06 +00:00
Gijs Kruitbosch
e9ba135d9f Bug 1758250 - deal with non-existing url values from session restore so they don't brick other functionality, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D142947
2022-04-12 10:39:03 +00:00
Sam Foster
f95812a08f Bug 1761787 - Add a shell for the signup flow / synced tabs area of My Firefox. r=Gijs,fluent-reviewers
* Sketch in a page layout and grid to house the tab-pickup region
* Add a tabs-pickup module with custom elements for the deck of cards that is the setup flow
* and a container with placeholder logic to manage the setup flow
* Make myfirefox.js a module, hook up the tabs-pickup element with its controller/manager where we can implement the fxa flow & business logic stuff

Differential Revision: https://phabricator.services.mozilla.com/D142661
2022-04-11 23:18:35 +00:00
Tyler Kabaker
0736faf568 Bug 1134363 - Have Reader Mode use the same tab title as the normal browser view. r=niklas,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D142281
2022-04-11 20:24:25 +00:00
Oriol Brufau
548e9a881d Bug 1761635 - Make switchToTabHavingURI handle adoptTab failures. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D142758
2022-04-11 08:43:49 +00:00
Andreea Pavel
276a88c08a Bug 1725756 - disable browser_minimize.js on mac opt r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D143235
2022-04-07 23:47:32 +00:00
Oriol Brufau
6a8eb0943c Bug 1763712 - Prevent getRelatedElement() from passing empty string to getElementById(). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D143234
2022-04-07 23:44:49 +00:00
a153
45e9eef39f Bug 1763262 - Remove unused toggleMenuButtonInToolbar r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D143108
2022-04-07 22:39:57 +00:00
Dana Keeler
6502ebf4b6 Bug 1608307 - remove redundant flags parameters from nsISiteSecurityService r=jschanck,necko-reviewers,kershaw
Before this patch, nsISiteSecurityService APIs took "flags" parameters that
differentiated private contexts from not private contexts. However, these
parameters were redundant with respect to origin attributes, which led to some
confusion for consumers of these APIs. This patch removes these parameters in
favor of using origin attributes.

Differential Revision: https://phabricator.services.mozilla.com/D142901
2022-04-06 17:37:23 +00:00
Greg Tatum
27ed680c0b Bug 1760825 - Fix New Tab text to change on a live language reload; r=amy
This text is cached, and so needs invalidating when the app locale is
changed.

Differential Revision: https://phabricator.services.mozilla.com/D142256
2022-03-30 20:12:10 +00:00