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

55584 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner ebd599c0cc Bug 1541924 - Enforce that BookmarkJSONUtils.importFromURL can only be used with chrome and file URLs. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D26921

--HG--
extra : moz-landing-system : lando
2019-04-12 12:34:44 +00:00
Andrea Marchesini a4a901bb22 Bug 1536411 - StoragePrincipal - part 9 - documentation, r=ckerschb,asuth
Differential Revision: https://phabricator.services.mozilla.com/D26479

--HG--
extra : moz-landing-system : lando
2019-04-12 05:29:09 +00:00
Andrea Marchesini f51a81f6d6 Bug 1536411 - StoragePrincipal - part 8 - SharedWorkers, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D25790

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:19 +00:00
Andrea Marchesini ad7d593761 Bug 1536411 - StoragePrincipal - part 7 - test for DOMCache and ServiceWorkers, r=Ehsan,asuth
Differential Revision: https://phabricator.services.mozilla.com/D25778

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:36 +00:00
Andrea Marchesini a2db742a8c Bug 1536411 - StoragePrincipal - part 6 - Cookies, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24864

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:43 +00:00
Andrea Marchesini 3ec4717c70 Bug 1536411 - StoragePrincipal - part 5 - Tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24029

--HG--
rename : toolkit/components/antitracking/test/browser/head.js => toolkit/components/antitracking/test/browser/antitracking_head.js
extra : moz-landing-system : lando
2019-04-12 05:30:56 +00:00
Andrea Marchesini a438b12ebd Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24025

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:32 +00:00
Marco Bonardo 68753b643a Bug 1543617 - Disallow place: urls in text flavors. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D27048

--HG--
extra : moz-landing-system : lando
2019-04-11 14:31:03 +00:00
Gabriele Svelto 94d70e0739 Bug 1538810 - Updated breakpad's curl and musl headers r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26489

--HG--
extra : moz-landing-system : lando
2019-04-09 16:04:25 +00:00
Gabriele Svelto 430b96c517 Bug 1538810 - Update breakpad to upstream revision 4d550cceca107f36c4bc1ea1126b7d32cc50f424 r=froydnj
This includes improvements to the Linux exception handler that will provide
crash addresse for a number of signals by reading the NT_SIGINFO structure and
quites warnings in a number of files. This also removes an unused header.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 16:04:24 +00:00
Liang-Heng Chen 2cb34bb8bf Bug 1539641 - Log and report storage access granted reason; r=Ehsan,chutten
Differential Revision: https://phabricator.services.mozilla.com/D26720

--HG--
extra : moz-landing-system : lando
2019-04-12 00:38:57 +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
Liang-Heng Chen b8ea89ee32 Bug 1537659 - import disconnect domains list; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D26683

--HG--
extra : moz-landing-system : lando
2019-04-11 22:13:09 +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 81edbab4a6 Bug 1496075 - Part 2: Telemetry changes to support search extensions. r=chutten,raphael
Differential Revision: https://phabricator.services.mozilla.com/D25245

--HG--
extra : moz-landing-system : lando
2019-04-11 20:48:57 +00:00
Dale Harvey 374f6a02aa Bug 1486820 - Part 2: Add tests to ensure valid manifest. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D25381

--HG--
extra : moz-landing-system : lando
2019-04-11 20:48:22 +00:00
Shane Caraveo 964cc5ac33 Bug 1528562 support POST with 303 redirect in identity.launchWebAuthFlow r=rpl,Ehsan
nsBrowserStatusFilter is updated to not filter out STATE_IS_REDIRECTED_DOCUMENT.

The test here is adding a way to have a "login form" do a post to a server script, which then does a 303 redirect.  This mimics what some services, including LinkedIn do during this stage.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 21:26:14 +00:00
Oana Pop Rus 76651301a1 Backed out changeset acb04833e713 (bug 1500533) for assertion failure in nsHttpChannel.cpp on a CLOSED TREE 2019-04-11 23:15:08 +03:00
Noemi Erli aa44fadac3 Backed out 3 changesets (bug 1536170) for xpcshell failures in test_bookmark_duping.js CLOSED TREE
Backed out changeset 57c26f8e0bf7 (bug 1536170)
Backed out changeset ccea2e827d9d (bug 1536170)
Backed out changeset 51a67bffd7d2 (bug 1536170)
2019-04-11 23:05:24 +03:00
Cosmin Sabou af07021e88 Backed out 10 changesets (bug 1536411) for causing leaks in CondVar, MessagePortService, MessagePortServiceData.
Backed out changeset eda5854cd7e8 (bug 1536411)
Backed out changeset f94dfbf2476c (bug 1536411)
Backed out changeset c68dc3152faa (bug 1536411)
Backed out changeset f67d157e8baf (bug 1536411)
Backed out changeset 1107a9767f38 (bug 1536411)
Backed out changeset ccbe1af00fb9 (bug 1536411)
Backed out changeset 552c4b588524 (bug 1536411)
Backed out changeset 2eb20578159b (bug 1536411)
Backed out changeset 45708d22bb6d (bug 1536411)
Backed out changeset 87601ef1d4d4 (bug 1536411)
2019-04-11 22:48:49 +03:00
Ehsan Akhgari bf2a5e6e54 Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
Differential Revision: https://phabricator.services.mozilla.com/D26996

--HG--
extra : moz-landing-system : lando
2019-04-11 18:36:16 +00:00
Michael Kaply 2ff9f81d03 Bug 1542371 - Add basic support for ExtensionSettings policy. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D26376

--HG--
extra : moz-landing-system : lando
2019-04-11 19:10:49 +00:00
Shane Caraveo a401892884 Bug 628041 refresh the install blocked panel text r=flod,aswan
Differential Revision: https://phabricator.services.mozilla.com/D25881

--HG--
extra : moz-landing-system : lando
2019-04-11 18:56:47 +00:00
dlee 2d7d027aab Bug 1543341 - Refine Safe Browsing log output. r=baku
After calling Lookup API per table, Safe Browsing outputs too many debug
message for a single URL lookup. Refine the current output.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 18:57:56 +00:00
Liang-Heng Chen 6b0c93a5f1 Bug 1543393 - shardIndex should not use ceil(); r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D26909

--HG--
extra : moz-landing-system : lando
2019-04-11 18:47:28 +00:00
Barret Rennie 1a53df3674 Bug 1536170 - Replace all usage of Async.yieldingIterator with Async.yieldingForEach r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26593

--HG--
extra : moz-landing-system : lando
2019-04-11 18:40:02 +00:00
Barret Rennie e46873db47 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-11 18:39:43 +00:00
Andrew Swan 4884d814ae Bug 1541577 followup: fix racy test r=me
--HG--
extra : rebase_source : d0398fbf75b9a9894e7c06defe0d616cc1ec71c7
2019-04-11 15:43:14 -07:00
Boris Zbarsky 86cc26b364 Bug 1543564 part 3. Get rid of pointless nsPIDOMWindowOuter::GetOuterWindow method. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D27028

--HG--
extra : moz-landing-system : lando
2019-04-11 14:14:15 +00:00
Boris Zbarsky d0bcf72821 Bug 1543564 part 2. Get rid of pointless nsPIDOMWindowInner::AsInner methods. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D27027

--HG--
extra : moz-landing-system : lando
2019-04-11 14:12:43 +00:00
Liang-Heng Chen b100d76702 Bug 1539536 - implement content blocking measurements using prio; r=Ehsan,englehardt
randomly choose 1% users and their 0.14% page view to measure content blocking.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 22:15:07 +00:00
Andrew Swan 9a58fa2896 Bug 1539598 Require pre-install confirmation on all addons installs from outside about:addons r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26024

--HG--
extra : rebase_source : 6f67d4637ea1160031afce5307cdb522c9ecccce
extra : source : 7a05ac03465cb38ba5a798cb762ccf20a6635f23
2019-04-03 15:30:38 -07:00
Bogdan Tara 8fa5eb9862 Backed out 3 changesets (bug 1543786) for browser_storageAccessRemovalNavigateTopframe.js failures CLOSED TREE
Backed out changeset 4f63311e6f00 (bug 1543786)
Backed out changeset 757b729752e0 (bug 1543786)
Backed out changeset 6aabad91d980 (bug 1543786)
2019-04-13 05:14:11 +03:00
Ehsan Akhgari decc40afd5 Bug 1543786 follow-up: Remove a call to a non-existent function 2019-04-12 19:08:36 -04:00
Ehsan Akhgari 9409810d68 Bug 1543786 - Ensure that we revoke a top frame's storage access when it is navigated away; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27155
2019-04-12 19:07:03 -04:00
Andrew Swan 8ba41fe60d Bug 1541577 Drop AddonInstall references when installs finish r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26013

--HG--
extra : rebase_source : 79d4ae90bb5851ecf41170b421d6f201b3abe573
2019-04-03 13:56:08 -07:00
Ciure Andrei 6d8c05133f Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-04-11 19:13:48 +03:00
Ciure Andrei bc3c25dece Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-04-11 12:57:28 +03:00
nidhi ad7be73c4a Bug 1543143 - deleted bogus selector in aboutLicense.css r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D27039

--HG--
extra : moz-landing-system : lando
2019-04-11 09:23:08 +00:00
Tim Nguyen cf0b44e062 Bug 1540387 - Allow built-in themes to use theme experiments. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D25535

--HG--
extra : moz-landing-system : lando
2019-04-11 00:15:42 +00:00
Nico Grunbaum 6db783d06e Bug 1518609 - Add telemetry to legacy maxRetransmitTime DataChannel param r=jib,janerik
Adds telemetry to the DataChannel init param maxRetransmitTime.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 01:42:51 +00:00
rdalal a0d2fda5dd Bug 1543484 - Add version comparison to JEXL filter r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D26975

--HG--
extra : moz-landing-system : lando
2019-04-10 21:08:19 +00:00
Coroiu Cristina d57bd2e86b Backed out changeset 1209711b3866 (bug 1541577) for browser-chrome failures at browser/components/preferences/in-content/tests/browser_browser_languages_subdialog.js on a CLOSED TREE 2019-04-11 04:47:58 +03:00
Andrew Swan 5edcbd87a8 Bug 1541577 Drop AddonInstall references when installs finish r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26013

