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

61887 Коммитов

Автор SHA1 Сообщение Дата
Coroiu Cristina a9338f145b Merge inbound to mozilla-central a=merge 2019-04-16 07:05:54 +03:00
Coroiu Cristina c862999ac0 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2019-04-16 00:39:47 +03:00
Kirk Steuber 163b96b5b3 Bug 1544562 - Call onUnload when about:preferences is closed r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D27591

--HG--
extra : moz-landing-system : lando
2019-04-15 21:23:04 +00:00
Johann Hofmann f5a47eaeb4 Bug 1540416 - Correctly test cookie restrictions in browser_trackingUI_report_breakage. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D27255

--HG--
extra : moz-landing-system : lando
2019-04-15 18:53:22 +00:00
Johann Hofmann 84629fe030 Bug 1540416 - Move toggling the report breakage button out of onContentBlockingEvent. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D27254

--HG--
extra : moz-landing-system : lando
2019-04-15 20:34:12 +00:00
Christian Frey db813346c4 Bug 1523757 - Convert panelUI.inc.xul to Fluent r=flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26447

--HG--
extra : moz-landing-system : lando
2019-04-15 18:10:46 +00:00
Daniel Varga 459a9a06a5 Backed out changeset 93fd4cd59efb (bug 1543280) for browser chrome failure at browser/components/preferences/in-content/tests/browser_contentblocking.js. On a CLOSED TREE 2019-04-15 23:19:26 +03:00
Kirk Steuber d1a3741601 Bug 1520321 - Use BITS in nsUpdateService r=rstrong
nsUpdateService should use BITS for download. If the BITS download fails, it will fallback to the existing download mechanism (nsIIncrementalDownload).

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

--HG--
extra : moz-landing-system : lando
2019-04-15 19:44:45 +00:00
Erica Wright 3881de41a4 Bug 1543280 - Enable FP and CM in strict in all channel, enable FP and CM in standard for nightly and early beta. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D27315

--HG--
extra : moz-landing-system : lando
2019-04-15 14:34:07 +00:00
Dão Gottwald eb4b00232f Bug 1543661 - Instead of rounding to integer, use more precision when setting px values. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D27390

--HG--
extra : moz-landing-system : lando
2019-04-15 13:05:03 +00:00
Drew Willcoxon c1f323bbe7 Bug 1541929 - Don't autofill the first result in some cases. r=mak
We need to handle autofilling the first result separately from autofilling results in general (which happens in UrlbarInput.setValueFromResult), so add a new UrlbarInput.autofillFirstResult method. The controller calls it instead of setValueFromResult. I ported the logic from nsAutoCompleteController, as described in the bug.

Other changes are related to the new test for this.

As part of this work, I was interested in learning how awesomebar handles browser_autoFill_typed.js, so I added it to the legacy tests, with a small tweak in the test for awesomebar.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 13:15:30 +00:00
Csoregi Natalia 7edfe87021 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-04-15 18:28:30 +03:00
Andrea Marchesini 6f470dae23 Bug 1515913 - Implement nsICookieService.removeCookiesFromRootDomain, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D27289

--HG--
extra : moz-landing-system : lando
2019-04-12 20:27:21 +00:00
James Teh 1a6f689917 Bug 1454865: PanelMultiView: When entering a subview using the keyboard, focus the first button after the Back button in the subview. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26067

--HG--
extra : moz-landing-system : lando
2019-04-15 01:38:15 +00:00
James Teh 4e6ac5b1e0 Bug 1477673: Refactor PanelMultiView keyboard navigation to use a TreeWalker. r=Gijs,johannh
Previously, this code cached a list of controls on first use and used that for navigation.
This refactor addresses several issues:

1. There is now a separate focus order for tab/shift+tab and down/up arrows.
    This allows menulists, textboxes, etc. which use the arrow keys themselves to be focused with tab, but skipped with the arrows.
    This means the user won't fall into these controls when using the up/down arrow keys and be confused by the subsequent arrowing behaviour.

