Граф коммитов

61743 Коммитов

Автор SHA1 Сообщение Дата
Mike Conley c4e69ae516 Bug 1535354 - Add a toggle to trigger Picture-in-Picture that appears over top of <video> elements. Disabled by default. r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D25658

--HG--
extra : moz-landing-system : lando
2019-04-05 15:51:58 +00:00
Dão Gottwald e52d04f50f Bug 1542099 - Return a11y focus to the input when arrow left/arrow right/home/end keys are pressed. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D26313

--HG--
extra : moz-landing-system : lando
2019-04-05 15:00:36 +00:00
Ehsan Akhgari a668dc0a77 Bug 1415037 - Re-enable browser_siteData.js now that bug 1498102 has been fixed; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26020

--HG--
extra : moz-landing-system : lando
2019-04-05 14:27:29 +00:00
Erica Wright 8a00925507 Bug 1529517 - Add prefs for defining expected values in each content blocking category. r=johannh,flod
Add prefs for defining expected values in each content blocking category, depend on those prefs to set expectations.

Differential Revision: https://phabricator.services.mozilla.com/D21234

--HG--
extra : moz-landing-system : lando
2019-04-05 05:36:00 +00:00
Gijs Kruitbosch d395728ea0 Bug 1537622 - fix various minor eslint issues in XUL files, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24297

--HG--
extra : moz-landing-system : lando
2019-04-05 12:18:24 +00:00
phoenixabhishek b66ed5ba6f Bug 1521919 - SitePermissions.get should check for nsIURI. r=johannh
functions now throw an error if the uri parameter is not an nsIURI.

Differential Revision: https://phabricator.services.mozilla.com/D23672

--HG--
extra : moz-landing-system : lando
2019-03-27 05:40:23 +00:00
Johann Hofmann 9fb44dc7a9 Bug 1508961 - Show a notification icon after automatically dismissing permission prompts. r=MattN
This adds support for a "post-prompt" that appears dismissed (only the icon showing) when
the browser decides to automatically deny a permission request from a site (either based on
internal heuristics or because the user prefers not to receive permission prompts).

In order to move quickly and not overload the patch I have only implemented the post-prompting
for desktop-notification so far, however, implementing it for other permissions should be
a trivial follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D25415

--HG--
extra : moz-landing-system : lando
2019-04-05 10:22:19 +00:00
Johann Hofmann 766d11e154 Bug 1532203 - Disable browser/components/contextualidentity/test/browser/browser_forgetaboutsite.js because of bug 1541885. r=baku
This test was not actually testing what it expected, and we need to properly solve that (clearing by hostname across OAs) in bug 1541885.

Differential Revision: https://phabricator.services.mozilla.com/D26249

--HG--
extra : moz-landing-system : lando
2019-04-05 09:57:02 +00:00
Johann Hofmann 4f767264a5 Bug 1532203 - Add a basic test for clearing network cache with ClearDataService. r=baku
This also moves SiteDataTestUtils to have it available in toolkit.

Differential Revision: https://phabricator.services.mozilla.com/D26248

--HG--
rename : browser/base/content/test/sanitize/SiteDataTestUtils.jsm => toolkit/components/cleardata/SiteDataTestUtils.jsm
extra : moz-landing-system : lando
2019-04-05 09:57:00 +00:00
Bogdan Tara 270edc1df1 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-05 12:55:59 +03:00
Bogdan Tara 8e0ea96830 Merge inbound to mozilla-central. a=merge 2019-04-05 12:49:51 +03:00
Nicholas Cowles f2025f0566 Bug 1529071 - Convert printPreview.dtd to Fluent using conversion script, r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D23766

--HG--
extra : moz-landing-system : lando
2019-04-05 05:38:50 +00:00
James Teh 8810a3c233 Bug 1540918: When a panel is opened from the toolbar via the keyboard, restore focus to the toolbar button when the panel is closed. r=Gijs
Toolbar buttons are only made focusable when accessed via the keyboard.
As soon as they lose focus, their focusability is removed.
This is done so that clicking them doesn't focus them.
Previously, this meant that if a panel opened, focus couldn't be restored to the button like it should be when the panel was closed, as the button was no longer focusable.
To work around this, use the open="true" attribute set on the button when the panel opens.
If this is detected when the button loses focus, focusability is not removed.
Once focus is restored after the panel closes, things continue as normal.
That is, when the button loses focus for some other reason, its focusability is removed.

Differential Revision: https://phabricator.services.mozilla.com/D26073