--HG--
extra : moz-landing-system : lando
2019-04-10 21:22:14 +00:00
dlee 1a5716aba8 Bug 1543319 - P2. Swap the byte order in-place. r=gcp
We don't need an additional array just for byte reordering, replace
it with in-place processing.

Testcase are modified because the LookupCacheV4::Build API now clears the
input parameter.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 20:53:17 +00:00
dlee 63c7548a62 Bug 1543319 - P1. Free intermediate memory as early as possible during Safe Browsing update. r=gcp
Here is the flow how prefixes are handled during an V4 update:
1. Prefixes are received from Safe Browsing update, stored in ProtocolBuffer
2. Copy the prefixes from ProtocolBuffer to TableUpdate structure
3. Prefixes in TableUpdate are merged with local prefixes (stored in LookupCacheV4)
4. Merged prefixes are processes by PrefixSet to generate the in-memory prefix
   set data structure (MakePrefixSet).

In this patch, we free the prefixes stored in TableUpdate right after step3.
This reduces the peak memory used during an update (peak happens in step 4).

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

--HG--
extra : moz-landing-system : lando
2019-04-10 14:32:54 +00:00
Coroiu Cristina 4a56b6ca02 Backed out 4 changesets (bug 1540387) for xpcshell failures at toolkit/mozapps/extensions/test/xpcshell/test_shutdown.js on a CLOSED TREE
Backed out changeset 0f940b496e58 (bug 1540387)
Backed out changeset f8e11c0bb2a4 (bug 1540387)
Backed out changeset e3ca91d64e82 (bug 1540387)
Backed out changeset ee2913c76f4a (bug 1540387)
2019-04-11 02:57:19 +03:00
Coroiu Cristina 619127a72d Backed out changeset 6f3b93e9f07c (bug 1538460) for browser-chrome failures at toolkit/components/passwordmgr/test/browser/browser_hidden_document_autofill.js on a CLOSED TREE 2019-04-11 02:55:32 +03:00
Nick Alexander a8c9fd6a83 Bug 1542920 - Enable Marionette by default. r=froydnj
In particular, this enables Marionette in local Fennec builds, which
were the only place it wasn't enabled by default.  (Automation builds
all enabled Marionette.)  That default is getting in the way of the
Performance Team (and others!) testing GeckoView-based products
easily.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 14:11:17 +00:00
Hiroyuki Ikezoe 700ec53c21 Bug 1535232 - Take account the scroll-snap-margin and scroll-snap-padding into the position where we scroll to on Element.focus() call. r=masayuki,botond
We also take account those values in the case of `Find in page`.

The corresponding web platform tests will be coming from this PR.
https://github.com/web-platform-tests/wpt/pull/8575

Though some of them will not be passed, the failure reason is not related
to this change, I will take a look when the PR gets merged into mozilla-central.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 06:22:38 +00:00
Hiroyuki Ikezoe 7b600a0531 Bug 1534070 - Factor scroll-padding into the position calculation where nsIPresShell::ScrollContentIntoView() is going to scroll if necessary. r=botond
In the case where scroll-snap-type is specified for the scroll container, the
scroll-padding is also factored into in ScrollFrameHelper::ComputeScrollSnapInfo
which is called via ScrollFrameHelper::ScrollToWithOrigin.  It doesn't double
the scroll-padding value, but it's actually redundant, we should avoid it.
We could separate the functionality of ScrollToWithOrigin, one is to scroll
to a given element, the other is to scroll to a given position.  The former will
be used for Element.scrollIntoElement and relevant stuff, the latter will be
used for Element.scrollTo and relevant stuff.  That's being said, as of now, we
have still the old scroll snap implementation, so the separation will introduce
complexity, the separation should be done once after the old implementation
removed.

There are 9 call sites of nsIPresShell::ScrollContentIntoView:
  nsIPresShell::GoToAnchor
  nsIPresShell::ScrollToAnchor
  Element::ScrollIntoView
   We definitely needs scroll-padding and scroll-margin for these functions.

  nsCoreUtils::ScrollTo
   This is used for Accesible::ScrollTo which scrolls to a given accesible node,
   probably we should behave as what Element::ScrollIntoView does.

  Accessible::DispatchClickEvent
   Similar to the above, similated various mouse events on a given target node.

  PresShell::EventHandler::PrepareToUseCaretPosition
  PresShell::EventHandler::GetCurrentItemAndPositionForElement
   Both are for context menu, we shouldn't consider scroll-padding and
   scroll-margin.

  nsFormFillController::SetPopupOpen
   This is used for autocompletion popup, we shouldn't consider scroll-padding
   and scroll-margin.

  nsFocusManager::ScrollIntoView
   This is bit unfortunate, we should use scroll-padding and scroll-margin
   depending on call site of this function. Bug 1535232 is for this case.

cssom-view/scrollIntoView-scrollPadding.html which has some tests that is
actually testing scroll-padding with scrollIntoView passes with this change.

The reftest in this change is a test case that the browser navigates to an
element with specifying the anchor to the element.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 06:22:14 +00:00
Hiroyuki Ikezoe f7645a5770 Bug 1531228 - Enable the new scroll snap and disable the old scroll snap on nightly. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D22804

--HG--
extra : moz-landing-system : lando
2019-04-11 06:22:01 +00:00
Hiroyuki Ikezoe eab764a7ae Bug 1312163 - Switch to the new scroll-snap-type syntax for the old scroll snap implementation and drop the scroll-snap-type-{x,y} longhands. r=emilio
Now scroll-snap-type is a longhand property.

Depends on D21621

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

--HG--
extra : moz-landing-system : lando
2019-04-11 06:19:31 +00:00
Mike Hommey 8148056282 Bug 1543009 - Move Windows DHCP client xpcom component to static registration. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26892
2019-04-11 16:23:52 +09:00
Mike Hommey 360d145ec2 Bug 1543009 - Move Windows system proxy xpcom component to static registration. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26890
2019-04-11 16:22:06 +09:00
Mike Hommey 4befa68a32 Bug 1543009 - Move OSX system proxy xpcom component to static registration. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26889
2019-04-11 16:22:05 +09:00
Mike Hommey ac3c9a8844 Bug 1543009 - Move Android system proxy xpcom componen to static registration. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26888
2019-04-11 16:22:04 +09:00
Tim Nguyen 4b40cf8785 Bug 1540387 - Allow built-in themes to use theme experiments. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D25535

--HG--
extra : moz-landing-system : lando
2019-04-10 18:11:20 +00:00
Shane Caraveo e0751ce1f4 Bug 1543204 allow builtin addons to be hidden r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D26787

--HG--
extra : moz-landing-system : lando
2019-04-10 18:07:52 +00:00
Sam Foster d51a299100 Bug 1538460 - Only defer handling fields for login autofill when master password is not set. r=MattN
* Use Services.(ppmm|cpmm).sharedData to make isMasterPasswordSet value available to the content process
* We don't handle runtime enable/disable of MP

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

--HG--
extra : moz-landing-system : lando
2019-04-10 18:27:08 +00:00
Andrea Marchesini ddda66db66 Bug 1543314 - Cookies should be sent to the content process also for first-party channels when cookieBehavior is set to 2, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26859

--HG--
extra : moz-landing-system : lando
2019-04-10 15:25:13 +00:00
Brian Grinstead 0c7558a0dd Bug 1541516 - Instrument base custom element class and print call information in the console r=aswan
If MOZ_INSTRUMENT_CUSTOM_ELEMENTS is set in the environment, then modify Custom Elements
to wrap each function and property lookup to keep a count and running time. Then print out
tables for each element at startup. Tables can be re-printed with `MozElements.printInstrumentation()`.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 17:34:43 +00:00
Tim Nguyen 922bb154e6 Bug 1506913 - Don't apply theme colors on findbar when theme has a header image. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25538

--HG--
extra : moz-landing-system : lando
2019-04-10 16:52:41 +00:00
Bogdan Tara 6460d5d8d7 Backed out changeset f38ce082341e (bug 1506913) for browser_ext_themes_findbar.js failures CLOSED TREE 2019-04-10 19:35:03 +03:00
Shane Caraveo 7df3401a58 Bug 1532165 use prefs to support extension newtab and homepage on startup. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D25808

--HG--
extra : moz-landing-system : lando
2019-04-08 22:36:26 +00:00
Tim Nguyen 2facc8da36 Bug 1506913 - Don't apply theme colors on findbar when theme has a header image. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25538

--HG--
extra : moz-landing-system : lando
2019-04-10 15:07:21 +00:00
Jonathan Kingston 2b27f3c10d Bug 1479433 - Changing icons and colors for containers to be class based. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D24918

--HG--
extra : moz-landing-system : lando
2019-04-10 11:19:00 +00:00
Bogdan Tara b9b45ca909 Backed out changeset 6ce615da7b68 (bug 1506913) for browser_ext_themes_findbar.js failures CLOSED TREE 2019-04-10 17:38:34 +03:00
Martin Stransky e1d04ebd15 Bug 1433685 - Remove nsGConfService, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D26484

--HG--
extra : moz-landing-system : lando
2019-04-10 10:18:14 +00:00
Tim Nguyen c45a5e3ce2 Bug 1506913 - Don't apply theme colors on findbar when theme has a header image. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25538

--HG--
extra : moz-landing-system : lando
2019-04-10 09:52:55 +00:00
Trushita 89435f2ad4 Bug 1494948: Removed FX_PREFERENCES_OPENED_VIA probe and origin parameter for openPreferences r=jaws,chutten
Removed FX_PREFERENCES_OPENED_VIA probe as it expired in 63.Origin parameter for openPreferences has also been removed.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 20:40:26 +00:00
Andrea Marchesini 7ebd463919 Bug 1543001 - ContentBlocking exception should cover top-level domain too, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26732

--HG--
extra : moz-landing-system : lando
2019-04-10 07:08:28 +00:00
Bogdan Tara 4f73dda990 Backed out changeset de4994d56894 (bug 1543001) on baku's request CLOSED TREE 2019-04-10 10:11:13 +03:00
Andrea Marchesini f9bbc9217b Bug 1543001 - ContentBlocking exception should cover top-level domain too, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26732