2. When a menulist, textbox, etc. is focused, the arrow keys, space and enter are now passed to the control.
    This is a better fix for handling of the arrow keys by menulists (bug 1522092).
    It also fixes left arrow in a textarea moving to the previous view instead of moving the caret (bug 1489874).

3. This improves handling of dynamic updates to the panel.
    For example, elements that are initially disabled and enabled later will be navigable.
    This is because the next element is determined dynamically by the TreeWalker, rather than using a cached list.

4. The interim fix for bug 1522092 disabled PanelMultiView keyboard navigation.
    This caused some regressions, including arrow keys/activation on the Site Identity Report a Problem link (bug 1539976) and some controls not being navigable if the Site Identity panel is opened using the mouse (bug 1539984).
    With the above fixes, we can now re-enable PanelMultiView keyboard navigation in the Site identity panel and thus fix these regressions.

5. Previously, PanelMultiView keyboard navigation was disabled in the main toolbar overflow menu.
    This is because the search box can be added to the overflow menu, which previously caused problems for the arrow keys.
    With the above fixes, we can now safely enable PanelMultiView keyboard navigation in the overflow menu.

6. PanelMultiView keyboard tests have been added.
    Previously, we relied on tests specific to various panels to exercise this functionality.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:38:08 +00:00
Mike Conley 559f6fe0f2 Bug 1543128 - Get rid of most of the AnonymousContent toggle implementation, but leave some things stubbed out for a later patch. r=jaws,zbraniecki
Depends on D26804

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:09:12 +00:00
Mike Conley 189f9c4505 Bug 1542756 - Bug 1543128 - Add option to only return visible nodes from nsIDOMWindowUtils.nodesFromRect. r=emilio
Depends on D26778

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:08:12 +00:00
Aaron Klotz 5b40d0b92a Bug 1503538: Part 4 - Add injected static import blocking to launcher process; r=mhowell
Depends on D27145

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

--HG--
extra : moz-landing-system : lando
2019-04-11 22:32:29 +00:00
Arpit 0376cbf447 Bug 1543043 - Changed #main-window to :root r=dao
Differential Revision: https://phabricator.services.mozilla.com/D27413

--HG--
extra : moz-landing-system : lando
2019-04-14 07:02:33 +00:00
Razvan Maries 25f9a7a199 Backed out changeset a5852f84bd26 (bug 1541798) for perma fails on browser/base/content/test/performance/browser_startup.js 2019-04-14 04:23:38 +03:00
Myk Melez deb9312435 Bug 1541798 - Fix broken default theme check for early blank window. r=kmag,dao
Differential Revision: https://phabricator.services.mozilla.com/D27398

--HG--
extra : moz-landing-system : lando
2019-04-13 03:03:20 +00:00
Doug Thayer 2d3776cd66 Bug 1538279 - Only readahead DLLs in parent process r=glandium
There shouldn't be any need to do this for content processes as
the DLL should already be in the system file cache.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 18:46:13 +00:00
Andreea Pavel 14f11a2e84 Bug 1435394 - disabled browser_upgrade_backup.js on win and osx r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D27062

--HG--
extra : moz-landing-system : lando
2019-04-11 13:30:08 +00:00
Csoregi Natalia 9e8043e236 Backed out 10 changesets (bug 1542756, bug 1543128, bug 1543122) for multiple media failures /test_setSinkId.html. CLOSED TREE
Backed out changeset ce3a15e1b737 (bug 1543128)
Backed out changeset cea8c1af70ad (bug 1543128)
Backed out changeset aeb23f8f45fb (bug 1543128)
Backed out changeset a2e73d143aba (bug 1543128)
Backed out changeset 1692fc6491a0 (bug 1543128)
Backed out changeset 9fbce4274cfd (bug 1542756)
Backed out changeset 20092bcebe6a (bug 1543122)
Backed out changeset 1645d577016c (bug 1543122)
Backed out changeset 3fce0b7586c1 (bug 1543122)
Backed out changeset aab68db4131b (bug 1543122)
2019-04-13 06:22:47 +03:00
Mike Conley 326dd681a9 Bug 1543128 - Get rid of most of the AnonymousContent toggle implementation, but leave some things stubbed out for a later patch. r=jaws,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D26805