--HG--
extra : moz-landing-system : lando
2019-04-04 17:04:18 +00:00
Gijs Kruitbosch abcec64af8 Bug 1541377 - add contentPane class to allow the site data settings dialog to scroll when the window height is constrained, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D26195

--HG--
extra : moz-landing-system : lando
2019-04-04 19:05:10 +00:00
Dave Townsend 00de7dca50 Bug 1541804: Make profile refresh for non-ascii named profiles work correctly. r=Gijs
This fixes two bugs. The first is that when the firefox profile migrator doesn't
know which profile to migrate it attempts to fall back to another profile. I
think this was intended to be the default but in bug 1322797 I ended up making
it the current profile, which is the profile we're restoring into now. I think
at this stage the profile directory doesn't even exist so things go wrong.
Changing to use the actual default works but....

When the profile migrator UI doesn't know what profile to migrate from it uses
the default profile. So if the profile you're actually trying to restore is not
the default we'll effectively throw its data into the archive and replace it
with data from the default profile. I'm inclined to say that if the migrator
does not know what profile to migrate from it should error at that point for
safety.

Why would the profile migrator not know what profile to migrate from? Because of
a long-standing text encoding problem. In C++ profile names are encoded in UTF8.
But we try to pass them to JS through an IDL parameter of type ACString. This
does no UTF8 decoding and so JS recieves an incorrect name if the name includes
non-ascii characters and so can't find the profile.

This patch fixes the IDL parameter to AUTF8String which does the decoding
correctly and so JS gets the name correctly.

We should probably think about whether just passing the nsIToolkitProfile object
to the migrator is a better choice here.

Differential Revision: https://phabricator.services.mozilla.com/D26250

--HG--
extra : moz-landing-system : lando
2019-04-04 21:53:01 +00:00
Thomas Wisniewski 3c0b32cd63 Bug 1539916 - Update about:compat to show the proper URL and fix page-refresh glitches; r=kmag
Update about:compat to show the proper URL and fix page-refresh glitches

Differential Revision: https://phabricator.services.mozilla.com/D25487

--HG--
extra : moz-landing-system : lando
2019-04-04 23:47:03 +00:00
Zibi Braniecki 54768975b1 Bug 1540085 - Use label.value rather than text content in site data settings UI to use cropping. r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D25692

--HG--
extra : moz-landing-system : lando
2019-04-04 14:14:52 +00:00
Brian Grinstead a8732856e7 Bug 1541400 - Reference the scrollButtonDown field from the arrowscrollbox and not tabbrowser-tabs;r=dao
When this handler got changed to an arrow function the reference didn't get
moved onto the scrollbox.

Differential Revision: https://phabricator.services.mozilla.com/D26142

--HG--
extra : moz-landing-system : lando
2019-04-04 14:40:09 +00:00
meandave e1d5a28c30 Bug 1532773 - Add player controls for PictureInPicture. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D25435

--HG--
extra : moz-landing-system : lando
2019-04-04 19:04:47 +00:00
Ian Bicking ed9306ed80 Bug 1531650 - remove addons.mozilla.org Screenshots exception r=aswan
In the past Screenshots was not permitted to work on addons.mozilla.org, but now with the mozillaAddons permission this restriction has been removed, and so the onboarding exception for addons.mozilla.org no longer needs to exist.

Differential Revision: https://phabricator.services.mozilla.com/D25997

--HG--
extra : moz-landing-system : lando
2019-04-04 18:27:16 +00:00
Syeda Asra Arshia Qadri 925e66a438 Bug 1541799: Use :root instead of #main-window in browser/themes/shared/controlcenter/panel.inc.css r=dao
Differential Revision: https://phabricator.services.mozilla.com/D26184

--HG--
extra : moz-landing-system : lando
2019-04-04 17:55:16 +00:00
Cosmin Sabou 60d90c1df7 Backed out changeset 278767179a87 (bug 1532738) for turning bug 1352679 into permafail. 2019-04-04 19:13:27 +03:00
Michael Kaply 24fc3feb72 Bug 1518663 - If policy extension download fails, try again. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D25830

--HG--
extra : moz-landing-system : lando
2019-04-03 22:50:34 +00:00
Ehsan Akhgari 9afaf55645 Bug 1436395 - Re-enable browser_clearSiteData.js now that bug 1498102 has been fixed; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26021

--HG--
extra : moz-landing-system : lando
2019-04-04 01:48:31 +00:00
Ed Lee 9eeafb725f Bug 1541502 - Add Pocket menu, triggering improvements and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D25984