--HG--
extra : moz-landing-system : lando
2019-04-10 06:37:30 +00:00
Bogdan Tara a97e039beb Backed out changeset df1a7989c777 (bug 1543001) on baku's request CLOSED TREE 2019-04-10 09:35:01 +03:00
Andrea Marchesini 7b9433ea0f Bug 1543001 - ContentBlocking exception should cover top-level domain too, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26732

--HG--
extra : moz-landing-system : lando
2019-04-10 06:04:07 +00:00
Andrea Marchesini cb6c3424f0 Bug 1543079 - Use Window and Channel IDs instead of pointers in ContentBlockingAllowListKey, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26706

--HG--
extra : moz-landing-system : lando
2019-04-09 22:11:10 +00:00
Valentin Gosu e2ba952f6c Bug 1530303 - Add test for multiple COOP header navigations r=nika
Differential Revision: https://phabricator.services.mozilla.com/D23934

--HG--
extra : moz-landing-system : lando
2019-04-09 20:09:55 +00:00
Narcis Beleuzu e29fb0bb6d Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : devtools/client/debugger/new/src/actions/pause/paused.js => devtools/client/debugger/src/actions/pause/paused.js
rename : devtools/client/debugger/new/src/actions/pause/resumed.js => devtools/client/debugger/src/actions/pause/resumed.js
rename : devtools/client/debugger/new/src/actions/pause/tests/pause.spec.js => devtools/client/debugger/src/actions/pause/tests/pause.spec.js
rename : devtools/client/debugger/new/src/actions/tests/ast.spec.js => devtools/client/debugger/src/actions/tests/ast.spec.js
rename : devtools/client/debugger/new/src/actions/tests/expressions.spec.js => devtools/client/debugger/src/actions/tests/expressions.spec.js
rename : devtools/client/debugger/new/src/actions/tests/helpers/threadClient.js => devtools/client/debugger/src/actions/tests/helpers/threadClient.js
rename : devtools/client/debugger/new/src/client/firefox/commands.js => devtools/client/debugger/src/client/firefox/commands.js
rename : devtools/client/debugger/new/test/mochitest/.eslintrc => devtools/client/debugger/test/mochitest/.eslintrc
rename : devtools/client/debugger/new/test/mochitest/browser_dbg-breakpoints-columns.js => devtools/client/debugger/test/mochitest/browser_dbg-breakpoints-columns.js
rename : devtools/client/debugger/new/test/mochitest/browser_dbg-breakpoints-cond.js => devtools/client/debugger/test/mochitest/browser_dbg-breakpoints-cond.js
2019-04-10 01:26:00 +03:00
Narcis Beleuzu 065ab21012 Merge inbound to mozilla-central. a=merge 2019-04-10 01:09:36 +03:00
Mike Hommey d452755d02 Bug 1542996 - Remove duplicate component registration. r=kmag
Bug 1478124 and bug 1524687 converted many things to static xpcom
component registration, but somehow left the corresponding C++
initialization.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:49 +00:00
Alexander Surkov e163a0e714 Bug 1542844 - All wizards displays [Done] button from the point where they open on OS X, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D26734

--HG--
extra : moz-landing-system : lando
2019-04-09 21:16:07 +00:00
Michael Froman 0b07404bf5 Bug 1539029 - pt 1 - give RDD its own process selector. r=froydnj
Originally, RDD reused the GPU process selector since they were
using all the same services, and it reduced the number of places
that had to be touched.  Now that RDD needs pref handling, it
needs its own process selector to avoid GPU inheriting pref
handling.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 21:13:16 +00:00
Dave Townsend 58c5da3a73 Bug 1542716: Allow overriding the update channel that is used when generating the default profile name. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26632

--HG--
extra : moz-landing-system : lando
2019-04-09 18:38:17 +00:00
Andreas Tolfsen a697e45782 bug 1542861: browser, toolkit: fix remote agent packaging; r=firefox-build-system-reviewers,mshal
The RemoteAgent.js script has (temporarily) changed name to
remote/command-line-handler.js, and the chrome component remote.jar
was not included during packaging.  This patch fixes both these things.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 20:33:19 +00:00
Ryan VanderMeulen 654fc0c672 Bug 1542735 - Don't try to build TestUCRTDepends if tests are disabled. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26501

--HG--
extra : moz-landing-system : lando
2019-04-09 18:46:49 +00:00
Nathan Froyd a18df6e1a4 Bug 524410 - part 5 - merge adjacent line records where possible; r=gsvelto
After replacing precise line information from .debug_line with coarse
line information from DW_AT_call_{file,line}, it's very likely that
adjacent line records actually refer to identical file and line
numbers.  Such adjacent records are not really useful and take up more
space than they should in the symbol file.  We might as well merge them
and save ourselves some space.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:10 +00:00
Nathan Froyd 0bc682f0a1 Bug 524410 - part 4 - look through lexical block DIEs where appropriate; r=gsvelto
DW_TAG_subprogram DIEs sometimes have child DW_TAG_lexical_block DIEs
which in turn contain child DW_TAG_inlined_subroutine DIEs that we woud
like to look at.  If we skip the DW_TAG_inlined_subroutine DIEs, we miss
important information.  We therefore need to look through the
DW_TAG_lexical_block DIEs to find the DIEs that we are interested in.

Depends on D25471

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

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:10 +00:00
Nathan Froyd 9deb471fc5 Bug 524410 - part 3 - replace line information for inlined functions; r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D25471

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:09 +00:00
Nathan Froyd 52be053c0b Bug 524410 - part 2 - parse DW_TAG_inlined_subroutine DIEs; r=gsvelto
We record the file and line that these subroutines were inlined from.
We'll use that information to provide more coarse-grained line
information in the next patch.

Depends on D25469

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

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:09 +00:00
Nathan Froyd d648debc54 Bug 524410 - part 1 - extract file information out of .debug_line parsing; r=gsvelto
The DW_AT_call_file attributes that we eventually want to parse from
DW_TAG_inlined_subroutine DIEs refer to the file name table stored in
the .debug_line section.  To resolve those DW_AT_call_file attributes,
we need access to that table after parsing of the appropriate
.debug_line bits is done.  This patch adds support for extracting that
information from the .debug_line parsing process.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:09 +00:00
Lina Cambridge 9e950e825b Bug 1542990 - Use "Toolkit :: Storage" for kvstore bugs. DONTBUILD r=mak,myk
Differential Revision: https://phabricator.services.mozilla.com/D26657

--HG--
extra : moz-landing-system : lando
2019-04-09 18:11:57 +00:00
Chris H-C b5cb77c347 Bug 1539257 - Show Origin Telemetry in about:telemetry l10n-r?flod r=janerik,flod
Differential Revision: https://phabricator.services.mozilla.com/D26715

--HG--
extra : moz-landing-system : lando
2019-04-09 16:53:09 +00:00
Vijay Budhram cc01c2ca14 Bug 1535937 - Add custom telemetry for FxA toolbar menu r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25225

--HG--
extra : moz-landing-system : lando
2019-04-09 13:30:59 +00:00
Marco Bonardo 06d433199e Bug 1541399 - Ensure we don't fetch search suggestions for file urls. r=adw
Fixes the tokenizer to recognize file:/// urls, plus adds a second layer of
protection, so that if URI fixup thinks the typed string may be an url, we don't
fetch suggestions for it.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 23:50:21 +00:00
Mike Hommey 071a2fe984 Bug 1541792 - Replace linker magic with manual component registration. r=froydnj
Before bug 938437, we had a rather large and error-prone
nsStaticXULComponents.cpp used to register all modules. That was
replaced with clever use of the linker, which allowed to avoid the mess
that maintaining that file was.

Fast forward to now, where after bug 1524687 and other work that
preceded it, we have a much smaller number of remaining static xpcom
components, registered via this linker hack, and don't expect to add
any new ones. The list should eventually go down to zero.

Within that context, it seems to be the right time to get rid of the
magic, and with it the problems it causes on its own.

Some of those components could probably be trivially be converted to
static registration via .conf files, but I didn't want to deal with the
possible need to increase the number of dummy modules in XPCOMInit.cpp.
They can still be converted as a followup.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 02:30:56 +00:00
Myk Melez 8921690f26 Bug 1542888 - avoid Rkv::Manager call to std::fs::canonicalize r=lina
Avoid using Rkv::Manager, which calls std::fs::canonicalize, triggering bug 1531887 in Firefox on Android.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 03:57:18 +00:00
Emilio Cobos Álvarez d69e259595 Bug 1542193 - Unify handling of e10s and non-e10s Forms:ShowDropDown messages. r=mconley
I assume this was an artifact of when this was done with XBL.

Depends on D26517

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

--HG--
extra : moz-landing-system : lando
2019-04-08 18:22:20 +00:00
Emilio Cobos Álvarez fe83b723b7 Bug 1542193 - Fix handling of select's direction in e10s. r=mconley
In bug 1375476 I fixed one of the places but missed the other. I'll refactor
them in a bit.

I wish I could run the select tests locally to extend them properly...

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

--HG--
extra : moz-landing-system : lando
2019-04-08 18:19:28 +00:00
Botond Ballo 01fb933f83 Bug 1516056 - Remove SessionStoreUtils workaround added in bug 1538762. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D25526

--HG--
extra : moz-landing-system : lando
2019-04-08 23:35:53 +00:00
Dave Townsend 756e9d9e2a Bug 1542221: Correctly save the state of nsIToolkitProfileService.startWithLastProfile. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26576

--HG--
extra : moz-landing-system : lando
2019-04-08 22:50:42 +00:00
Andrew McCreight 1b901ff2db Bug 1542024 - Eliminate nsXPCWrappedJSClass by moving its methods into nsXPCWrappedJS. r=bzbarsky
I changed DelegatedQueryInterface and CallMethod to be non-static
methods rather than taking an explicit |self| parameter.

There is already a method nsXPCWrappedJS::CallMethod() with the same
signature, but it is a shim, so I inlined it into the version in
XPCWrappedJSClass.cpp.

I also fixed up a few comments that mention nsXPCWrappedJSClass.

The new comments starting with "We now need to enter the realm" were
written by Boris, and are a little more explicit so they are easier to
understand.