--HG--
extra : moz-landing-system : lando
2019-04-13 01:23:48 +00:00
Mike Conley 0d5744162f Bug 1542756 - Bug 1543128 - Add option to only return visible nodes from nsIDOMWindowUtils.nodesFromRect. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D26809

--HG--
extra : moz-landing-system : lando
2019-04-13 01:22:58 +00:00
Csoregi Natalia 7af4153e81 Backed out 3 changesets (bug 1536170) for xpcshell failures on test_bookmark_repair.js. CLOSED TREE
Backed out changeset e41b319d7243 (bug 1536170)
Backed out changeset 0d8c58e90773 (bug 1536170)
Backed out changeset 19c23f03b471 (bug 1536170)
2019-04-13 00:39:14 +03:00
Barret Rennie 27e15849d2 Bug 1536170 - Replace Async.jankYielder r=tcsc,markh,eoger
`Async.jankYielder` is known to, unfortunately, cause jank by creating a lot of
immediately resolved promises that must be then GCed. For a collection of 50
items, it will create 50 promises and 49 of them will immediately resolve.

Instead of `Async.jankYielder`, we now have `Async.yieldState`, which simply
keeps track of whether or not the caller should yield to the event loop. Two
higher level looping constructs are built on top of it:

* `Async.yieldingIterator`, which has been rewritten to not create extraneous
  promises; and
* `Async.yieldingForEach`, which is a replacement for awaiting
  `Async.jankYielder` in a loop. Instead, it accepts the loop body as a
  function.

Each of these can share an instance of an `Async.yieldState`, which allows an
object with multiple loops to yield every N iterations overall, instead of
every N iterations of each loop, which keeps the behaviour of using one
`Async.jankYielders` in multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 19:07:00 +00:00
Ricky Rosario 69064e8d22 Bug 1517306 - keep the original provider ID for the remote settings provider r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D27325

--HG--
extra : moz-landing-system : lando
2019-04-12 15:49:22 +00:00
Marco Bonardo f007744700 Bug 1541647 - Avoid rebinding the urlbar on startup if Quantum Bar is enabled. r=Standard8
Applying the attribute early enough allows us to avoid rebinding the urlbar,
plus a few checks to ensure "popup" windows, without a visible toolbar, work
properly.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 14:14:51 +00:00
Sylvestre Ledru 7f60810d86 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-12 13:14:25 +00:00
Mark Banner 385ad0d913 Bug 1525548 - Centralise closing the address bar popup into the head file for urlbar tests. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D26759

--HG--
extra : moz-landing-system : lando
2019-04-12 12:52:50 +00:00
Dão Gottwald 4ce84a7849 Bug 724457 - Stop using graytext for shortcuts in menus. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D27275

--HG--
extra : moz-landing-system : lando
2019-04-12 12:42:48 +00:00
Dale Harvey dfa97c85c1 Bug 1538602 - Dont depend on event for icon shown condition. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27187

--HG--
extra : moz-landing-system : lando
2019-04-12 12:32:13 +00:00
Ricky Rosario 74ae518c24 Bug 1517306 - Switch CFR messages pref to remote settings r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D27186