--HG--
rename : browser/components/newtab/locales-src/bn-BD/strings.properties => browser/components/newtab/locales-src/bn/strings.properties
rename : browser/components/newtab/prerendered/locales/bn-BD/activity-stream-noscripts.html => browser/components/newtab/prerendered/locales/bn/activity-stream-noscripts.html
rename : browser/components/newtab/prerendered/locales/bn-BD/activity-stream-prerendered-noscripts.html => browser/components/newtab/prerendered/locales/bn/activity-stream-prerendered-noscripts.html
rename : browser/components/newtab/prerendered/locales/bn-BD/activity-stream-prerendered.html => browser/components/newtab/prerendered/locales/bn/activity-stream-prerendered.html
rename : browser/components/newtab/prerendered/locales/bn-BD/activity-stream-strings.js => browser/components/newtab/prerendered/locales/bn/activity-stream-strings.js
rename : browser/components/newtab/prerendered/locales/bn-BD/activity-stream.html => browser/components/newtab/prerendered/locales/bn/activity-stream.html
rename : browser/components/newtab/prerendered/locales/mai/activity-stream-noscripts.html => browser/components/newtab/prerendered/locales/trs/activity-stream-noscripts.html
rename : browser/components/newtab/prerendered/locales/mai/activity-stream.html => browser/components/newtab/prerendered/locales/trs/activity-stream.html
extra : moz-landing-system : lando
2019-04-04 14:32:55 +00:00
Rob Wu 8696d81f53 Bug 1541833 - Clean up getIncognitoWindow in head.js r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D26087

--HG--
extra : moz-landing-system : lando
2019-04-04 14:47:00 +00:00
Michael Kaply a503143186 Bug 1491046 - Allow a whitelist of preferences via policy. r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D25685

--HG--
extra : source : 88a9c30783a6ba2b184aef3f0a5304c4387775f1
2019-04-02 18:42:24 +00:00
Chris H-C df2c8a1191 Bug 1538245 - Remove test prio data from "main" ping. r=janerik,rhelmer
The Prio pilot project has completed, so we no longer need to add prio-encoded
payloads to the "main" ping.

Differential Revision: https://phabricator.services.mozilla.com/D26004

--HG--
extra : moz-landing-system : lando
2019-04-04 13:40:08 +00:00
David Major 6137929bc0 Bug 1512723 - Enable cross-language LTO on Win64 shippable builds r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D25852

--HG--
extra : moz-landing-system : lando
2019-04-04 13:20:15 +00:00
ffxbld d581d786f4 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D26115

--HG--
extra : moz-landing-system : lando
2019-04-04 13:00:37 +00:00
Suriyaa Sundararuban 5138f194d5 Bug 1534001 - Add page title to about:config r=Gijs,flod
The about:config site doesn't have an appropriate page title.

Differential Revision: https://phabricator.services.mozilla.com/D22846

--HG--
extra : moz-landing-system : lando
2019-04-04 11:54:58 +00:00
Marco Bonardo 18a897a02f Bug 1532738 - Fix the expected outcome of browser_caret_navigation.js. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25978

--HG--
extra : moz-landing-system : lando
2019-04-04 09:09:33 +00:00
phoenixabhishek 29c63e27f1 Bug 1355073 - Accidentally starting a drag on the identity block reloads the page and discards pending permission prompts. r=johannh
Changed the function to check if the dropped and current URL are not same.

Differential Revision: https://phabricator.services.mozilla.com/D24509

--HG--
extra : moz-landing-system : lando
2019-03-25 21:32:52 +00:00
Coroiu Cristina 749dbdc496 Merge mozilla-central to inbound a=merge 2019-04-05 06:23:29 +03:00
Martin Stransky 69f81abebc Bug 1526243 - [Linux] Don't use nsGConfService in nsGNOMEShellService.cpp, r=glandium
Don't use gconf service to get/set default browser as it breaks recent Gnome environment.
Also use XDG_CURRENT_DESKTOP to check actual desktop.

Differential Revision: https://phabricator.services.mozilla.com/D25395

--HG--
extra : moz-landing-system : lando
2019-04-04 05:58:32 +00:00
Mark Striemer 105ca7b09f Bug 1539137 - Fix help link in browser languages dialog r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D25998