I renamed DebugDump() to DebugDumpInterfaceInfo() to be more
informative.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 21:39:27 +00:00
Ciure Andrei 3ff6ff6d6f Backed out changeset 5937ad352b2d (bug 1542024) for perma failing 406106-1.html CLOSED TREE 2019-04-09 00:12:32 +03:00
Geoff Brown 8d88b9a596 Bug 1318091 - Disable failing android gtests; r=bc
Disable gtests observed to fail on Android. Some of these are simple build
failures and failures due to file permissions or paths, while other failures
are more obscure.
Once Android gtests are running on mozilla-central, I will file follow-up
bugs inviting teams to investigate the failures and re-enable Android gtests
that are important to them.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 20:58:21 +00:00
Aaron Klotz 7dc9ef4c4d Bug 1541130: Add XRE_GetChildProcBinPathType to nsXULAppAPI.h; r=froydnj,jld
The binary path type of a particular content process is useful information
outside of IPC. Given that `XRE_EnableSameExecutableForContentProc` already
exists, and given that the binary path type is closely related to
`GeckoProcessType`, I've added a new function, `XRE_GetContentProcBinPathType`.

The mapping of process type to binary type has been moved to the
`GeckoProcessTypes` definitions.

This patch also modifies `ipc::GeckoChildProcessHost` to call into the new
function.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 20:19:51 +00:00
Chris H-C edef257303 Bug 1527656 - Telemetry.recordEvent should not throw r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D26380

--HG--
extra : moz-landing-system : lando
2019-04-08 20:19:03 +00:00
Andreas Tolfsen 32c351567c bug 1542836: toolkit/xre: format --MOZ_LOG and --MOZ_LOG_FILE help text; r=erahm
Produces a help text that conforms to the line width recommendations
of nsICommandLine.

On the other hand, the formatting of the source code itself is
rendered rather ugly by clang-format.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 19:30:44 +00:00
Andrew McCreight ccc11f67db Bug 1542024 - Eliminate nsXPCWrappedJSClass by moving its methods into nsXPCWrappedJS. r=bzbarsky
I changed DelegatedQueryInterface and CallMethod to be non-static
methods rather than taking an explicit |self| parameter.

I did a tiny bit of cleanup in the nsIXPConnectJSObjectHolder case of
DelegatedQueryInterface().

There is already a method nsXPCWrappedJS::CallMethod() with the same
signature, but it is a shim, so I inlined it into the version in
XPCWrappedJSClass.cpp.

I also fixed up a few comments that mention nsXPCWrappedJSClass.

The new comments starting with "We now need to enter the realm" were
written by Boris, and are a little more explicit so they are easier to
understand.

I renamed DebugDump() to DebugDumpInterfaceInfo() to be more
informative.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 19:44:45 +00:00
Dimi Lee fe3a1447b2 Bug 1542149 - Add some MacOS file extensions to to the list of executable extensions in download protection. r=Gijs
Here are the file extensions are added to the list:
1. action
2. caction
3. configprofile
4. definition
5. dylib
6. internetconnect
7. networkconnect
8. service
9. wflow
10.workflow

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

--HG--
extra : moz-landing-system : lando
2019-04-05 12:04:49 +00:00
Ciure Andrei dc0b2df589 Backed out 3 changesets (bug 1541130) for causing GeckoChildProcessHost.cpp build bustages CLOSED TREE
Backed out changeset 656108173cde (bug 1541130)
Backed out changeset 5914a425bc67 (bug 1541130)
Backed out changeset 8ef30ebad16c (bug 1541130)
2019-04-08 22:54:57 +03:00
Aaron Klotz dd69e6bdd5 Bug 1541130: Follow-up: Add missing parts that had been stripped out during rebase; r=froydnj, jld on a CLOSED TREE
--HG--
extra : histedit_source : 2849ecff69e5b362ac2565552e101c542b47f696
2019-04-08 12:55:55 -06:00
Felipe Gomes 8b53b905aa Bug 1542760 - Correctly report the GPU process in about:support. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D26526

--HG--
extra : moz-landing-system : lando
2019-04-08 14:46:59 +00:00
Lina Cambridge 6bef7b8477 Bug 1542528 - Add an `xpcom::c_str` macro for creating static C strings. r=froydnj
This is based on the `c_str` macro in `js/rust/src/heap.rs`, but
returns a `NulTerminatedCStr` type that can be cast to a pointer.

This commit also changes `ThreadPtrHolder::new` to take a
`NulTerminatedCStr`, and removes an unnecessary `RefPtr` reference in
`is_current_thread`.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 14:43:35 +00:00
Chris H-C 1360eb1f6c Bug 1521597 - Remove data collection no longer useful r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D26375

--HG--
extra : moz-landing-system : lando
2019-04-08 07:27:14 +00:00
Luca Greco 8e50a683f8 Bug 1525917 - Add test for background page request cookies on cookieBehaviors. r=Ehsan,mixedpuppy
Depends on D22347

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

--HG--
extra : moz-landing-system : lando
2019-04-05 17:52:07 +00:00
Luca Greco b4fe2cd3b8 Bug 1525917 - Do not override cookieBehavior to accept for an extension top level principal. r=Ehsan,baku
Differential Revision: https://phabricator.services.mozilla.com/D22347

--HG--
extra : moz-landing-system : lando
2019-04-05 17:54:56 +00:00
Avery Berninger fa0b54611b Bug 1523741 - Converting legacy aboutTelemetry to Fluent aboutTelemetry, r=jaws,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D20417

--HG--
extra : moz-landing-system : lando
2019-04-08 09:15:16 +00:00
Cosmin Sabou 2174454bff Backed out changeset 7e40ec0c948d (bug 1523741) for telemetry failures on aboutTelemetry.homeSection. 2019-04-06 20:44:55 +03:00
Avery Berninger 09dac60807 Bug 1523741 - Converting legacy aboutTelemetry to Fluent aboutTelemetry, r=jaws,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D20417

--HG--
extra : moz-landing-system : lando
2019-04-06 00:54:52 +00:00
Felipe Gomes 0991a67ee9 Bug 1505322 - Display a breakdown of remote processes in about:support. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D26015

--HG--
extra : moz-landing-system : lando
2019-04-06 05:49:47 +00:00
Sylvestre Ledru 03fc65347c Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-05 21:42:17 +00:00
Sylvestre Ledru 03c8e8c2dd Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-05 21:41:42 +00:00
Brian Grinstead dd5a4c95c6 Bug 1495861 - Convert <radio> to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D8121

--HG--
extra : moz-landing-system : lando
2019-04-05 21:16:24 +00:00
Lina Cambridge ef1ac8b64d Bug 1540894 - Store diverging structure in the bookmarks mirror. r=tcsc
This commit:

* Uses chunking to insert child GUIDs in `storeRemoteFolder`.
* Changes the mirror schema to store diverging structure, so that it
  can be passed to Dogear.
* Sorts remote items by GUID, so that diverging ones can be reparented
  in a deterministic order.
* Measures and logs the time taken to run the Rust merger.
* Adds tests for multiple parents and replacing invalid remote items.
* Fixes two tests in `test_bookmark_structure_changes` to ensure the
  remote structure is consistent.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 20:44:43 +00:00
Lina Cambridge 55eaa1eb23 Bug 1540894 - Vendor Dogear v0.2.3. r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26274

--HG--
extra : moz-landing-system : lando
2019-04-05 20:44:18 +00:00
Tom Ritter f957bd6970 Bug 1520177 - Fixed MinGW build's accessibility r=froydnj
This patch contains three fixes.

1) As in Bug 1515982, we use the constant for RT_MANIFEST instead of
the define, which needs winuser.rh to be included

2) We stop exempting the mingw builds from RCINCLUDE in
toolkit/library/moz.build which causes us to miss all of the
resources in xul.dll

3) We explicitly include IA2Marshal.dll instead of relying on
compiler magic to include it for us.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 18:14:16 +00:00
Randall E. Barker f0ff77d732 Bug 1541285 - Set CrashGenerationServer thread name for Linux and Android r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D25983

--HG--
extra : moz-landing-system : lando
2019-04-05 20:14:21 +00:00
Jan-Erik Rediger 1f35158e01 Bug 1539907 - Don't write category labels for histograms when not recorded on target r=chutten
The new histogram is used as a compile-time check.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 17:51:59 +00:00
Luca Greco f84cec16a0 Bug 1541449 - storage.local API should fire onChanged event when falsey values are removed. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D25949

--HG--
extra : moz-landing-system : lando
2019-04-04 12:06:44 +00:00
Jan-Erik Rediger 02ff9a3491 Bug 1539166 - Trigger periodic prio ping once a day r=chutten
Depends on D26152

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

--HG--
extra : moz-landing-system : lando
2019-04-05 16:17:06 +00:00
Jan-Erik Rediger bddd7c0344 Bug 1539166 - Trigger periodic ecosystem ping once a day r=chutten
Depends on D26151

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

--HG--
extra : moz-landing-system : lando
2019-04-05 15:48:58 +00:00
Jan-Erik Rediger e391635b57 Bug 1539166 - Allow other periodic pings to be sent at regular intervals r=chutten
Depends on D26150

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

--HG--
extra : moz-landing-system : lando
2019-04-05 15:48:56 +00:00
Jan-Erik Rediger 1520e51251 Bug 1539166 - Simplify daily ping reschedule r=chutten
This is only called on environment-changed pings.
We avoid re-setting the scheduler timeout, so that we can trigger other
pings at regular intervals unrelated to main pings.
This will not cause the daily ping to be sent more often, at worst we
schedule something once too frequently.

Depends on D26149

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

--HG--
extra : moz-landing-system : lando
2019-04-05 15:48:54 +00:00
Jan-Erik Rediger 3019794ae5 Bug 1539166 - Remove unused variables r=chutten
Depends on D26148

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

--HG--
extra : moz-landing-system : lando
2019-04-05 15:48:52 +00:00
Jan-Erik Rediger 8146a3e97f Bug 1539166 - Remove expired probes from scheduler r=chutten
Depends on D26147

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