--HG--
extra : moz-landing-system : lando
2019-04-11 22:41:56 +00:00
Cosmin Sabou c64f16b342 Backed out 3 changesets (bug 1538279) for mass test failures. CLOSED TREE
Backed out changeset af07f58d18cc (bug 1538279)
Backed out changeset 508ee4cf9ea2 (bug 1538279)
Backed out changeset 6f2e7c819c11 (bug 1538279)
2019-04-12 07:47:53 +03:00
Cosmin Sabou 3e6ef756b6 Merge mozilla-central to autoland. 2019-04-12 06:48:11 +03:00
Cosmin Sabou 90efd04259 Merge mozilla-inbound to mozilla-central. a=merge 2019-04-12 06:45:27 +03:00
Doug Thayer 13a4a8518f Bug 1538279 - Only readahead DLLs in parent process r=glandium
There shouldn't be any need to do this for content processes as
the DLL should already be in the system file cache.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 02:17:48 +00:00
Oana Pop Rus c54800711d Backed out 5 changesets (bug 1531838) for causing linux asan leaks. CLOSED TREE
Backed out changeset 7e886806ae98 (bug 1531838)
Backed out changeset 24d7fb7fd3af (bug 1531838)
Backed out changeset 3e538caf5af2 (bug 1531838)
Backed out changeset ae727251b802 (bug 1531838)
Backed out changeset 9b0dab8154c0 (bug 1531838)
2019-04-12 02:15:40 +03:00
Gijs Kruitbosch edfb488cf8 Bug 1543733 - don't force text colour for disabled checkboxes in customize mode, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27105

--HG--
extra : moz-landing-system : lando
2019-04-11 21:46:36 +00:00
nidhi 226e83369e BUG 1448932 - Added: Prefs for tracking protection intro r=johannh
replaced MAX_INTROS constant value of 20 with pref set to 5

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

--HG--
extra : moz-landing-system : lando
2019-04-11 21:58:58 +00:00
Nihanth Subramanya 460a6d9075 Bug 1531838 - Inject/remove stylesheets in a Services.tm.dispatchToMainThread call. r=johannh
This avoids an AssertionError when loading a stylesheet in a nested
event loop. See comment 15 in the bug.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 21:41:43 +00:00
Nihanth Subramanya fb51bfa78f Bug 1531838 - Ensure we don't set up twice on any window. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26701

--HG--
extra : moz-landing-system : lando
2019-04-10 22:12:09 +00:00
Nihanth Subramanya d849a2f135 Bug 1531838 - Reliably wait for click-to-play popup notification in private windows. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26700

--HG--
extra : moz-landing-system : lando
2019-04-10 22:11:39 +00:00
Nihanth Subramanya 4716e57f4c Bug 1531838 - Inline PanelUI code and avoid leaving behind properties on windows. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26699

--HG--
extra : moz-landing-system : lando
2019-04-10 22:11:32 +00:00
Nihanth Subramanya de16116657 Bug 1531838 - Enable Firefox Monitor by default. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D23837

--HG--
extra : moz-landing-system : lando
2019-04-10 22:09:48 +00:00
Dale Harvey 0b929a867e Bug 1496075 - Part 4: Delete searchplugins. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D25357

--HG--
extra : moz-landing-system : lando
2019-04-11 20:49:56 +00:00
Dale Harvey 9bdc33dd43 Bug 1496075 - Part 3: Use webextensions in SearchServices. r=mikedeboer,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D25246

--HG--
rename : browser/components/search/searchplugins/list.json => browser/components/search/extensions/list.json
rename : browser/components/search/searchplugins/images/wikipedia.ico => toolkit/components/search/tests/xpcshell/data/test-extensions/multilocale/favicon.ico
rename : browser/components/search/searchplugins/images/google.ico => toolkit/components/search/tests/xpcshell/data/test-extensions/special-engine/favicon.ico
extra : moz-landing-system : lando
2019-04-11 20:49:31 +00:00
Dale Harvey 7ebe97c465 Bug 1496075 - Part 1: Extensions changes to support search extensions. r=mixedpuppy,robwu
Differential Revision: https://phabricator.services.mozilla.com/D25244

--HG--
extra : moz-landing-system : lando
2019-04-11 21:30:47 +00:00