--HG--
extra : moz-landing-system : lando
2019-04-03 23:01:29 +00:00
Ciure Andrei 4116e08315 Merge inbound to mozilla-central. a=merge 2019-04-04 07:34:14 +03:00
Barret Rennie df67076aeb Bug 1510569 - Remove onStatusChange handlers from browser_alltabslistener.js r=Gijs
The `browser_talltabslistener.js` test verifies that (a) certain
`nsIWebProgress` events occur in the correct order and (b) that the events come
from the correct browser. However, the part of the test that listend for
`onStatusChange` messages did not actually confirm that they were triggered or
that the correct number of them were triggered. The ordering of the
`onStatusChange` events with respect to the other `nsIWebProgress` events is
non-deterministic because `onStatusChange` events are filtered through the
`nsBrowserStatusFilter`, which may or may not put them on a delay timer (due to
the message being repeated often).

The presence of this timer makes for a lovely race condition. Now that the
TabChild's onStatusChange event handler is registered earlier (in
`TabChild::Init` instead of the `WebProgressChild.jsm`) we are getting more
`onStatusChange` messages and the race more frequently results in a failing
test. This is due to one of the test cases swapping browsers *but* not
explicitly waiting for all `onStatusChange` events to come in, so the test case
will run with swapped browsers and a `onStatusChange` event from a previous
test case will leak through, causing the test to fail.

The simplest way to fix these tests is to just remove the `onStatusChange`
listeners, since they do not assert whether or not they are received -- the
tests will pass even if no `onStatusChange` events are sent.

Differential Revision: https://phabricator.services.mozilla.com/D25447

--HG--
extra : moz-landing-system : lando
2019-04-03 17:32:14 +00:00
Andreea Pavel e2d9d71527 Backed out changeset d76eea893d56 (bug 1518663) for failing bc at browser_policy_extensions.js on a CLOSED TREE 2019-04-03 23:17:23 +03:00
Luca Greco 2f3db5c142 Bug 1540112 - Enable addonsManager telemetry event category before the AddonManager/XPIProvider have been started. r=aswan,chutten
Differential Revision: https://phabricator.services.mozilla.com/D25380

--HG--
extra : moz-landing-system : lando
2019-04-03 17:56:52 +00:00
Vijay Budhram e8aec7603d Bug 1541314 - Remove animation from choose what to sync svg r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D25940

--HG--
extra : moz-landing-system : lando
2019-04-03 15:48:16 +00:00
Jan-Erik Rediger 6bc73bc6a2 Bug 1529696 - Rename DATASET_RELEASE_CHANNEL_OPTOUT/OPTIN to DATASET_ALL/PRERELEASE_CHANNELS everywhere r=chutten
Depends on D25934

Differential Revision: https://phabricator.services.mozilla.com/D25935

--HG--
extra : moz-landing-system : lando
2019-04-03 17:12:11 +00:00
Michael Kaply 86ddad7766 Bug 1518663 - If policy extension download fails, try again. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D25830

--HG--
extra : moz-landing-system : lando
2019-04-03 18:48:29 +00:00
Andreea Pavel 99b0952b07 Backed out changeset 8fa27903feba (bug 1532773) for failing bc at browser_showMessage.js on a CLOSED TREE 2019-04-03 21:46:18 +03:00
Dorel Luca c8dcbba86c Backed out changeset 10e91ae65552 (bug 1534001) for Browser-Chrome failures in browser/components/aboutconfig/test/browser/browser_basic.js. CLOSED TREE 2019-04-03 19:26:55 +03:00
Dave Townsend 4ab7a3401f Bug 1533077: Remove nsIAppStartup.eRestartNotSameProfile r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D22345

--HG--
extra : moz-landing-system : lando
2019-04-03 15:24:59 +00:00
meandave 70cf4e4c3c Bug 1532773 - Add player controls for PictureInPicture. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D25435

--HG--
extra : moz-landing-system : lando
2019-04-03 15:10:16 +00:00
Suriyaa Sundararuban 0b813bfe94 Bug 1534001 - Add page title to about:config r=Gijs,flod
The about:config site doesn't have an appropriate page title.

Differential Revision: https://phabricator.services.mozilla.com/D22846

--HG--
extra : moz-landing-system : lando
2019-04-03 13:38:17 +00:00
Hector Zhao b3c3b44b58 Bug 1540017 - Update Baidu searchplugin with new code. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D25339

--HG--
extra : moz-landing-system : lando
2019-04-03 02:18:33 +00:00
Marco Bonardo b0bdfa84fc Bug 1533683 - Port the fix for Bug 1480349. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25668

--HG--
extra : moz-landing-system : lando
2019-04-03 12:39:13 +00:00