--HG--
extra : moz-landing-system : lando
2019-04-05 15:48:50 +00:00
Jan-Erik Rediger e6db11bfe7 Bug 1539166 - Refactor the session scheduler into its own module r=chutten
This is in preparation for further logic refactoring in later commits.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 16:17:42 +00:00
Bogdan Tara 7a0e800fa9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-05 19:21:43 +03:00
Bogdan Tara 621ec01c2c Merge inbound to mozilla-central. a=merge 2019-04-05 19:18:43 +03:00
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
Valentin Gosu 82dcbf9648 Bug 1456005 - Set LOAD_DISABLE_TRR flag in CaptiveDetect.jsm r=mayhemer
This is useful to prevent issues in TRR mode 2 when a captive portal redirect occurs via DNS.
For example, if we are in an unlocked CP and in suddenly locks, we must make sure that we don't use a cached DNS entry from when the portal was unlocked.
This is especially relevant in split horizon situations.

This isn't useful in TRR mode 3, as the flag would just cause the resolution to fail.
For that we need to add the captive portal URI to the TRR exclusion list.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 12:08:57 +00:00
Petru Lingurar 09848ea4e6 Bug 1520770 - Ignore `mozvisualscroll` immediately after setFontSize/setFontType in AboutReader.jsm; r=Gijs
Previously `mozvisualscroll` would close the reader dropdown and maybe even
hide the system UI and the 'reader-toolbar' entirely.
Because this would fire for any visual viewport scrolls which might happen when
the user choses any new font options it would inadvertently close that dropdown
and take the options away from the user even if he did not finish configurating
reader mode.

With this patch closing the reader dropdown will be the responsability of other
events firing and `mozvisualscroll` will only hide the 'reader-toolbar' if the
reader dropwdown is not currently opened signifying the user is in the process
of making changes to the reader mode experience.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 11:02:47 +00:00
Ludovic Hirlimann c6e921c5bf Bug 1539768 - remove unecessary check for crashreporter-ovevrride.ini during startup r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D25210

--HG--
extra : moz-landing-system : lando
2019-04-05 10:41:56 +00:00
Tim Nguyen 0987d5d4e2 Bug 1544887 - Fix some in-content page icon colors in dark mode. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D27774

--HG--
extra : moz-landing-system : lando
2019-04-17 09:19:35 +00:00
Tim Nguyen 961a351fea Bug 1544909 - Fix appearance of about:telemetry current ping dialog. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D27851

--HG--
extra : moz-landing-system : lando
2019-04-17 08:40:12 +00:00
Arpit 5bc34e8fef Bug 1531791 - Removed unused typedef StringToHistogramIdMap r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D27415

--HG--
extra : moz-landing-system : lando
2019-04-17 07:34:56 +00:00
Brian Grinstead 6d157529af Bug 1544924 - Support filtering individual classes with MOZ_INSTRUMENT_CUSTOM_ELEMENTS;r=aswan
For example, you can do MOZ_INSTRUMENT_CUSTOM_ELEMENTS=MozXULElement,Button
to limit output to classes containing those strings in their name

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

--HG--
extra : moz-landing-system : lando
2019-04-17 01:12:41 +00:00
Botond Ballo d6bd83e7ed Bug 1513090 - Remove the HIDDEN_VIEWPORT_OVERFLOW_TYPE telemetry probe. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27635

--HG--
extra : moz-landing-system : lando
2019-04-16 17:39:57 +00:00
Nika Layzell 25b67f3167 Bug 1539163 - Part 3: tests for switch processes, r=qdot
Adds a basic test for this process switching functionality in subframes.

This tests one of the few forms of remoteness which are supported with the Part
1 patch, which is when navigating an iframe in a file:// document to a webpage.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 00:53:34 +00:00
Nika Layzell 40f96bcf80 Bug 1542791 - Part 1: Support enabling out-of-process iframes with per-frame granularity, r=mconley
This code builds on top of the E10S "remote tabs" configuration system to add a
system for specifying that remote subframes should be used. Fission can be
enabled for a window by including the "fission" flag in options when opening
the window.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 00:53:22 +00:00
Nika Layzell 90df5f7dcf Bug 1525427 - Part 2: Directly fetch browsingContext from frameLoader in browser-custom-element, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D25182

--HG--
extra : moz-landing-system : lando
2019-04-17 00:51:40 +00:00
Nika Layzell 7f4ecdea61 Bug 1538353 - Part 2: Create PBrowser actors using ManagedEndpoint instead of IPDL Ctors, r=bzbarsky
Depends on D24566

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

--HG--
extra : moz-landing-system : lando
2019-04-17 00:51:38 +00:00
Ian Moody 56d2ed1a23 Bug 1544284 - toolkit/ manual ESLint no-throw-literal fixes. r=Standard8
Includes an otherwise-automated change to test_jsctypes.js that required an
expectation change in test_ctypes.xul.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 19:30:27 +00:00
Ian Moody 57b82dd9be Bug 1544284 - toolkit/ automated ESLint no-throw-literal fixes. r=Standard8
Result of running:
$ mach eslint -funix toolkit/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

...and then reverting a couple of places where comments were touched,
as well as changes to toolkit/components/ctypes/tests/unit/test_jsctypes.js
that required expectation changes to
toolkit/components/ctypes/tests/chrome/test_ctypes.xul

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

--HG--
extra : moz-landing-system : lando
2019-04-16 19:30:27 +00:00
Eitan Isaacson 1538264ead Bug 1022528 - Add probe for high contrast theme. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D23033

--HG--
extra : moz-landing-system : lando
2019-04-16 22:32:53 +00:00
Andrea Marchesini 6c7d4cd432 Bug 1536411 - StoragePrincipal - part 9 - documentation, r=ckerschb,asuth
Differential Revision: https://phabricator.services.mozilla.com/D26479

--HG--
extra : moz-landing-system : lando
2019-04-11 16:47:24 +00:00
Andrea Marchesini bba5a7d699 Bug 1536411 - StoragePrincipal - part 8 - SharedWorkers, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D25790

--HG--
extra : moz-landing-system : lando
2019-04-11 16:47:26 +00:00
Andrea Marchesini 677630aa7c Bug 1536411 - StoragePrincipal - part 7 - test for DOMCache and ServiceWorkers, r=Ehsan,asuth
Differential Revision: https://phabricator.services.mozilla.com/D25778

--HG--
extra : moz-landing-system : lando
2019-04-11 16:29:13 +00:00
Andrea Marchesini 0830861f7e Bug 1536411 - StoragePrincipal - part 6 - Cookies, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24864

--HG--
extra : moz-landing-system : lando
2019-04-11 16:28:51 +00:00
Andrea Marchesini 7524dcd07e Bug 1536411 - StoragePrincipal - part 5 - Tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24029

--HG--
rename : toolkit/components/antitracking/test/browser/head.js => toolkit/components/antitracking/test/browser/antitracking_head.js
extra : moz-landing-system : lando
2019-04-11 16:28:28 +00:00
Andrea Marchesini 5cfeeda19e Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24025

--HG--
extra : moz-landing-system : lando
2019-04-11 16:27:12 +00:00
Andrea Marchesini 85f93c4ddc Bug 1541934 - mozStorageConnection can crash on shutdown, r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26491

--HG--
extra : moz-landing-system : lando
2019-04-11 16:43:13 +00:00
Andreea Pavel b0d7dc46eb Backed out changeset da3353f475f6 (bug 1528562) for failing mochitest/test_ext_identity.html on a CLOSED TREE 2019-04-11 18:57:48 +03:00
Alexander Surkov 370f7e7bdf Bug 1541045 - Drag space checkbox should be grey out when disabled r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D27065

--HG--
extra : moz-landing-system : lando
2019-04-11 15:38:57 +00:00
Shane Caraveo e5dba8b292 Bug 1528562 support POST with 303 redirect in identity.launchWebAuthFlow r=rpl,Ehsan
nsBrowserStatusFilter is updated to not filter out STATE_IS_REDIRECTED_DOCUMENT.

The test here is adding a way to have a "login form" do a post to a server script, which then does a 303 redirect.  This mimics what some services, including LinkedIn do during this stage.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 11:25:02 +00:00
Matthew Gaudet e1da88895b Bug 1543471 - Correct formatting in StartupTimeline.h r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D26968

--HG--
extra : moz-landing-system : lando
2019-04-11 13:50:27 +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
Johann Hofmann cdc128ccbe Bug 1532203 - Implement deleteByHost for NetworkCacheCleaner and ImageCacheCleaner. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D23491

--HG--
extra : moz-landing-system : lando
2019-04-05 09:57:34 +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
Csoregi Natalia ba58e936bd Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE 2019-04-05 09:48:19 +03:00
Sylvestre Ledru d1c1878603 Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Gijs Kruitbosch 0e774ff83f Bug 1541958 - remove nsIUserInfo which is unused, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D26212

--HG--
extra : moz-landing-system : lando
2019-04-04 20:09:34 +00:00
Brindusan Cristian 655cd99db5 Backed out 2 changesets (bug 1540170) for xpcshell failures at test_sanitizer.js. CLOSED TREE
Backed out changeset a13bf582f195 (bug 1540170)
Backed out changeset b5ed3294a9d7 (bug 1540170)
2019-04-05 06:23:23 +03:00
Liang-Heng Chen b56c857b8e Bug 1533363 - Part 2: Add HTTP Traffic category Telemetry; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D25135

--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:39 +00:00
Gijs Kruitbosch 8833331cd2 Bug 1540170 - release assert if something tries to start the history service before profile startup, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D24910

--HG--
extra : moz-landing-system : lando
2019-04-04 23:05:23 +00:00
Gijs Kruitbosch 13ff7ba935 Bug 1540170 - don't use history for windowless browsers, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D25587

--HG--
extra : moz-landing-system : lando
2019-04-04 23:05:25 +00:00
Dave Townsend 332067407d Bug 1539820: Fix test_claim_locked.js to work with dev-edition. r=Gijs
The original name of the profile is irrelevant here since we aren't testing
a migration to profiles-per-install. On dev-edition DEDICATED_NAME is the same
as PROFILE_DEFAULT so we correctly make a new profile with a unique name.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 21:56:42 +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
Narcis Beleuzu 24dbe577a5 Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE 2019-04-05 00:27:56 +03:00
Sylvestre Ledru 399dbd28fe Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Matthew Noorenberghe c79c58538b Bug 1541625 - Don't use an intermediate function for console logging in LoginHelper. r=jaws
This fixes the filename and line number of login manager logs.

This is basically a rebased backout of the LMH portion of changeset b1e3cd7db269.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 19:05:27 +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
Brindusan Cristian 6760a04b6a Backed out 2 changesets (bug 1533363) for build bustages at HttpTrafficAnalyzer.cpp.
Backed out changeset 99636457aa95 (bug 1533363)
Backed out changeset c3488f465c29 (bug 1533363)
2019-04-04 21:13:58 +03:00
Ehsan Akhgari 352131739f Bug 1538974 - Ensure that we accept uppercase characters for url-classifier annotation skip URLs; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26019

--HG--
extra : moz-landing-system : lando
2019-04-04 17:38:09 +00:00
Liang-Heng Chen d1e02bf1bf Bug 1533363 - Part 2: Add HTTP Traffic category Telemetry; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D25135

--HG--
extra : moz-landing-system : lando
2019-04-04 17:31:33 +00:00
Mike de Boer 5dedb6076d Bug 1541829 - Fixup the relative luminance implementation in the Color class and update its consumers with the correct API. r=jaws
Since we rarely touch this code, I took the liberty of changing this to a JS class
and fix the contrast ratio calculations to actually conform to the WCAG spec,
instead of using arbitrary constants.
I changed the `isBright` getter to `useBrightText`, because that is more apt;
we're usually looking for an answer to 'should I use white text on this background?',
instead of looking for an arbitrary threshold to classify a color as being bright.
I updated the tests to cover more of this and clarified the assertion messages as
well.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 16:36:17 +00:00
Yuan Cheng 69592562e9 Bug 1528573 - [RTL] The sloth SVG is overlapping the header in about:rights, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26064

--HG--
extra : moz-landing-system : lando
2019-04-04 16:45:56 +00:00
Gijs Kruitbosch 771cfc5d5e Bug 1541706 - fix linux intermittent xpinstall/browser_privatebrowsing.js, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D26186

--HG--
extra : moz-landing-system : lando
2019-04-04 16:30:13 +00:00
Alexander Surkov 7d23a96f82 Bug 1495357 - convert wizard-buttons binding to a Custom Element, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D23392

--HG--
extra : moz-landing-system : lando
2019-04-04 14:14:52 +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
Oana Pop Rus 046e28ecbd Backed out changeset 7a05ac03465c (bug 1539598) for turning bug 1531406 into perma on a CLOSED TREE 2019-04-04 15:35:04 +03:00
Trishul cd237dd283 Bug 1522227 - Prevent assigning a shortcut that is already assigned r=mstriemer,aswan,flod
Prevent assigning a shortcut that is already assigned

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

--HG--
extra : moz-landing-system : lando
2019-04-04 05:22:28 +00:00
Gijs Kruitbosch 3e756a4e5d Bug 1540170 - release assert if something tries to start the history service before profile startup, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D24910

--HG--
extra : rebase_source : c21f2cceca996630f4e0d8442c0282e361073505
2019-03-26 15:17:42 +00:00
Gijs Kruitbosch 750ee88f29 Bug 1540170 - don't use history for windowless browsers, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D25587

--HG--
extra : rebase_source : ec367a840c573caa5eadc8332e4137023d735c35
2019-04-01 11:59:40 +01:00
Coroiu Cristina 749dbdc496 Merge mozilla-central to inbound a=merge 2019-04-05 06:23:29 +03:00
paarmita e4592b471b Bug 1503506 - DRM notification displays unnecessary blank spaces before and after Learn More link r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D21594

--HG--
extra : moz-landing-system : lando
2019-03-24 08:01:17 +00:00
Martin Stransky 3503b00341 Bug 1540145 - [Linux] Don't use GConf service to get proxy configuration, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D25460

--HG--
extra : moz-landing-system : lando
2019-04-04 05:57:23 +00:00
Nicholas Nethercote f74cda17d3 Bug 1541269 - Make OnChildProcessDumpRequested() the same on all platforms. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D25884

--HG--
extra : moz-landing-system : lando
2019-04-03 18:54:04 +00:00
Ciure Andrei 69b3ed01c4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-04 07:39:40 +03:00
Ciure Andrei 4116e08315 Merge inbound to mozilla-central. a=merge 2019-04-04 07:34:14 +03:00
Masayuki Nakano 5e41233499 Bug 1540990 - Get rid of unnecessary nsIPresShell.h inclusions r=emilio
A lot of files include `nsIPresShell.h` even though currently they don't
need it.  This patch removes the unnecessary inclusions.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 00:19:48 +00:00
Andrew Swan 160a527be4 Bug 1539598 Require pre-install confirmation on all addons installs from outside about:addons r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26024

--HG--
extra : rebase_source : 980d355c60594374af016543eadd486b5ba127a4
2019-04-03 15:30:38 -07:00
Barret Rennie 9bbc7930d4 Bug 1510569 - Port onRefreshAttempted from WebProgressChild.jsm to C++ r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25650

--HG--
extra : moz-landing-system : lando
2019-04-03 17:32:56 +00:00
Barret Rennie 163ec0ba8b Bug 1510569 - Port onProgressChange notifications inside WebProgressChild.jsm to C++ r=baku
We do not need to handle onProgressChange64 notifications since the TabChild's
web progress events are filtered through an nsBrowserStatusFilter, which
truncates onProgresChange64 event values to 32-bit integers and then calls
onProgressChange.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:32:41 +00:00
Barret Rennie 9c76d87929 Bug 1510569 - Port onStatusChange notifications inside WebProgressChild.jsm to C++ r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25446

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:54 +00:00
Barret Rennie 779f6e3bbf Bug 1510569 - Reconstruct nsIWebProgress and nsIRequest for onContentBlockingEvent in TabParent r=Ehsan
Now that we have access to the RemoteWebProgress from the TabParent and can
construct RemoteWebProgress and RemoteWebProgressRequests in C++, we can
reconstruct the RemoteWebProgress and RemoteWebProgressRequest in the TabParent
instead of RemoteWebProgressManager. This improves the API for nsIBrowser and
RemoteWebProgressManager, removing the need for the
`callWebProgressContentBlockingEventListeners` method in both. It also means we
won't need to implement `callWebProgress*Listeners` for methods on nsIBrowser
and RemoteWebProgressManager for all other nsIWebProgress events.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:41 +00:00
Barret Rennie d4a4ddb2fc Bug 1510569 - Implement nsIWebProgressListener for RemoteWebProgressManager r=Ehsan
The RemoteWebProgressManager is now implemented in terms of a
nsIWebProgressListener. This paves the way for reconstructing the
nsIWebProgress and nsIRequest passed to the event handlers in C++ instead of in
JS and will alllow for a cleaner overall design.

While here, I also cleaned up RemoteWebProgressManager to use the class
syntactic sugar.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:27 +00:00
Barret Rennie 2217e5192a Bug 1510569 - Reimplement RemoteWebProgressRequest as an XPCOM component in C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24940

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:07 +00:00
Barret Rennie 611cae7854 Bug 1510569 - Reimplement RemoteWebProgress as an XPCOM component in C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24811

--HG--
extra : moz-landing-system : lando
2019-04-03 17:30:40 +00:00
Barret Rennie b4658569b0 Bug 1510569 - QueryInterface received nsIRequest in promiseBrowserLoaded to an nsIChannel r=kmag
Changing RemoteWebProgress to a C++ XPCOM object will cause the request being
passed into the `onStateChange` handler in `promiseBrowserLoaded` to become a
wrapped XPCOM object for an nsIRequest, instead of the JS object it was
previously. This results in the attribute lookup for `originalURI` on the
request to fail, leading to cascading failures.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:50:58 +00:00
Barret Rennie 87e30660c0 Bug 1510569 - Export nsBrowserStatusFilter.h r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D24988

--HG--
extra : moz-landing-system : lando
2019-04-03 17:28:56 +00:00
Razvan Maries 1cd564b971 Backed out changeset 3b94c20ba873 (bug 1540990) for build bustages. CLOSED TREE 2019-04-04 02:44:00 +03:00
Masayuki Nakano b2bba953cc Bug 1540990 - Get rid of unnecessary nsIPresShell.h inclusions r=emilio
A lot of files include `nsIPresShell.h` even though currently they don't
need it.  This patch removes the unnecessary inclusions.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 23:29:38 +00:00
Gijs Kruitbosch 382c9e2410 Bug 1528335, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D25775

--HG--
extra : moz-landing-system : lando
2019-04-03 21:01:19 +00:00
Gijs Kruitbosch 2930600872 Bug 1528335 - tests, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D25774

--HG--
extra : moz-landing-system : lando
2019-04-03 21:01:06 +00:00
Ehsan Akhgari de2dd15a33 Bug 1536664 - Re-enable the disabled anti-tracking tests now that bug 1498102 has been fixed; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D25936

--HG--
extra : moz-landing-system : lando
2019-04-03 17:52:10 +00:00
Ciure Andrei 58c8915ecd Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-04 00:57:38 +03:00
Jan Varga 0269846741 Bug 1540668 - IDB: Add a timer for ShutdownWorkThreads; r=asuth, dr=chutten
Differential Revision: https://phabricator.services.mozilla.com/D25745
2019-04-02 13:16:55 +02:00
Matthew Noorenberghe 55f5d94414 Bug 1540154 - Allow autocomplete=(email|tel|tel-national) to be username fields. r=sfoster
Some sites use `email`, `tel` and `tel-national` values for @autocomplete even when they are used as the username and 'username' would be more appropriate.

We already allowed type=email / type=tel so allowing the autocomplete equivalents is reasonable.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 15:46:57 +00: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
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
Georg Fritzsche 4ba158ce96 Bug 1529696 - Rename DATASET_RELEASE_CHANNEL_OPTOUT/OPTIN to DATASET_ALL/PRERELEASE_CHANNELS in Telemetry code r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D25934

--HG--
extra : moz-landing-system : lando
2019-04-03 16:30:00 +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
Chris H-C e7f0391839 Bug 1540708 Clarify some of the Origin Telemetry docs. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25822

--HG--
extra : moz-landing-system : lando
2019-04-03 09:47:34 +00: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
David Major c33be7adfb Bug 1533010 - Update Windows Rust to 1.34 beta r=glandium
This is needed for cross-language LTO (bug 1512723). We don't want to block on waiting for 1.34's release, so we'll get a head start now, but we'll update to the final 1.34 release when available. Rust Forge estimates the release at 11 April.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 15:11:43 +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
Yuri 855391b12d Bug 1540821: Accept `--no-remote` as equivalent of `-no-remote` and `--headless` as equivalent of `-headless` command line arguments on macOS. r=spohl 2019-04-03 10:19:59 -04:00
Nathan Froyd 06cc39db2f Bug 1520929 - part 2 - send isWowARM64 through telemetry; r=chutten,data-review=chutten 2019-04-03 04:44:49 -05:00
Jared Wein 0daee85ddd Bug 1325778 - Wait for storage updates before proceeding with test. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D25022

--HG--
extra : moz-landing-system : lando
2019-04-02 18:24:23 +00:00
Jared Wein 38225abec8 Bug 1325778 - Check that the contents of the autocomplete popup match the tests expectations. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D24958

--HG--
extra : moz-landing-system : lando
2019-04-02 18:24:25 +00:00
Jared Wein 3af274a2dd Bug 1147563 - Deprecate the 'testuser' login that is created during initialization of the password manager tests. r=MattN
This login should not show up in tests that don't expect it once we allow non-matching formSubmitURLs.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 18:24:45 +00:00
Jared Wein 1676f31627 Bug 1147563 - Provide autocomplete experience when formSubmitURL does not match. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D23442

--HG--
rename : toolkit/components/passwordmgr/test/mochitest/test_autofill_https_upgrade.html => toolkit/components/passwordmgr/test/mochitest/test_autofill_different_formSubmitURL.html
extra : moz-landing-system : lando
2019-04-02 18:24:47 +00:00
Lina Cambridge 2276deaa8d Bug 1539697 - Report more detailed errors in the mozStorage Rust binding. r=mak,tcsc
The `nsresult` codes that mozStorage returns are often too generic. For
example, `NS_ERROR_FAILURE` might be anything from a SQL syntax error
to an invalid column name in a trigger.

This commit adds a `Conn::call_and_wrap_error` helper that checks the
last SQLite error, and returns that instead of `nsresult`. Not all
errors are SQLite errors, however, so we only use this for mozStorage
methods that return `convertResultCode`.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 16:56:41 +00:00
Christoph Kerschbaumer 6094ee4dde Bug 1541161: Use MOZ_DIAGNOSTIC_ASSERT and return error in loadinfo is null within NewChannelFromURIWithProxyFlagsInternal. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D25917

--HG--
extra : moz-landing-system : lando
2019-04-03 12:51:51 +00:00
Jonas Allmann aaa0f447f3 Bug 1498566, Remove custom event handling code from dialog.xml, r=Gijs
Remove the now obsolete event handling code including `new Funcition`. Remove dialog.xml from eval() whitelist.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 08:41:29 +00:00
Masayuki Nakano 9165a150a1 Bug 1540930 - Make nsPresContext use mozilla::PresShell directly rather than via nsIPresShell r=emilio
`nsPresContext` should use `mozilla::PresShell` directly instead of
`nsIPresShell`.  This patch makes it.

Unfortunately, `nsPresContext` and `nsIFrame` have `PresShell()`.  Therefore,
we cannot use `PresShell*` in its methods so that this patch uses `mozilla::`
namespace prefix.

It might be better to rename them as `PresShellPtr()` in another bug.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 12:40:26 +00:00
Sebastian Hengst 310add77cf Bug 1541388 - Remove Array generics from NewTabUtils.jsm. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25922

--HG--
extra : moz-landing-system : lando
2019-04-03 12:12:34 +00:00
Honza Bambas 1296f23329 Bug 1538812 - Remove the dangerous default 'NS_ASSIGNMENT_DEPEND' of argument 'assignment' on NS_NewByteInputStream to let it be defined expicitly and thus visibly, r=michal
Differential Revision: https://phabricator.services.mozilla.com/D25462

--HG--
extra : moz-landing-system : lando
2019-04-03 11:39:41 +00:00
Christoph Kerschbaumer 1b37794a98 Bug 1541168: Remove remaining newChannelFromURI2 appearances. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D25916

--HG--
extra : moz-landing-system : lando
2019-04-03 10:45:48 +00:00
Mark Banner b83e4bf42a Bug 1496191 - When test_big_icon is listening for search engine modifications, ensure it QIs the engine to have the proper interface information. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D25900

--HG--
extra : moz-landing-system : lando
2019-04-03 09:17:40 +00:00
Tim Nguyen 534acf7076 Bug 1482870 - Make current theme experiment initialize in new windows. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D25525

--HG--
extra : moz-landing-system : lando
2019-04-02 21:45:54 +00:00
Edwin Gao 05d16c8961 Bug 1536637 - correct the bug number detailing test_gmpProvider.js being disabled for windows10-aarch64 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D25866

--HG--
extra : moz-landing-system : lando
2019-04-02 21:24:55 +00:00
Mike Conley 9330745075 Bug 1536219 - Account for CSS scale factor when positioning Picture-in-Picture window. r=JSON_voorhees
Differential Revision: https://phabricator.services.mozilla.com/D25842

--HG--
extra : moz-landing-system : lando
2019-04-03 01:07:17 +00:00
Clément ALLAIN 923a8c4af8 Bug 1438896 - Add a probe to count Telemetry failures by ping type. r=chutten
Add a new categorical keyed histogram to count failures type by ping type

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

--HG--
extra : moz-landing-system : lando
2019-03-27 19:59:06 +00:00
Chris H-C 926245cf74 Bug 1539262 - Support multiple origins in the same metric in Origin Telemetry r=janerik
Since reporting intervals are ~1 day/1 session, the Origin Telemetry prototype
must support the possibility that multiple origins will be recorded for the
same metric.

For example, if the user is sampled to record two pageloads where the same
ultra-common tracker is present and blocked we must record that tracker as
having been blocked twice.

This requires a bit of a shift in storage and plaintext snapshot. Instead of
being an array of origins with duplicates, now we're storing origins as a bag
(aka multiset, aka hashtable of origin->count).

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

--HG--
extra : moz-landing-system : lando
2019-04-02 16:58:50 +00:00
Chris H-C ac8dd3be53 Bug 1539262 - Test 'unknown origin' support in Origin Telemetry. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25131

--HG--
extra : moz-landing-system : lando
2019-04-02 16:58:41 +00:00
Chris H-C 19a6e337c5 Bug 1539262 - Record if Origin Telemetry was used with an unknown origin. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25130

--HG--
extra : moz-landing-system : lando
2019-04-02 16:58:39 +00:00
Chris H-C 2339f1df9b Bug 1539262 - Origin Telemetry support for origins lists exceeding PrioEncoder's limit. r=janerik
Content Blocking's list is longer than the largest bool vector size supported
by PrioEncoder, so we need to split the list into shards before encoding.

This means we need to use the metric name and shard number together to identify
the encoding so it's possible to decode it later.

While I'm here, restructure GetEncodedSnapshots to make my life easier when I
eventually try to put the heavy lifting on its own thread. There's a clearer
split now between JS stuff and non-JS stuff.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 16:58:31 +00:00
Chris H-C 405ff38f4f Bug 1539262 - Test that Origin Telemetry notifies when it reaches the data limit. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25128

--HG--
extra : moz-landing-system : lando
2019-04-02 16:58:25 +00:00
Chris H-C 6faf228f70 Bug 1539262 - Count the number of prioDatas needed to encode the recorded Origin Telemetry. r=janerik
In order to notify the "prio" ping when we reach the data limit, we need to
keep an accounting of how many prioData elements we'd need to encode what's in
storage.

This also adds the pref reading and topic notification code for the
"origin-telemetry-storage-limit-reached" topic that the "prio" ping observes.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 16:58:17 +00:00
Sam Foster 25639958e7 Bug 1427624 - Pass empty value rather than apparently-obfuscated username in Save Password doorhanger. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D24824

--HG--
extra : moz-landing-system : lando
2019-04-02 17:32:52 +00:00
Tim D. Smith cbb9ca627e Bug 1539309 - Collect CHECKERBOARD probes in release and extend collection r=jrmuizel
The CHECKERBOARD probes are used as performance outcomes / diagnostics for WebRender.
We are beginning to test WebRender in release, so we should have these probes available.
This change additionally extends collection through version 73 to be compatible
with the January 2020 horizon for the ongoing nightly/beta WebRender study.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 14:11:22 +00:00
Sebastian Streich 879635b243 Bug 1539853 - Throw Exceptions on null Principal within SpeculativeConnectInternal and Handle on Callsite r=ckerschb,Gijs
***
++Linting

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

--HG--
extra : moz-landing-system : lando
2019-04-02 16:36:09 +00:00
Andi-Bogdan Postelnicu e10003d9ee Bug 1363011 - [Static Analysis] Buffer not null terminated in int NS_main(int argc, NS_tchar **argv). r=mhowell
Patch wrote by: Santiago Paez [:tiago]

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

--HG--
extra : moz-landing-system : lando
2019-04-02 15:28:14 +00:00
Thomas Wisniewski c57ed64e58 Bug 1120171 - remove support for XMLHttpRequest moz-chunked-arraybuffer response type; r=baku
remove support for XMLHttpRequest moz-chunked-arraybuffer response type

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

--HG--
extra : moz-landing-system : lando
2019-04-02 15:16:40 +00:00
Gerald Squelart e2d15a1cfb Bug 1429613 - Variant matcher callbacks renamed from `match` to `operator()` - r=froydnj
Mechanical change from Matcher::match(...) to Matcher::operator()(...).
This will now permit the use of generic lambdas, and facilitate the
implementation of multi-lambda match.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:47 +00:00
Jed Davis 65bfb7a861 Bug 1516325. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D22638

--HG--
extra : moz-landing-system : lando
2019-03-23 10:25:18 +00:00
Narcis Beleuzu 46ef3ed81b Backed out 6 changesets (bug 1539262) for causing MinGW-Clang bustages
Backed out changeset 7c940e9caee9 (bug 1539262)
Backed out changeset a2f60534ffdb (bug 1539262)
Backed out changeset 0b750c9fbbdc (bug 1539262)
Backed out changeset c3872bfb8197 (bug 1539262)
Backed out changeset e3c8dbb5cb1d (bug 1539262)
Backed out changeset 43ee3d28167f (bug 1539262)
2019-04-02 16:04:07 +03:00
Chris H-C d443a85cfe Bug 1539262 - Support multiple origins in the same metric in Origin Telemetry r=janerik
Since reporting intervals are ~1 day/1 session, the Origin Telemetry prototype
must support the possibility that multiple origins will be recorded for the
same metric.

For example, if the user is sampled to record two pageloads where the same
ultra-common tracker is present and blocked we must record that tracker as
having been blocked twice.

This requires a bit of a shift in storage and plaintext snapshot. Instead of
being an array of origins with duplicates, now we're storing origins as a bag
(aka multiset, aka hashtable of origin->count).

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

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:45 +00:00
Chris H-C ca4c887238 Bug 1539262 - Test 'unknown origin' support in Origin Telemetry. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25131

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:36 +00:00
Chris H-C 7655e3ca6f Bug 1539262 - Record if Origin Telemetry was used with an unknown origin. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25130

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:28 +00:00
Chris H-C ae0ff51e56 Bug 1539262 - Origin Telemetry support for origins lists exceeding PrioEncoder's limit. r=janerik
Content Blocking's list is longer than the largest bool vector size supported
by PrioEncoder, so we need to split the list into shards before encoding.

This means we need to use the metric name and shard number together to identify
the encoding so it's possible to decode it later.

While I'm here, restructure GetEncodedSnapshots to make my life easier when I
eventually try to put the heavy lifting on its own thread. There's a clearer
split now between JS stuff and non-JS stuff.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:21 +00:00
Chris H-C c2d9dafdb1 Bug 1539262 - Test that Origin Telemetry notifies when it reaches the data limit. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25128

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:12 +00:00
Chris H-C e36f525009 Bug 1539262 - Count the number of prioDatas needed to encode the recorded Origin Telemetry. r=janerik
In order to notify the "prio" ping when we reach the data limit, we need to
keep an accounting of how many prioData elements we'd need to encode what's in
storage.

This also adds the pref reading and topic notification code for the
"origin-telemetry-storage-limit-reached" topic that the "prio" ping observes.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:10 +00:00
Mathieu Leplatre 9ce2e13bcc Bug 1538248 - Verify authenticity of Remote Settings records for Normandy r=mythmon,Gijs
Verify authenticity of Remote Settings records for Normandy

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

--HG--
extra : moz-landing-system : lando
2019-04-01 17:48:05 +00:00
Jonas Allmann df684f89db Bug 1498569, Replace wizard.xml attributes with event listeners, r=Gijs
* Removed all occurences of custom onwizard* attributes.
* Removed custom handler code from wizard.xml.
* Updated eval()-usage whitelist.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 08:56:25 +00:00
dlee 5cb90343fe Bug 1539150 - Use window.open instead of setting iframe src in test_classify_by_default.html. ?baku r=baku
In the test_classify_by_default.html, we use "network.cookie.cookieBehavior"
to test if a channel is correctly classified.

Cookie restriction is only enabled in nightly and early beta so the
default preference is not always set. Although we set the preference
in the testcase, it is too late because that the channel's cookie
setting might inherit from it's parent and may end up with getting
the old(default) value.

In this patch, we use window.open to test the tracker frame to make
sure we use the udpated prefrence.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 08:00:37 +00:00
violet 64fcb4fb58 Bug 1520058 - Add brackets for the host obtained from nsIURI r=robwu,mixedpuppy
To correctly present IPv6 URL, we need to add the brackets for the host obtained from nsIURI

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

--HG--
extra : moz-landing-system : lando
2019-04-01 16:14:43 +00:00
Eden Chuang 72b79c6fbd Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

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

--HG--
extra : moz-landing-system : lando
2019-04-01 22:42:34 +00:00
Andreea Pavel 3b158268df Backed out changeset 03ed53e600d4 (bug 1540828) for failing eslint on a CLOSED TREE 2019-04-11 15:16:03 +03:00
monikamaheshwari 79c0be7b2b Bug 1540828 De-dupe passwordmgr checkACForm function r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D26695

--HG--
extra : moz-landing-system : lando
2019-04-11 11:45:47 +00:00
Peter Van der Beken 023a72eb9b Bug 1534638 - Part 1: remove unused arguments from session history listeners. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D25761

--HG--
extra : moz-landing-system : lando
2019-04-04 16:18:48 +00:00
Tim Nguyen 53c127843c Bug 1519548 - Introduce dark mode in-content page preference. r=dao,jaws
Differential Revision: https://phabricator.services.mozilla.com/D16363

--HG--
extra : moz-landing-system : lando
2019-04-11 10:27:55 +00:00
Mark Striemer 9d2a750d3f Bug 1525091 - Part 2: Theme previews in HTML about:addons r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23197

--HG--
extra : moz-landing-system : lando
2019-04-04 19:21:55 +00:00
Mark Striemer ddf04abc4c Bug 1525091 - Part 1: Avoid height change on string load in HTML about:addons r=jaws,Gijs,zbraniecki
Fluent strings load asynchronously, so some text will be empty until that
happens. Once the strings load the page will shift down as the elements
gain the height of the text. Ensure there's always text in the add-on
cards so their height won't change (or at least it's reduced) once
strings load.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 19:21:48 +00:00
Mark Striemer 0978afd594 Bug 1525173 - HTML about:addons detail view r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D22766

--HG--
extra : moz-landing-system : lando
2019-04-05 07:54:35 +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
Masatoshi Kimura 6498afaa9e Bug 1325897 - Unship some Universal CRT DLLs. r=dmajor,glandium
Differential Revision: https://phabricator.services.mozilla.com/D23794

--HG--
extra : moz-landing-system : lando
2019-04-04 22:59:55 +00:00
Nick Alexander 18d29ec452 Bug 1525968 - Post: Only package artifact symbols in automation. r=glandium
Depends on D19092

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

--HG--
extra : moz-landing-system : lando
2019-03-29 08:43:22 +00:00
Jared Wein 189bf2ef6d Bug 1535253 - Add back the .contentPane rule to passwordmgr.css that was removed accidentally. r=MattN
The .contentPane rule for /browser was consolidated and removed throughout the codebase but the .contentPane rule in passwordmgr.css is in /toolkit and shouldn't have been removed.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 20:36:48 +00:00
Mathieu Leplatre 9fc31364f2 Bug 1523313 - Monitor Remote Settings synchronization duration r=glasserc
Monitor Remote Settings synchronization duration

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

--HG--
extra : moz-landing-system : lando
2019-04-01 20:04:25 +00:00
Edwin Gao cf79011546 Bug 1538785 - disable plugin-related tests from windows10-aarch64 r=jmaher
Disabled plugin related tests.

Added `crashreporter` dependency for browser_restore_isAppTab.js.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 18:30:23 +00:00
Cosmin Sabou a649207dc6 Bug 1484210 - Disable toolkit/content/tests/widgets/test_videocontrols.html on linux webrender. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D25514

--HG--
extra : moz-landing-system : lando
2019-04-01 18:45:24 +00:00
Jim Mathies ad9b0890dd Bug 1539577 - Avoid calling InitUIThread when native event processing is turned off. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D25233

--HG--
extra : moz-landing-system : lando
2019-04-01 08:13:11 +00:00
Gijs Kruitbosch 7a09de96f9 Bug 1539757 - fix trying to initialize XBL bindings while the prompt is still hidden, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D25390

--HG--
extra : moz-landing-system : lando
2019-04-01 13:37:49 +00:00
Haik Aftandilian ec23270654 Bug 1319116 - Part 2 - "Cancel" reverts header and footer settings to defaults r=jwatt
On Mac, don't attempt to save print settings after the user cancels out of the print dialog.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 14:42:24 +00:00
Jonathan Kew f5e8791f61 Bug 1533428 - patch 4 - Include chromium-config.mozbuild in the moz.build for a bunch more directories, so that IPC-related headers are available. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D22922

--HG--
extra : moz-landing-system : lando
2019-04-01 14:32:44 +00:00
shindli 0205efa9c3 Backed out changeset 3719f1901ffe (bug 1529125) for mda assertion failures CLOSED TREE 2019-04-01 14:37:07 +03:00
Daniel Varga 3429861638 Merge mozilla-central to mozilla-inbound. a=merge 2019-04-23 12:57:35 +03:00
Oana Pop Rus a80f71effb Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-04-23 01:18:37 +03:00
Kris Maglione 83ab804c29 Remove unused macro definition. (no bug) r=trivial
--HG--
extra : rebase_source : aeba3599fc93587dac5b0bdec0a693930819d446
extra : histedit_source : 67e620f78a22c62a6da39849bf7fcdf96ddac5e5
2019-04-22 13:30:33 -07:00
Kris Maglione 951c77f570 Bug 1545521: Use lz4_decompress_safe to decode add-on manager startup cache blobs. r=aswan
In previous versions of the LZ4 library, lz4_decompress_fast, which does not
take an input buffer size, was supposed to be faster than lz4_decompress_safe,
which does. In newer versions, however, the reverse is supposed to be true,
and lz4_decompress_fast is therefore deprecated.

This patch updates our code to use the now-preferred "safe" version of the
API.

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

--HG--
extra : rebase_source : 572e7355ed6b31936632e977ee1584834e441fec
2019-04-18 13:17:37 -07:00
Michael Kaply 098ae342bf Bug 1534652 - Add try catch whenever querying mozparams. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D23384

--HG--
extra : moz-landing-system : lando
2019-04-02 21:14:09 +00:00
Bogdan Tara a4e3aa46bf Backed out 2 changesets (bug 1528335) for test_ext_privacy_update.js failures CLOSED TREE
Backed out changeset fd9468269591 (bug 1528335)
Backed out changeset acce10271d62 (bug 1528335)
2019-04-03 06:17:54 +03:00
Gijs Kruitbosch 5d693629ee Bug 1528335, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D25775

--HG--
extra : moz-landing-system : lando
2019-04-02 19:37:59 +00:00