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

58071 Коммитов

Автор SHA1 Сообщение Дата
Robert Strong ec210ed823 Bug 1574980 - followup. a=mingw32-fix
--HG--
extra : amend_source : 7248399774b5741857360cdf3318b4d1a59719a8
2019-08-22 22:35:04 +02:00
Luca Greco b2c8b8875b Bug 1572711 - Record extensions.blocklist.useXML and services.blocklist.*.checked prefs into new telemetry scalars. r=janerik,leplatrem,Gijs
Depends on D41734

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

--HG--
extra : moz-landing-system : lando
2019-08-22 16:32:19 +00:00
Luca Greco 85ae99d8ee Bug 1572711 - Record addonsManager.blocklistUpdateError telemetry event on blocklist update failures. r=janerik,Gijs
Depends on D41733

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

--HG--
extra : moz-landing-system : lando
2019-08-21 19:37:03 +00:00
Luca Greco 23344811d9 Bug 1572711 - Added blocklist.lastModified_xml telemetry scalar to record extensions.blocklist.lastModified value. r=janerik,leplatrem,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41733

--HG--
extra : moz-landing-system : lando
2019-08-21 19:51:52 +00:00
Robert Strong c39174d546 Bug 1574980 - Fix issues with maintenance service install. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D43034

--HG--
extra : moz-landing-system : lando
2019-08-22 16:23:51 +00:00
Coroiu Cristina 1ea212e1c8 Backed out 2 changesets (bug 1569847) for browser-chrome failures at browser/components/aboutlogins/tests/browser/browser_breachAlertDismissals.js
Backed out changeset 3d3776e4a61a (bug 1569847)
Backed out changeset 1b5f7672e2d2 (bug 1569847)

--HG--
rename : browser/components/aboutlogins/tests/unit/test_getPotentialBreachesByLoginGUID.js => browser/components/aboutlogins/tests/unit/test_getBreachesForLogins.js
2019-08-26 16:21:14 +03:00
Dorel Luca f37365e4d7 Merge mozilla-central to mozilla-inbound 2019-08-26 12:47:46 +03:00
Luke Crouch 136a0b5459 Bug 1569847 - Store breached passwords as potentially "vulnerable". r=MattN
MANUAL PUSH: Bug 1561376 - moz-phab needs to allow uploading a patch to a revision without commandeering

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

--HG--
rename : toolkit/components/passwordmgr/LoginHelper.jsm => browser/components/aboutlogins/LoginBreaches.jsm
rename : browser/components/aboutlogins/tests/unit/test_getBreachesForLogins.js => browser/components/aboutlogins/tests/unit/test_getPotentialBreachesByLoginGUID.js
extra : rebase_source : 3087e4bcf9e0bee7bee87e852534098037242679
extra : amend_source : e3466453fd240a3135a83b7fd99f95449c4c4cd1
2019-08-25 14:51:12 -07:00
Ben Campbell 7810f57393 Bug 1427877 - Extend telemetry probe registry code-generation to handle extra definition files. r=chutten
MANUAL PUSH: patches not from phab
2019-08-19 18:00:38 +12:00
Ben Campbell f3977c8cc8 Bug 1427877 - Add thunderbird to telemetry supported-product flags. r=chutten 2019-08-23 14:06:57 +12:00
Drew Willcoxon c348ff1304 Bug 1572500 - Count internal @search keyword searches separately from other urlbar searches in the SEARCH_COUNTS histogram. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D42569

--HG--
extra : moz-landing-system : lando
2019-08-22 09:37:45 +00:00
Gabriele Svelto 303c5ce8d0 Bug 1566855 - Submit incomplete crashes by synthesizing a minimal .extra file with sensible crash annotations r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D42575

--HG--
rename : toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js => toolkit/crashreporter/test/browser/browser_aboutCrashesIncomplete.js
extra : moz-landing-system : lando
2019-08-20 20:54:35 +00:00
Nathan Froyd 70244dab64 Bug 1575544 - make scalar info constructors constexpr; r=chutten
Marking these constructors as `constexpr` encourages the compiler to
constant-initialize most of the `gScalars` array, rather than generating
a giant glob of code to move the (constant) values into the array at
runtime.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 17:49:02 +00:00
Ehsan Akhgari c5fe8bca85 Bug 1572271 - Part 1: Force a GC during the cleanup of antitracking tests since there is not enough idle time between these tests for GCs to kick in naturally; r=baku
This prevents a whole host of OOM issues from occurring intermittently
when running these tests.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 00:32:24 +00:00
Luca Greco ef1c0b40d8 Bug 1574431 - Preserve installTelemetryInfo when rebuilding the DB from the addons manifest files. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D42281

--HG--
extra : moz-landing-system : lando
2019-08-22 12:22:31 +00:00
Emilio Cobos Álvarez 6b8d2e3f18 Bug 1574499 - nsWebBrowser::mIsActive / mActivating seem dead. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D42314

--HG--
extra : moz-landing-system : lando
2019-08-21 17:28:05 +00:00
arthur.iakab 78189c52eb Merge mozilla-central to autoland 2019-08-22 12:59:31 +03:00
arthur.iakab fce05e83d9 Merge inbound to mozilla-central a=merge
--HG--
extra : amend_source : ded5891c5b5c9f36755115cb34365e117a63b2dd
2019-08-22 12:52:11 +03:00
Landry Breuil ed949fb424 Bug 1564897 - replace remaining dots by underscores when formatting libxul_list r=glandium 2019-08-22 09:00:41 +03:00
Markus Stange 68842308f9 Bug 1514060 - Do not assume the video covers the entire screen. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D42932

--HG--
extra : moz-landing-system : lando
2019-08-21 19:34:33 +00:00
ruthra kumar 69f0254ddd Bug 1003968 - avoid Exists() calls for search plugin directories in the browser directory provider r=daleharvey,Gijs
This Change removes all call to Exists() in Directory Provider component, which creates the possibility for the componenet to return an empty list. SearchService.jsm is modified to handle this possibility.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 09:05:43 +00:00
lesleynorton 949b2a9d27 Bug 1575155: Handle exceptions thrown by non-standard URIs. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D42983

--HG--
extra : moz-landing-system : lando
2019-08-22 00:11:47 +00:00
Noemi Erli e313274522 Bug 1573511 - Disable test_ext_webRequest_cached.js for permafailing r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D43008

--HG--
extra : moz-landing-system : lando
2019-08-22 07:44:04 +00:00
Sam Foster de25b2ae50 Bug 1560042 - Part 3: Update matching login and remove empty-username login when persisting changes from update doorhanger. r=MattN
* Add an extra param to promptToChangePassword to indicate whether a duped/superceded login should be deleted
* Add a raft of tests for promptToChangePassword as it applies to generated passwords and auto-saved logins

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

--HG--
extra : moz-landing-system : lando
2019-08-21 22:07:21 +00:00
Sam Foster 75218afff9 Bug 1560042 - Part 2: Add test coverage for empty-username/doorhanger case. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D41295

--HG--
extra : moz-landing-system : lando
2019-08-21 22:07:17 +00:00
Sam Foster 1dc7c92128 Bug 1560042 - Part 1: Share verifyLogins test helper, new cleanupDoorhanger helper. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D41083

--HG--
extra : moz-landing-system : lando
2019-08-21 22:07:15 +00:00
Jan Odvarko ba86447676 Bug 1573535 - Update about:licenses page. r=mhoye
Differential Revision: https://phabricator.services.mozilla.com/D41908

--HG--
extra : moz-landing-system : lando
2019-08-16 14:46:57 +00:00
tanhengyeow 516ccd19a8 Bug 1555638 - Telemetry for WS monitoring. r=Honza
Add telemetry for WS monitoring.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 12:34:14 +00:00
Mike Hommey 66d7fe943e Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D42765

--HG--
extra : moz-landing-system : lando
2019-08-21 12:25:42 +00:00
Olli Pettay b0a22e460f Bug 1572022, don't open and close popup possibly in the same task in browser_generated_password_private_window.js, r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D42955

--HG--
extra : moz-landing-system : lando
2019-08-21 22:07:13 +00:00
Aaron Klotz 9f88239431 Bug 1573275: Add SystemRoot to whitelisted paths for WinUtils::PreparePathForTelemetry; r=mhowell,chutten
Until now, `WinUtils::PreparePathForTelemetry` did not whitelist paths
originating from the Windows system directory. This is unfortunate, as those
paths are not going to contain any PII yet may be useful for troubleshooting.

By adding `%SystemRoot%` to the whitelist, such paths will be included after
substituting the real system directory with the name of the environment
variable.

Finally, we need to lazily build the whitelist in a thread-safe manner.
Whitelist construction has been refactored so that the whitelist is a static
local variable that is atomically constructed.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 20:59:43 +00:00
Jan-Erik Rediger 9e983a0048 Bug 1570652 - Add profile_selection_reason to the new-profile ping store r=chutten
Depends on D40595

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

--HG--
extra : moz-landing-system : lando
2019-08-13 14:57:48 +00:00
Matthew Noorenberghe b54d529639 Bug 1569581 - Add unit tests for isOriginMatching with null/javascript: origins. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D43174

--HG--
extra : moz-landing-system : lando
2019-08-23 20:15:43 +00:00
Matthew Noorenberghe 2e7bbd911a Bug 1569581 - Show HTTP Auth realm in about:logins and autocomplete. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D43169

--HG--
extra : moz-landing-system : lando
2019-08-23 20:15:42 +00:00
Shane Caraveo b1a96d78ab Bug 1576252 move urlClassification to per-extension request data r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D43290

--HG--
extra : moz-landing-system : lando
2019-08-23 20:06:35 +00:00
Noemi Erli 721e530625 Backed out 3 changesets (bug 1569581) for mass browser-chrome failures CLOSED TREE
Backed out changeset a8dc5f13dfcf (bug 1569581)
Backed out changeset 7e2df056a778 (bug 1569581)
Backed out changeset 980221f42586 (bug 1569581)
2019-08-23 22:29:38 +03:00
Matthew Noorenberghe 56171aa00d Bug 1569581 - Add unit tests for isOriginMatching with null/javascript: origins. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D43174

--HG--
extra : moz-landing-system : lando
2019-08-23 18:22:00 +00:00
Matthew Noorenberghe 35e36fcef9 Bug 1569581 - Show HTTP Auth realm in about:logins and autocomplete. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D43169

--HG--
extra : moz-landing-system : lando
2019-08-23 18:22:06 +00:00
Jan-Erik Rediger 1a4cb21ea6 Bug 1570652 - Include scalars in new-profile ping r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D40595

--HG--
extra : moz-landing-system : lando
2019-08-07 15:42:29 +00:00
Mark Banner a05a7163d5 Bug 1551829 - Upgrade to ESLint 6.1.0. r=mossop
This picks up various improvements, especially to how configurations are handled and some new rules.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 19:08:44 +00:00
Oana Pop Rus 3223cd3dc2 Backed out 4 changesets (bug 1510569) for causing build bustage on a CLOSED TREE
Backed out changeset eae555c11f25 (bug 1510569)
Backed out changeset 2fb8938d16db (bug 1510569)
Backed out changeset b480af862022 (bug 1510569)
Backed out changeset 642cd6323cdc (bug 1510569)
2019-08-21 22:55:43 +03:00
Barret Rennie 52899c1e0d Bug 1510569 - Port onSecurityChange from WebProgressChild.jsm to C++; remove WebProgressChild r=Ehsan,ochameau
This is the last message that WebProgressChild was sending to the
RemoteWebProgress in the parent process, so we can remove the module entirely.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 18:25:04 +00:00
Ehsan Akhgari 9125c79b45 Bug 1575631 - Fix the bugzilla component for the anti-tracking code declared in the moz.build file
Differential Revision: https://phabricator.services.mozilla.com/D42928

--HG--
extra : moz-landing-system : lando
2019-08-21 18:25:59 +00:00
Razvan Maries 2a0027de0a Backed out changeset 3c4ac291be39 (bug 1572271) for causing mochitest perma fails. CLOSED TREE 2019-08-21 21:35:47 +03:00
Mike Conley 72569d1e1e Bug 1571214 - Regression test. r=JSON_voorhees
Depends on D42006

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

--HG--
extra : moz-landing-system : lando
2019-08-21 16:47:59 +00:00
Mike Conley 50fbe8f5cb Bug 1571214 - Make sure to strip any element styles on the cloned <video> before inserting into the Picture-in-Picture player window. r=JSON_voorhees
Differential Revision: https://phabricator.services.mozilla.com/D42006

--HG--
extra : moz-landing-system : lando
2019-08-21 16:48:49 +00:00
Matt Howell 6f1b6a839a Bug 1567247 Part 3 - Support for reading and uninstalling registry-reflected prefs. r=agashlin
We intentionally only clean out the prefs registry key during uninstall, unlike
the other registry keys that the installer creates, because we might want to do
experiments that involve the procedures that normally clean out registry keys.
This leaves open the possibility that an experiment causes some problem that
by its nature makes it difficult to disable the experiment, since it wouldn't
be disabled by either a normal update or a paveover install, but it's
necessary to make sure that experiments persist for longer than e.g. a single
update cycle.

Depends on D40327

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

--HG--
extra : moz-landing-system : lando
2019-08-21 16:09:46 +00:00
Ryan Alderete 4b595ec1a8 Bug 1570158 - Add proxy information to candidates table in about:webrtc r=bwc,baku
This adds a field to about:webrtc which indicates whether an associated
candidate is behind a proxy or not.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 10:04:45 +00:00
Mark Striemer a9733a6c3b Bug 1560155 - Link add-on badges to their SUMO page r=robwu,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D42681

--HG--
extra : moz-landing-system : lando
2019-08-21 04:53:45 +00:00
Thomas Nguyen bbd6f51a56 Bug 1528697 - Add cenum referrerpolicy in ReferrerInfo.idl r=ckerschb,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41955

--HG--
extra : moz-landing-system : lando
2019-08-21 13:28:23 +00:00
Mark Banner 572396447e Bug 1575172 - Fix searchconfig tests to run the domains/codes/url tests for Google in non-US regions. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D42628

--HG--
extra : moz-landing-system : lando
2019-08-21 13:57:17 +00:00
Ehsan Akhgari f589e3c849 Bug 1572271 - Force a GC during the cleanup of antitracking tests since there is not enough idle time between these tests for GCs to kick in naturally; r=baku
This prevents a whole host of OOM issues from occurring intermittently
when running these tests.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 12:55:14 +00:00
Ehsan Akhgari 7598e2dcb0 bug 1574272 - Rewrite browser_referrerDefaultPolicy.js such that it only opens two browser windows; r=baku
This test currently opens 72 browser windows, which is a bit excessive.
This is because the test has been written procedurally in order to
demonstrate the testing logic, and it has been implemented such that
each test execution happens in its own window.

However this isn't necessary.  This patch rewrites this test such that
the procedural expression of the test is untouched, however as the
procedural expression is running we only compile a list of test
scenarios to run through, and later on based on those create individual
test cases the test only opens on private and one non-private window,
and runs through all of the test cases.

This both improves the speed of the test massively and will hopefully
address issues such as intermittent OOM errors.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 10:05:49 +00:00
Nathan Froyd 3983c191ec Bug 1575519 - use `auto&` in ranged-for loops to avoid copies; r=chutten
This style is used consistently throughout telemetry code, but was
missed in these places.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 12:35:16 +00:00
Carolina 8dd3c98960 Bug 1575317 - Fixes error in addClassForPadding function, it was trying to access to elements that may not exist.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42693

--HG--
extra : moz-landing-system : lando
2019-08-21 11:20:35 +00:00
dlee 419e1534b0 Bug 1562822 - P3. Reset all the tables that fail to apply a Safe Browsing update. r=gcp
Before this patch, when Safe Browsing updating process discovers an error, it
quits and resets the table failing to update.
After this patch, updating process will continue to run when an error
occurs to find all the tables failing to apply an update.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 12:08:12 +00:00
dlee 25f266e670 Bug 1562822 - P2. Reset corrupted Safe Browsing database before triggering an update. r=gcp
Patch P2 & P3 refine how Safe Browsing handles Safe Browsing database
loading failure.

Safe Browsing databases are read in 3 scenarios:
1. |GetLookupCache| is called on startup. Safe Browsing reads prefix
files in this case. Metadata for updates(.sbstore, .metadata) are not
read in this scenario.

2. |TableRequest| is called before applying an update, Safe Browsing
reads update metadata to apply a partial update.

3. During an update, Safe Browsing reads both prefix files and metadata
in order to merge the update result.

For Case 1, we reset a table's database only when it returns FILE_CORRUPTED
while loading prefixes from the prefix file(.vlpset).

For Case 2, we reset a table's database when the table fails to load its
metadata file or prefix file. This is because we need to make sure both
files are complete so we can correctly perform a partial update.
Note that in this case, we don't just reset the database when "FILE_CORRUPTED"
is detected, we reset the database as long as an error occurs while loading the
database.

For Case 3, For all the tables failing to load their database during an
updating process, the databases of those tables will be reset.

Case 1 and Case 2 are done in Patch P2; Case 3 is done in Patch P3

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

--HG--
extra : moz-landing-system : lando
2019-08-21 12:08:03 +00:00
dlee 22e8951110 Bug 1562822 - P1. Return NS_ERROR_FILE_CORRUPTED when Safe Browsing cannot read the header of its database. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D42613

--HG--
extra : moz-landing-system : lando
2019-08-21 12:07:44 +00:00
Carolina 60f201dfd5 Bug 1575276 - Fixes elements in sectionItems being null.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42689

--HG--
extra : moz-landing-system : lando
2019-08-21 11:30:08 +00:00
Carolina 54c46b1ae8 Bug 1575078 - Adds spaces between two words separated by commas.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42668

--HG--
extra : moz-landing-system : lando
2019-08-21 11:37:40 +00:00
Sylvestre Ledru 7759b614e2 Bug 1575249 - Ride along: remove +x permissions on source files r=Ehsan
Depends on D42672

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

--HG--
extra : moz-landing-system : lando
2019-08-21 09:57:03 +00:00
Dorel Luca 36ef7ebb68 Backed out changeset de151ad69bd6 (bug 1003968) for build bustage. CLOSED TREE 2019-08-21 12:48:14 +03:00
ruthra kumar c4c97acc65 Bug 1003968 - avoid Exists() calls for search plugin directories in the browser directory provider r=daleharvey,Gijs
This Change removes all call to Exists() in Directory Provider component, which creates the possibility for the componenet to return an empty list. SearchService.jsm is modified to handle this possibility.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 09:34:49 +00:00
Aaron Klotz 098248deb9 Bug 1573264: Add configure support for detecting llvm-dlltool; r=glandium
In bug 1542830 I need to generate an import library from a .DEF file. The
`llvm-dlltool` utility is the tool to support this.

This change adds detection for the aforementioned utility and also configures
the required flags.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 04:34:32 +00:00
Nick Alexander ae36e5d5c2 Bug 1550146 - Part 1: Do less (no mozharness.zip) in local `mach package`. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D41449

--HG--
extra : moz-landing-system : lando
2019-08-21 03:22:14 +00:00
Brian Hackett a7817c43e7 Bug 1574952 - Support calls to CGPathApply after diverging from the recording, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D42576

--HG--
extra : moz-landing-system : lando
2019-08-21 03:16:35 +00:00
Dan Glastonbury 41fff20f69 Bug 1571612 - P2: Collect flush req and flush telemetry. r=heycam
Collect telemetry for the number of pending style and layout flush requests per
flush and the number of style and layout flushes per nsRefreshDriver::Tick.  A
style flush reports only style requests, but a layout flush reports style and
layout requests since flushing layout implies a style flush also.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 01:43:30 +00:00
Gijs Kruitbosch e5baa47643 Bug 1541706 - attempt to fix intermittent browser_privatebrowsing.js, r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D42663

--HG--
extra : moz-landing-system : lando
2019-08-20 16:05:26 +00:00
Gijs Kruitbosch 7b142a3c2b Bug 1572838 - ensure osint commandline args are passed appropriately, r=mhowell,mossop
Differential Revision: https://phabricator.services.mozilla.com/D42311

--HG--
extra : moz-landing-system : lando
2019-08-20 19:51:34 +00:00
dlee 4972f0c4eb Bug 1551524 - Report failure in LookupCache::WriteFile() if StoreToFile returns an error. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D42618

--HG--
extra : moz-landing-system : lando
2019-08-20 18:07:42 +00:00
Mark Banner 638d025a66 Bug 1575197 - Replace removed break statement when notifications are activated to avoid updating unnecessarily. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D42632

--HG--
extra : moz-landing-system : lando
2019-08-20 19:04:57 +00:00
Thomas Nguyen fe6a6a4285 Bug 1567940 Apply ReferrerInfo to Download and fix Go to Download Page button r=Gijs,dimi
In the old way, if referrer is ommited we will not be able to go to
download page. In that case, we should use originalReferrer in
ReferrerInfo object

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

--HG--
extra : moz-landing-system : lando
2019-08-20 16:22:44 +00:00
Kirk Steuber a10a13a1c4 Bug 1569388 - Don't overwrite real error codes with cancel codes when removing BITS jobs r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D41805

--HG--
extra : moz-landing-system : lando
2019-08-19 22:36:55 +00:00
Ehsan Akhgari 7762e57916 Bug 1573547 - Increase the timeout for browser_blockingSharedWorkers.js
Differential Revision: https://phabricator.services.mozilla.com/D42646

--HG--
extra : moz-landing-system : lando
2019-08-20 14:18:24 +00:00
Nihanth Subramanya 50145120e7 Bug 1560327 - [Protections Panel] Implement telemetry event recording. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42306

--HG--
extra : moz-landing-system : lando
2019-08-20 13:49:28 +00:00
Micah Tigley 34b2328e68 Bug 1572825 - Add telemetry for tracker "Learn More" links. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41977

--HG--
extra : moz-landing-system : lando
2019-08-20 12:38:08 +00:00
Olli Pettay 1950b63b62 Bug 1556579, try to make browser_html_options_ui_in_tab.js less racy, r=rpl
The test starts to fail more often with Fission session history (which is still using sync IPC).
The change should guarantee that there is time to send and receive options-loaded message.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 10:06:48 +00:00
André Bargull 119b53687b Bug 1533328 - Part 4: Only call ResetTimeZone resp. tzset when the time zone was actually changed. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D37251

--HG--
extra : moz-landing-system : lando
2019-08-20 09:07:53 +00:00
preyunk 7003b8f5da Bug 1560284 - Long study names (over 100 chars) and string values are not fully displayed on about:studies r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D41746

--HG--
extra : moz-landing-system : lando
2019-08-13 16:59:37 +00:00
Robert Helmer 0b0731ec85 Bug 1571472 - use async I/O for checking corrupt omni jar r=bdanforth
Differential Revision: https://phabricator.services.mozilla.com/D41692

--HG--
extra : moz-landing-system : lando
2019-08-20 00:48:10 +00:00
Robert Helmer 7058e3ddca Bug 1571472 - remove checks for corrupt system add-ons r=bdanforth
Per https://bugzilla.mozilla.org/show_bug.cgi?id=1515173#c24 we aren't going to sign these and they will instead move into omni.ja

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

--HG--
extra : moz-landing-system : lando
2019-08-20 00:47:58 +00:00
harry 4f4a15a1d5 Bug 1528593 - Rename UrlbarInput::value getter to untrimmedValue and textValue to value. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D42190

--HG--
extra : moz-landing-system : lando
2019-08-19 19:15:47 +00:00
dleblanccyr 7a290c37fd Bug 1573473 - Creates global function to make strings kebab-case. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41818

--HG--
extra : moz-landing-system : lando
2019-08-19 22:45:57 +00:00
arthur.iakab 1d06495330 Backed out 3 changesets (bug 1560042) for causing browser-chrome failures on browser_temporary_permissions.js CLOSED TREEE
Backed out changeset 0fb712c93395 (bug 1560042)
Backed out changeset ada7b53d87d6 (bug 1560042)
Backed out changeset cdae11ea2306 (bug 1560042)
2019-08-20 04:04:18 +03:00
Bianca Danforth 780679ebf7 Bug 1542035 - Add read-only support for extension storage.local in addon debugger r=miker,rpl
* Add a new extensionStorage actor to enable inspection of data stored by an extension using the WebExtension storage.local API in the Storage panel client.
* The actor is only listed when the developer toolbox is targeting an extension process. For multi-process Firefox (e10s), this applies to only the toolbox accessed in about:debugging.
* The actor is gated behind a preference: devtools.storage.extensionStorage.enabled. This preference is set to false by default.
* The Storage panel displays storage item values as strings. If a storage item value is not JSON-stringifiable, it will be displayed in the table as "Object".
* It should be noted that extension storage.local’s storage backend is in the process of migrating from a JSON file to IndexedDB as of Firefox 66 for performance reasons. This actor only works for extensions that have migrated to the IndexedDB storage backend.
* In-line comments referencing Bugs 1542038 and 1542039 indicate places where the implementation may differ for local storage versus the other storage areas in the actor.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 20:16:50 +00:00
Sam Foster 78f014349d Bug 1560042 - Part 3: Update matching login and remove empty-username login when persisting changes from update doorhanger. r=MattN
* Add an extra param to promptToChangePassword to indicate whether a duped/superceded login should be deleted
* Add a raft of tests for promptToChangePassword as it applies to generated passwords and auto-saved logins

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

--HG--
extra : moz-landing-system : lando
2019-08-19 23:24:09 +00:00
Sam Foster 02dcabde89 Bug 1560042 - Part 2: Add test coverage for empty-username/doorhanger case. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D41295

--HG--
extra : moz-landing-system : lando
2019-08-19 23:15:02 +00:00
Sam Foster 5f98ea8c88 Bug 1560042 - Part 1: Share verifyLogins test helper, new cleanupDoorhanger helper. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D41083

--HG--
extra : moz-landing-system : lando
2019-08-19 23:14:52 +00:00
Ehsan Akhgari 05feeeb79b Bug 1572240 - Part 5: Use the principal-based version of the permission manager APIs in Gecko when checking the content blocking allow list; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D42206

--HG--
extra : moz-landing-system : lando
2019-08-19 14:38:45 +00:00
Ehsan Akhgari 68aa0ff3f4 Bug 1572240 - Part 4: Stop minting new URIs and principals in ContentBlockingAllowList._basePrincipalForAntiTrackingCommon; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D42205

--HG--
extra : moz-landing-system : lando
2019-08-19 14:38:38 +00:00
Ehsan Akhgari 575c480fc5 Bug 1572240 - Part 3: Introduce nsIHttpChannelInternal.contentBlockingAllowListPrincipal; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D42204

--HG--
extra : moz-landing-system : lando
2019-08-19 19:38:50 +00:00
Ehsan Akhgari e06a6e7ca6 Bug 1572240 - Part 2: Introduce nsIBrowser.contentBlockingAllowListPrincipal; r=baku
This patch also includes some spot fixes for the storage principal
support on the XUL browser element.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 14:38:34 +00:00
Ehsan Akhgari 7b2ff7275b Bug 1572240 - Part 1: Introduce Document.contentBlockingAllowListPrincipal; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D42202

--HG--
extra : moz-landing-system : lando
2019-08-19 14:38:32 +00:00
Geoff Lankow b1ff557a85 Bug 1572819 - Enable toolkit/mozapps/extensions/test/xpcshell/test_system_update_enterprisepolicy.js for Thunderbird; r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D42083

--HG--
extra : moz-landing-system : lando
2019-08-19 16:44:10 +00:00
Toshihito Kikuchi d5a7d77f4f Bug 1573051 - Use both SHParseDisplayName and CreateUri to validate a uri. r=aklotz
For launching with an external protocol handler on Windows, we validate a uri
before sending it to `ShellExecute`, by converting a string into `PIDL` using
`SHParseDisplayName` and extract a string back from PIDL using
`IShellFolder::GetDisplayNameOf`.  The problem was that if a fragment, a
string following a hash mark (#), is always dropped after this validation.
This is caused by the intended design of Windows.

A proposed fix is to use `CreateUri` for validation, which is used behind
`IShellFolder::GetDisplayNameOf`.  However, we also keep `SHParseDisplayName`
because there are cases where `CreateUri` succeeds while `SHParseDisplayName`
fails such as a non-existent `file:` uri and we want to keep the same
validation result for those cases.

Adding `CreateUri` broke MinGW build because of our toolkit issue.  We use
dynamic linking for MinGW build in the meantime.

This patch adds a new unittest to make sure the new validation logic
behaves the same as the old one except the fragment issue.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 22:10:32 +00:00
Abdoulaye O. Ly 55e51c578b Bug 1562990 - Remove 'audioMuted' and 'audioVolume' properties from nsIDOMWindowUtils. r=NeilDeakin,alwu,farre
While working on porting the (audio-playback indicators) bug 1562990 to fission, we saw the potential to delete some methods in nsIDOMWindowUtils because they were not used anymore in our codebase except in a couple of tests files. So now, we should only mute/unmute or change the volume in the parent process. As such, interfaces are added in SpecialPowers to change media muted or volume state from content processes.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 21:17:21 +00:00
Abdoulaye O. Ly 5ce82c5c12 Bug 1562990 - [Fission] Make AudioPlayback work with JSWindowActor. r=NeilDeakin,farre
Differential Revision: https://phabricator.services.mozilla.com/D36648

--HG--
extra : moz-landing-system : lando
2019-08-19 21:17:21 +00:00
Cosmin Sabou ebc3621600 Backed out changeset 39212af55f82 (bug 1573473) for causing several browser chrome failures.
--HG--
extra : histedit_source : 7673911b1bfa661a37ac4721d577d9d373934824
2019-08-20 00:23:11 +03:00
Mark Banner f1269916c2 Bug 1574915 - Fix useless try-catch issues in toolkit/. r=mossop
Depends on D42509

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

--HG--
extra : moz-landing-system : lando
2019-08-19 16:11:26 +00:00
Mark Banner ca74b508b7 Bug 1574915 - Fix some instances of using async functions as promise executors. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D42508

--HG--
extra : moz-landing-system : lando
2019-08-19 16:26:31 +00:00
Robert Strong 8be2059dbd Bug 1486637 - Backout bug 1486637 and related patches. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D42143

--HG--
extra : moz-landing-system : lando
2019-08-19 19:43:17 +00:00
dleblanccyr d024456be2 Bug 1573473 - Creates global function to make strings kebab-case. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41818

--HG--
extra : moz-landing-system : lando
2019-08-19 19:44:34 +00:00
Nathan Froyd c4bf69bae9 Bug 1574555 - make TelemetryOrigin::InitializeGlobalState more efficient; r=chutten
There are two interrelated problems with `InitializeGlobalState`.  The
first is that the function itself is enormous; it clocks in at around
90K in my x86-64 Linux Nightly.  (For comparison, the core interpreter
of the JS engine is smaller than this function.)  This comes about
mostly because of:

```
  gOriginHashesList = MakeUnique<OriginHashesList>(OriginHashesList{
  });
```

which has to:

1. Construct a Tuple.
2. Append that Tuple to a temporary `std::initializer_list`.
3. Repeat for ~2500 origins.
4. Hand the `std::initializer_list` off to an `nsTArray`.
5. Move that temporary `nsTArray` into the newly `MakeUnique`'d `nsTArray`.
6. Destroy all the temporary objects created in the process.

You can imagine that this process is not exactly efficient.

The second problem is that creating this giant mass of code means that
TelemetryOrigin.cpp takes ~30s to compile on my home machine (x86-64
Android, because that's what I took the measurements on).  This amount
of time is...excessive.

We're going to attack both problems with a single patch.  The core idea
is that we're going to make three statically constructed arrays from
TelemetryOriginData.inc:

1. An array of (`originLength`, `hashLength`) pairs.
2. A large string constant containing the origins, in TelemetryOriginData.inc
   declared order.
3. Likewise for the hashes.

The length of the first array is therefore the number of origins that
we're dealing with.  It's important to note that items 2 and 3 are
storing data that we'd have to store anyway; they're just storing them
in a slightly different format.  The first array is ~5K, but we're
willing to pay that to cut down on codesize.

To access the i'th origin, we need to sum the [0, i) `originLengths`
members; this sum then gives us the offset into the giant string
constant for the origins for the i'th origin.  We can do the same
computation for the hashes, but using `hashLength` and the giant string
constant for the hashes.  Fortunately, as we iterate through
the (`originLength`, `hashLength`) array, we can maintain a running
total of these members for nominal cost.

We can then build `gOriginHashesList` in the same loop that initializes
`gOriginToIndexMap` and `gHashToIndexMap`, for significantly less work.
As a bonus, we can make inserting items into those two maps cheaper,
because we have easy access to the lengths for the keys, rather than
computing them at runtime.

All of these changes combine to shrink `InitializeGlobalState` to less
than 2K of code on a local build.  Compilation time is similarly reduced.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 15:01:35 +00:00
Luca Greco fd628bd83e Bug 1574485 - Prevent test_ext_storage_idb_data_migration.js to fail in a beta build because an undefined appInfo.version has been cached. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D42494

--HG--
extra : moz-landing-system : lando
2019-08-19 18:16:13 +00:00
Carolina cbb50cbc76 Bug 1570978 - Update vendored PKI.js library to 2.1.81.r=johannh
x509.subjectPublicKeyInfo was returning undefined in Firefox while in Certainly-Something it was returning the expected value. There was a problem in PublicKeyInfo.js of pkijs library, this condition `if(this.algorithm.algorithmParams instanceof asn1js.ObjectIdentifier)` was returning false, but it shouldn't. This problem was fixed in the new version of the library.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 17:12:41 +00:00
Tim Nguyen b578838829 Bug 1574727 - Update common.inc.css link colors to match photon spec. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D42539

--HG--
extra : moz-landing-system : lando
2019-08-19 17:47:47 +00:00
Kirk Steuber 28ff71c2d6 Bug 1570396 - Fix misc. issues with permission setting r=mhowell
This patch fixes a number of miscellaneous issues with permission setting.
When we move a directory, recreate it, and move the contents back, those contents may be in use (possibly by antivirus). To address this, we now fall back to copying the data back and removing the originals.

The maximum number of backups to make when moving conflicting files is now 3 instead of 9. 9 seemed a bit excessive.

There is now an additional level of SetPermissionsOf, FilesAndDirsWithBadPerms. This new value causes permissions not to be fixed if we are unable to read them. This should prevent unnecessary permission fixes while still allowing us to aggressively set them when necessary.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 17:35:29 +00:00
Andrew McCreight b67d050045 Bug 1574543 - Add and use a Fission-compatible utility method to check if a remote type is for web content. r=mconley
Some tests check that the remote type is "web", but with Fission it
will instead start with "webIsolated=".

I fixed some of the errors in
browser_new_web_tab_in_file_process_pref.js and
browser_httpResponseProcessSelection.js, but there are other failures,
so they remain disabled.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 16:56:36 +00:00
dleblanccyr 7a91ae4044 Bug 1572085 - Adds functionality to show long hex. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41599

--HG--
extra : moz-landing-system : lando
2019-08-15 19:15:48 +00:00
Jan Varga dadf8723f2 Bug 1570644 - Part 3: Fix a regression caused by bug 1551055 part 1; r=asuth
MANUAL PUSH: Lando appears to be confused about which branch it needs to push to (landing blocked on "Repository is not supported by Lando.").

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

--HG--
extra : rebase_source : b70568422d12aedd3d371139d2505f863ff29ee2
extra : amend_source : 54d289dae1fe85bdf70893ed165ac990ac8dc35d
2019-08-19 10:27:36 +02:00
Ciure Andrei e77f0924b4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-08-19 19:11:23 +03:00
Ciure Andrei a3f5e3f5fd Merge autoland to mozilla-central. a=merge 2019-08-19 19:08:52 +03:00
Razvan Maries 3be1d4cc62 Backed out changeset 2b1ffc8004d5 (bug 1035892) for causing bug 1574515. a=backout 2019-08-19 18:04:05 +03:00
Luca Greco 87aa804651 Bug 1473837 - AddonInstall should flush the jar cache for the temporary xpi file before trying to remove it. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D41360

--HG--
extra : moz-landing-system : lando
2019-08-16 21:49:33 +00:00
Ciure Andrei 9a123fb597 Backed out changeset 81156ff3f4fa (bug 1571656) for causing browser_PageActions.js and test_insertTree_fixupOrSkipInvalidEntries.js to perma fail CLOSED TREE 2019-08-19 13:00:44 +03:00
Matthew Noorenberghe fbd2729e3f Bug 1570372 - Add a test for LoginStats:NewSavedPassword. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D42256

--HG--
extra : moz-landing-system : lando
2019-08-17 22:30:15 +00:00
Matthew Noorenberghe 4f572e67ba Bug 1570372 - Add a newSavedLogin CFR trigger for when a login is saved from a doorhanger. r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D42074

--HG--
extra : moz-landing-system : lando
2019-08-15 18:48:14 +00:00
Shane Caraveo 4c24a7f0ac Bug 1542403 Add privileged activity logging api r=rpl,zombie
Differential Revision: https://phabricator.services.mozilla.com/D34440

--HG--
extra : moz-landing-system : lando
2019-08-16 23:00:56 +00:00
Shane Caraveo 3a4666603f Bug 1542403 Add extension activity logging facility r=rpl,zombie
Logging for extension api calls, api event dispatches,
and content script injections.

To view extension activity, see:
https://github.com/aswan/firefox-activity-log

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

--HG--
extra : moz-landing-system : lando
2019-08-16 23:57:30 +00:00
chrmod 3aafa3960e Bug 1562844 - GeckoView webextensions tabs and webnavigation listeners support r=robwu,rpl,snorp
This changes provide basic support for webextenion tabs and webNavigation listeners by implementing missing objects on which Fennec implementation was relying.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 18:59:55 +00:00
Megha 8dbd128be8 Bug 1567883 - Remove MozMeegoAppService.h file ( dead code ). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D42429

--HG--
extra : moz-landing-system : lando
2019-08-19 09:23:05 +00:00
Moritz Birghan 240771fa29 Bug 1571656 - Use Assert.jsm numeric comparison functions in tests r=mixedpuppy,MattN
Differential Revision: https://phabricator.services.mozilla.com/D40614

--HG--
extra : moz-landing-system : lando
2019-08-19 07:17:12 +00:00
Mark Banner b1970e6a2f Bug 1571466 - Cleanup unnecessary ESLint global definitions. r=mossop
These are raised as redeclares or unused variables by ESLint 6.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 07:11:56 +00:00
dlee f38bf17415 Bug 1574450 - Close inputstream before reseting HashStore file. r=gcp
mInputStream holds a reference to the current opened HashStore file.
While resetting the file, mInputStream should be closed first, otherwise,
the file->Remove returns failure code NS_ERROR_FILE_IS_LOCKED.
(This only happens in Windows platform)

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

--HG--
extra : moz-landing-system : lando
2019-08-19 07:45:33 +00:00
Andrew McCreight c749e75350 Bug 1574627 - Fix some "disbaled" typos. DONTBUILD r=njn
Differential Revision: https://phabricator.services.mozilla.com/D42376

--HG--
extra : moz-landing-system : lando
2019-08-16 23:23:05 +00:00
Razvan Maries 595de881b0 Backed out 2 changesets (bug 1562264) for causing Android perma fails. CLOSED TREE
Backed out changeset b66eec7d2e55 (bug 1562264)
Backed out changeset 445eadfd8ce3 (bug 1562264)
2019-08-17 02:24:40 +03:00
Alexander Surkov 2e0a3f2e83 Bug 1565318 - avoid richlistbox-popup duping initialization r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D41780

--HG--
extra : moz-landing-system : lando
2019-08-16 21:55:36 +00:00
Mike Hommey 312ec28e99 Bug 1573566 - Move the real libxul definition in a subdirectory. r=froydnj
The current setup, where gtest/libxul uses the static library in
the same directory as the shared libxul, and somehow the backend ignores
gkrust for gtest/libxul, is fragile.

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

--HG--
rename : toolkit/library/dependentlibs.py => toolkit/library/build/dependentlibs.py
extra : moz-landing-system : lando
2019-08-16 21:44:10 +00:00
Razvan Maries 8275452b39 Backed out changeset 722bc0469e8e (bug 1573051) for Windows MinGW bustages. CLOSED TREE 2019-08-17 00:57:50 +03:00
Matthew Noorenberghe 91e9a4e6b4 Bug 1571555 - Use a blank string in place of the username or password when decryption fails. r=keeler
Don't show the login in about:logins if the username or password cannot be decrypted.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 20:27:34 +00:00
Toshihito Kikuchi 27093f2f3d Bug 1573051 - Use both SHParseDisplayName and CreateUri to validate a uri. r=aklotz
For launching with an external protocol handler on Windows, we validate a uri
before sending it to `ShellExecute`, by converting a string into `PIDL` using
`SHParseDisplayName` and extract a string back from PIDL using
`IShellFolder::GetDisplayNameOf`.  The problem was that if a fragment, a
string following a hash mark (#), is always dropped after this validation.
This is caused by the intended design of Windows.

A proposed fix is to use `CreateUri` for validation, which is used behind
`IShellFolder::GetDisplayNameOf`.  However, we also keep `SHParseDisplayName`
because there are cases where `CreateUri` succeeds while `SHParseDisplayName`
fails such as a non-existent `file:` uri and we want to keep the same
validation result for those cases.

This patch adds a new unittest to make sure the new validation logic
behaves the same as the old one except the fragment issue.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 19:06:01 +00:00
Brian Hackett 091f2992d2 Bug 1573938 - Never collect wrapper JSObjects when recording/replaying, r=mccr8.
Differential Revision: https://phabricator.services.mozilla.com/D42011

--HG--
extra : moz-landing-system : lando
2019-08-16 20:51:12 +00:00
Kashav Madan f74ee91093 Bug 1562264 - Update skip-if annotations, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D41763

--HG--
extra : moz-landing-system : lando
2019-08-16 17:31:52 +00:00
Kashav Madan 05d450499e Bug 1562264 - Propagate remote/fission flags from parent to child for content window.open() calls, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D40836

--HG--
extra : moz-landing-system : lando
2019-08-16 17:31:38 +00:00
Brian Hackett 315c6b5efc Bug 1574570 - Fix some callback logic bugs, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D42355

--HG--
extra : moz-landing-system : lando
2019-08-16 19:23:46 +00:00
Luca Greco e97147a160 Bug 1573828 - Ensure IndexedDB.jsm transaction.promiseComplete is rejected with an error object. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D42037

--HG--
extra : moz-landing-system : lando
2019-08-16 10:46:41 +00:00
Carolina d4f38fb724 Bug 1573140 - Fixes adjustCertInformation function to avoid returning empty or undefined elements.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41601

--HG--
extra : moz-landing-system : lando
2019-08-16 18:08:36 +00:00
Eric Rahm f92163b353 Bug 1574276 - Update traits in the bits library to specify dyn. r=agashlin
The `bits` library needs to be updated to prefix traits with `dyn` in order to compile with Rust 1.37 in which they've deprecated non-prefixed traits.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 17:22:15 +00:00
Robert Strong 78a7ea9c45 Bug 1574080 - Remove gDestPath and associated code in updater.cpp since it is no longer used. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D42316

--HG--
extra : moz-landing-system : lando
2019-08-16 15:43:13 +00:00
Abdoulaye O. Ly cbbacc1e6a Bug 1559244 - Step 2: Add support for crashing sub-frame. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37780

--HG--
extra : moz-landing-system : lando
2019-08-15 19:51:42 +00:00
Ehsan Akhgari 0a69c042da Bug 1543527 - Make browser_cookieBetweenTabs.js clean up after itself; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D42189

--HG--
extra : moz-landing-system : lando
2019-08-16 12:00:17 +00:00
Daniel Varga dc7917829e Backed out 2 changesets (bug 1571710) for browser-chrome failures at toolkit/components/certviewer/tests/browser/browser_renderCertToUI.js. On a CLOSED TREE
Backed out changeset 83efa3e53a72 (bug 1571710)
Backed out changeset 36d75347441b (bug 1571710)
2019-08-16 13:24:03 +03:00
Jonathan Kew 4d21f3222e Bug 1570556 - Remove call to pango_fc_font_map_shutdown, which was moved out of public headers in Pango 1.44. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D42127

--HG--
extra : moz-landing-system : lando
2019-08-15 20:10:41 +00:00
Jonathan Kew 18a14ee562 Bug 1568514 - Add telemetry histograms to report hyphenation memory footprint and resource load times. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D39323

--HG--
extra : moz-landing-system : lando
2019-08-16 07:24:46 +00:00
dleblanccyr ccd407cb18 Bug 1571710 - Adds test to download link. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41979

--HG--
extra : moz-landing-system : lando
2019-08-15 15:20:51 +00:00
dleblanccyr e152976a8d Bug 1571710 - Adds link to download certificate. r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D41078

--HG--
extra : moz-landing-system : lando
2019-08-15 15:20:44 +00:00
Henri Sivonen 3201835b16 Bug 1574090 - Make fission.autostart available via StaticPrefs. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D42091

--HG--
extra : moz-landing-system : lando
2019-08-16 07:35:29 +00:00
Matt Woodrow 1c8509c472 Bug 1570147 - Use a Set for HiddenFrame.jsm, so that GC can't clean up frames that we're sitll waiting on. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D42253

--HG--
extra : moz-landing-system : lando
2019-08-16 03:23:28 +00:00
Makoto Kato 3bf7ba667c Bug 1574077 - Add credui.dll to delayload DLL. r=dmajor
Bug 1498518 adds credui.dll to use OS's authenticate dialog for WebAuth support, but this isn't required at start up etc. So we should move this to delay load DLL list.

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

--HG--
extra : moz-landing-system : lando
2019-08-15 18:47:45 +00:00
Micah Tigley 6de8405695 Bug 1573837 - Add utm_* params to the "View full report on Firefox Monitor" link. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42144

--HG--
extra : moz-landing-system : lando
2019-08-15 22:57:09 +00:00
Gabriele Svelto f4e2add6c3 Bug 1035892 - Handle 64-bit addresses for EXC_BAD_ACCESS exceptions on Mac r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D24356

--HG--
extra : moz-landing-system : lando
2019-08-15 19:44:15 +00:00
lesleynorton ff591a5038 Bug 1569846: Add breach alert dismissal. r=MattN,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D41034

--HG--
extra : moz-landing-system : lando
2019-08-15 18:55:37 +00:00
Oana Pop Rus 8f85c499fe Backed out 3 changesets (bug 1559244) for browser chrome failure in browser_background_tab_crash.js on a CLOSED TREE
Backed out changeset 1ce7d9bbe7a1 (bug 1559244)
Backed out changeset dced8cea7b23 (bug 1559244)
Backed out changeset dabda4e90259 (bug 1559244)
2019-08-15 22:21:26 +03:00
Ehsan Akhgari 3882adee6e Bug 1572925 - Make sure that about:support doesn't list the URL decorations pref as an important locked preference; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D42019

--HG--
extra : moz-landing-system : lando
2019-08-15 12:51:59 +00:00
Abdoulaye O. Ly 8aec5ed540 Bug 1559244 - Step 2: Add support for crashing sub-frame. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37780

--HG--
extra : moz-landing-system : lando
2019-08-15 17:16:26 +00:00
Mark Striemer bd5ab026e1 Bug 1557175 - Hide inline options when add-on is disabled r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D35068

--HG--
extra : moz-landing-system : lando
2019-08-01 18:55:30 +00:00
singuliere 3fcd223b56 Bug 1563239 - Do not summarize builtin events to the "dynamic" process r=janerik
Check if the dynamic event is built-in or not before summarizing.

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

--HG--
extra : moz-landing-system : lando
2019-08-15 16:27:54 +00:00
Paul Zuehlcke 3d15cf5b29 Bug 1531303 - Refactored tests using SitePermissions URI methods for PermissionTestUtils and principals. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41490

--HG--
extra : moz-landing-system : lando
2019-08-15 14:35:38 +00:00
Paul Zuehlcke 89fb47a8d9 Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41029

--HG--
extra : moz-landing-system : lando
2019-08-15 14:32:48 +00:00
Micah Tigley 5dcfae24aa Bug 1573593 - Show a link to account/device management next to the Lockwise "Syncing to X Devices" label r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D41951

--HG--
extra : moz-landing-system : lando
2019-08-15 14:11:17 +00:00
Chris H-C 6ad33584e0 Bug 1571734 - Call allow lists "allowlists" consistently in Telemetry r=janerik,Dexter
Differential Revision: https://phabricator.services.mozilla.com/D41432

--HG--
rename : toolkit/components/telemetry/histogram-whitelists.json => toolkit/components/telemetry/histogram-allowlists.json
extra : moz-landing-system : lando
2019-08-14 14:27:49 +00:00
Andrea Marchesini 16b47a442d Bug 1541344 - Delete plugin-data only for the sites with data,r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D40644

--HG--
extra : moz-landing-system : lando
2019-08-14 22:11:09 +00:00
dleblanccyr b8ed9dbce3 Bug 1572189 - Adds padding between sub-sections. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41095

--HG--
extra : moz-landing-system : lando
2019-08-13 19:33:59 +00:00
dleblanccyr 59089a7119 Bug 1568972 - Adds test for displaying error section. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D39530

--HG--
extra : moz-landing-system : lando
2019-08-13 18:28:58 +00:00
Trishul 9129ff2c95 Bug 1520123: Notify users when there is a duplicate shortcut r=mstriemer,fluent-reviewers,flod,Gijs
Notify users when there is a duplicate shortcut

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

--HG--
extra : moz-landing-system : lando
2019-08-15 10:15:28 +00:00
Luca Greco 8075a03120 Bug 1548479 - Rewrite telemetry-related assertions used in WebExtensions tests to make use of TelemetryTestUtils. r=mixedpuppy
Depends on D41594

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

--HG--
extra : moz-landing-system : lando
2019-08-12 16:44:36 +00:00
Luca Greco 570c0ac6ca Bug 1548481 - Rewrite assertions used in Add-ons Manager tests to make use of TelemetryTestUtils. r=mstriemer,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D41594

--HG--
extra : moz-landing-system : lando
2019-08-14 20:31:58 +00:00
Brindusan Cristian d674f265db Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : layout/reftests/mathml/dir-6-ref.html => testing/web-platform/tests/mathml/presentation-markup/direction/direction-006-ref.html
2019-08-15 12:50:36 +03:00
Brindusan Cristian 3a61fb322f Merge inbound to mozilla-central. a=merge 2019-08-15 12:45:55 +03:00
Mike Hommey c173540215 Bug 1573435 - Use toolchain fetches for all remaining toolchain uses. r=nalexander
The remaining uses all need adjustements to in-tree mozconfigs, so they
all need to be done at once.

However, to make things slightly more intelligible, we do this in two
steps. This is step 1: we modify the use_toolchain transform to take care of
the transformation, while keeping the task definitions intact, so that
we only deal with mozconfig and build script adjustements here.

Differential Revision: https://phabricator.services.mozilla.com/D41890
2019-08-15 11:21:52 +09:00
Bogdan Tara 745a1d73ea Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-08-15 01:06:23 +03:00
Jed Davis 51bcb910f3 Bug 1426526 - Remove references to the old Chromium temporary file prefix. r=gsvelto,florian
With the removal of the old Chromium file_util code, we should no longer
be using temporary files with names starting with "org.chromium.", so the
crash reporter and main thread I/O test no longer need to recognize that
prefix.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 22:48:43 +00:00
Brian Hackett 87b9d612de Bug 1573997 - Use correct stride when repainting, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D42044

--HG--
extra : moz-landing-system : lando
2019-08-14 22:47:51 +00:00
Mihai Alexandru Michis 9da24241a7 Backed out changeset 5974ae084211 (bug 1520123) for causing failures in browser_manage_shortcuts_hidden.js/browser_shortcuts_duplicate_check.js CLOSED TREE
--HG--
extra : rebase_source : 8f52fb5fc8382f125370bec66ecc98fe0bde2c84
extra : amend_source : 10a43ff84af03e7cdccd2c020e8fff5f24c1a77e
2019-08-15 11:27:27 +03:00
Ciure Andrei 7bb64b9037 Backed out changeset 5ed6b561f0ea (bug 1573140) for causing ESlint failres CLOSED TREE 2019-08-14 17:31:57 +03:00
Ehsan Akhgari 56e165b9ce Bug 1573236 - Part 1: Move the Storage Access API heuristics and telemetry from the front-end to Gecko; r=johannh,baku
This will allow these heuristics to be used on mobile.
This depends on GeckoView supporting a JavaScript module
at resource:///modules/BrowserUsageTelemetry.jsm with the
interface described in nsIBrowserUsage.idl.  Bug 1573238 has
been filed in order to implement this module on GeckoView.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 21:00:51 +00:00
Nick Alexander 44608f65ab Bug 1570411 - Add --without-fennec to make `mach package` not produce Fennec APK. r=chmanchester
When working on GeckoView, there's no need to produce a Fennec APK.
This commit avoids doing that work at `mach package` time.  There are
many other things we'd like to stop doing as we remove Fennec from the
tree, so we add a general flag to guard such things.

Depends on D41447

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

--HG--
extra : moz-landing-system : lando
2019-08-14 20:40:00 +00:00
Mihai Alexandru Michis cd6717e6e4 Backed out 2 changesets (bug 1569846, bug 1572118) for causing failures in browser_deleteLogin.js
Backed out changeset e9acadba3a61 (bug 1569846)
Backed out changeset 9c5269817d0a (bug 1572118)

--HG--
extra : rebase_source : e6169f79b1518d214d822933771792a6f081c02d
2019-08-15 10:35:25 +03:00
Trishul 93abf723fe Bug 1520123: Notify users when there is a duplicate shortcut r=mstriemer,fluent-reviewers,flod,Gijs
Notify users when there is a duplicate shortcut

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

--HG--
extra : moz-landing-system : lando
2019-08-14 22:33:06 +00:00
Ehsan Akhgari 41e991dd1f Bug 1573236 - Also allow collection in the main process for the single-process case
Differential Revision: https://phabricator.services.mozilla.com/D42070

--HG--
extra : moz-landing-system : lando
2019-08-15 03:39:17 +00:00
Lina Cambridge 1e3d00af59 Bug 1573738 - Test aborting application, not only merging. a=testonly
`SyncedBookmarksMirror::merge` is racy: the storage thread might finish
merging before it gets the cancellation signal. However, `apply` also
notifies observers and fetches records, which happen after we've
aborted our JS controller. Even if the Rust op isn't canceled in time,
we should still abort the remaining operations.

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

--HG--
extra : moz-landing-system : lando
2019-08-15 01:28:50 +00:00
lesleynorton 7fa8371641 Bug 1569846: Add breach alert dismissal. r=MattN,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D41034

--HG--
extra : moz-landing-system : lando
2019-08-14 22:56:55 +00:00
Ehsan Akhgari 9d97f1365f Bug 1573236 - Address review comments on part 1
This got left out of changeset a60edc93a434 during rebase.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 23:00:00 +00:00
Matthew Noorenberghe 60b07d7f71 Bug 1571465 - Stop treating fields with replaced values as generated password ones r=sfoster
Depends on D41147

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

--HG--
extra : moz-landing-system : lando
2019-08-14 19:35:09 +00:00
Matthew Noorenberghe a0b6e6a413 Bug 1571465 - Stop treating password fields we're about to fill as generated password ones. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D41147

--HG--
extra : moz-landing-system : lando
2019-08-12 23:24:54 +00:00
Matthew Noorenberghe 11122fd86c Bug 1571465 - Stop treating field as generated password ones after blanking. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D41146

--HG--
extra : moz-landing-system : lando
2019-08-12 23:24:46 +00:00
Shane Caraveo e0b4be7187 Bug 1547140 add classification data to webRequest API r=zombie,kmag,Fallen
Differential Revision: https://phabricator.services.mozilla.com/D35911

--HG--
extra : moz-landing-system : lando
2019-08-14 16:10:51 +00:00
Sebastian Streich 6658520ea2 Bug 1571742 - Move Nosniff-Check into Sniffers r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D41504

--HG--
extra : moz-landing-system : lando
2019-08-14 13:59:06 +00:00
Carolina f9d0b2be54 Bug 1573140 - Fixes adjustCertInformation function to avoid returning empty or undefined elements.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41601

--HG--
extra : moz-landing-system : lando
2019-08-14 13:08:03 +00:00
Ciure Andrei b454daea7a Backed out 3 changesets (bug 1531303) for causing close_window/close.py and browser_permissions_dialog.js to perma fail CLOSED TREE
Backed out changeset 87305e83174e (bug 1531303)
Backed out changeset 0c75c3bac00b (bug 1531303)
Backed out changeset 865c2a5d40da (bug 1531303)
2019-08-14 13:07:55 +03:00
Paul Zuehlcke 065ae1e01e Bug 1531303 - Refactored tests using SitePermissions URI methods for PermissionTestUtils and principals. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41490

--HG--
extra : moz-landing-system : lando
2019-08-14 08:31:39 +00:00
Paul Zuehlcke 93bacc1004 Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41029

--HG--
extra : moz-landing-system : lando
2019-08-14 08:31:23 +00:00
Henri Sivonen c562792b2e Bug 1490593 - Move FFI for encoding_rs::mem to a vendored crate. r=froydnj
Also remove most C++-side optimizations for avoiding calls to Rust
for short strings now that we have LTO between C++ and Rust. Since
LTO still leaves the overhead of one function call layer, inlined
function call avoidance optimization is left in place in the
IsUTF8 and in the 8-bit IsASCII cases for which perfherder flags
the difference as significant for the length 15.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 07:53:34 +00:00
Mike Hommey 9176c8beb4 Bug 1572048 - Remove toolkit/library/gtest/static. r=mshal
It was used as an intermediate static library to ensure an order in
libxul-gtest wrt StaticXULComponents*, but those were removed in bug
1541792.

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

--HG--
rename : toolkit/library/gtest/static/TestUCRTDepends.cpp => toolkit/library/gtest/TestUCRTDepends.cpp
extra : moz-landing-system : lando
2019-08-14 02:44:59 +00:00
Cosmin Sabou bf94f57431 Backed out changeset 2bfb73091f21 (bug 1547140) for xpcshell failures on test_ext_webRequest_urlclassification. CLOSED TREE 2019-08-14 05:35:27 +03:00
Lina Cambridge 9a92aa1ff2 Bug 1573738 - Pass an already-aborted signal to avoid a race in `test_abort_merging`. a=testonly
Differential Revision: https://phabricator.services.mozilla.com/D41885

--HG--
extra : moz-landing-system : lando
2019-08-14 02:15:26 +00:00
Shane Caraveo 80335e9e8d Bug 1547140 add classification data to webRequest API r=zombie,kmag,Fallen
Differential Revision: https://phabricator.services.mozilla.com/D35911

--HG--
extra : moz-landing-system : lando
2019-08-12 22:00:20 +00:00
Lina Cambridge 65dfa84ccd Bug 1573305 - Remove the check for unmerged synced bookmark changes. r=markh
When a local or remote item changed, we'd potentially scan three tables
(with an expensive `LEFT JOIN`!) to check if anything changed...then
scan the same tables again to build the local and remote trees. This
check was originally meant to avoid unnecessary merges. However, the
bottleneck isn't merging now; it's reading from the database.

Since the merger has been rewritten in Rust, is synchronous, doesn't
keep a transaction open for the entire merge (see the
`total_sync_changes` check), and only emits ops for items that actually
changed, it's more efficient to build and merge optimistically, and
bail before applying if nothing changed.

This commit also moves `validateLocalRoots` into Rust.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:58:16 +00:00
Mike Conley bafcdd7e57 Bug 1567604 - Make VIDEO_PLAY_TIME_MS Telemetry probe opt-out. data-review=bmiroglio,r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D38744

--HG--
extra : moz-landing-system : lando
2019-08-13 17:23:12 +00:00
Michael Cooper 8e102b9293 Bug 1572578 - Convert AddonStudies migration to a general Normandy migration r=rdalal
Differential Revision: https://phabricator.services.mozilla.com/D41300

--HG--
extra : moz-landing-system : lando
2019-08-13 22:04:24 +00:00
J.C. Jones 32759c8ed5 Bug 1573662 - Rename sanctions test routines to make it easier to add new ones r=keeler
1) Multipurpose-ing the TLSServer specialization to `SanctionsTestServer`
2) Renaming the `security/manager/ssl/tests/unit/test_symantec_apple_google` folder of certs to `test_sanctions`
3) Prepend a `symantec-` to the start of all relevant certs in the new `test_sanctions` folder
4) Renaming the existing xpcshell test to `test_sanctions_symantec_apple_google.js`

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

--HG--
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/default-ee.key => security/manager/ssl/tests/unit/test_sanctions/default-ee.key
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/default-ee.key.keyspec => security/manager/ssl/tests/unit/test_sanctions/default-ee.key.keyspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/default-ee.pem => security/manager/ssl/tests/unit/test_sanctions/default-ee.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/default-ee.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/default-ee.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/moz.build => security/manager/ssl/tests/unit/test_sanctions/moz.build
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-from-whitelist-after-cutoff.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-from-whitelist-after-cutoff.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-from-whitelist-after-cutoff.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-from-whitelist-after-cutoff.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-from-whitelist-before-cutoff.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-from-whitelist-before-cutoff.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-from-whitelist-before-cutoff.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-from-whitelist-before-cutoff.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-not-whitelisted-after-cutoff.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-not-whitelisted-after-cutoff.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-not-whitelisted-after-cutoff.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-not-whitelisted-after-cutoff.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-not-whitelisted-before-cutoff.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-not-whitelisted-before-cutoff.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-not-whitelisted-before-cutoff.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-not-whitelisted-before-cutoff.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-other-crossigned.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-other-crossigned.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-other-crossigned.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-other-crossigned.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-other.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-other.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-other.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-other.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-whitelisted.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-whitelisted.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-whitelisted.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-whitelisted.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/real-google-g2-intermediate.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-real-google-g2-intermediate.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/real-googlecom.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-real-googlecom.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/test-ca.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-test-ca.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/test-ca.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-test-ca.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google.js => security/manager/ssl/tests/unit/test_sanctions_symantec_apple_google.js
rename : security/manager/ssl/tests/unit/tlsserver/cmd/SymantecSanctionsServer.cpp => security/manager/ssl/tests/unit/tlsserver/cmd/SanctionsTestServer.cpp
extra : moz-landing-system : lando
2019-08-13 20:59:17 +00:00
Lina Cambridge af04508091 Bug 1572615 - Make bookmark merges abortable. r=markh
This commit changes `mozISyncedBookmarksMerger.merge` to return a
cancelable operation, and adds an abort `signal` option to
`SyncedBookmarksMirror.apply`. Aborting the signal's
`AbortController`, or finalizing the mirror, interrupts the merge.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 18:48:10 +00:00
Mike Conley d64c589ac1 Bug 1568320 - Add a context menu to the Picture-in-Picture toggle to allow for easy hiding. r=NeilDeakin,JSON_voorhees
Differential Revision: https://phabricator.services.mozilla.com/D40305

--HG--
extra : moz-landing-system : lando
2019-08-13 18:29:29 +00:00
Mike Conley 1d62a12e08 Bug 1568320 - Make Picture-in-Picture toggle preference live-updating. r=NeilDeakin,JSON_voorhees
Differential Revision: https://phabricator.services.mozilla.com/D40303

--HG--
extra : moz-landing-system : lando
2019-08-13 13:19:06 +00:00
Cosmin Sabou b26c339222 Backed out 6 changesets (bug 1572189, bug 1572773, bug 1568974, bug 1571710, bug 1568972) for eslint failure on content/pageinfo/security.js. CLOSED TREE
Backed out changeset d0162a59fb9f (bug 1572773)
Backed out changeset c2105d0d65aa (bug 1572189)
Backed out changeset 49b0496a73ed (bug 1571710)
Backed out changeset 1ba4647f9bb9 (bug 1568974)
Backed out changeset a33c6ef60d25 (bug 1568974)
Backed out changeset 168b4675c975 (bug 1568972)
2019-08-13 21:23:23 +03:00
dleblanccyr 6bc32f4961 Bug 1572773 - Adds utility functions for opening certviewer to head.js and refactors tests. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41424

--HG--
extra : moz-landing-system : lando
2019-08-13 16:28:19 +00:00
dleblanccyr af3400b041 Bug 1572189 - Adds padding between sub-sections. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41095

--HG--
extra : moz-landing-system : lando
2019-08-13 17:51:13 +00:00
dleblanccyr 0144aac996 Bug 1571710 - Adds link to download certificate. r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D41078

--HG--
extra : moz-landing-system : lando
2019-08-13 14:33:12 +00:00
dleblanccyr b053015bbc Bug 1568974 - Adds test for certificate error warning. [WIP - waiting for error rendering to be resolved in 1571427] r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41032

--HG--
extra : moz-landing-system : lando
2019-08-13 13:44:52 +00:00
dleblanccyr fe443d7006 Bug 1568974 - Adds error warning to certificate viewer. r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D39531

--HG--
extra : moz-landing-system : lando
2019-08-13 14:09:44 +00:00
dleblanccyr 93ddb7aece Bug 1568972 - Adds test for displaying error section. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D39530

--HG--
extra : moz-landing-system : lando
2019-08-13 13:46:03 +00:00
Johann Hofmann 3e16c090fe Bug 1573577 - Correctly categorize social tracking cookies in TrackingDBService. r=baku
In the content blocking log, these can be represented by different entries
in the events array.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 17:29:18 +00:00
Dan Minor d4dcf37f19 Bug 1570634 - Renew expired media telemetry; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D41611

--HG--
extra : moz-landing-system : lando
2019-08-13 13:18:59 +00:00
Alessio Placitelli 395c589ab9 Bug 1572765 - Add docs for reporting Gecko metrics in Glean. r=chutten,janerik,mdroettboom
Differential Revision: https://phabricator.services.mozilla.com/D41538

--HG--
extra : moz-landing-system : lando
2019-08-13 15:17:42 +00:00
Alexander Surkov 9f31d5882a Bug 1572624 - arrowscrollbox doesn't work properly if hosted in shadow DOM, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D41609

--HG--
extra : moz-landing-system : lando
2019-08-13 13:16:47 +00:00
Itiel 4055578f0b Bug 1524872 - Mirror the search icon (textbox-search-sign) for RTL r=dao
Differential Revision: https://phabricator.services.mozilla.com/D40710

--HG--
extra : moz-landing-system : lando
2019-08-13 13:17:15 +00:00
preyunk 7dcdf63058 Bug 1567530 - Clean up MozAutocompleteRichlistitemInsecureWarning fragment markup r=dao
Differential Revision: https://phabricator.services.mozilla.com/D41748

--HG--
extra : moz-landing-system : lando
2019-08-13 12:55:48 +00:00
Emilio Cobos Álvarez c3ee3ac3a8 Bug 1418624 - Allow mozilla::Result to be moved, make unwrap{,Err}() move, and add inspect() APIs that return references. r=froydnj
Also adjust some of the callers that were either calling unwrap() repeatedly on
the same result, or were doing silly copies, to use inspect().

We could try to use stuff like:

https://clang.llvm.org/docs/AttributeReference.html#consumed-annotation-checking

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

--HG--
extra : moz-landing-system : lando
2019-08-13 08:26:18 +00:00
dlee 56a1409a1d Bug 1573176 - Fix SafeBrowsing doesn't use correct preference name for social tracking and cryptoming. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41645

--HG--
extra : moz-landing-system : lando
2019-08-13 07:51:50 +00:00
Sylvestre Ledru 645f2d5773 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-08-13 07:15:25 +00:00
Shane Caraveo 4321e2c746 Bug 1376932 webrequest onHeadersReceived modification test r=robwu
Tests that onHeadersReceived can modify cached headers.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 21:02:22 +00:00
Ehsan Akhgari da187aab70 Bug 1560741 - Part 2: Remove the now unneeded PERMISSION_REQUEST_THIRD_PARTY_ORIGIN telemetry probe; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41306

--HG--
extra : moz-landing-system : lando
2019-08-12 21:39:05 +00:00
Brindusan Cristian 29eb45c017 Backed out 2 changesets (bug 1560741) for mochitest failures at test_permission_isHandlingUserInput.xul. CLOSED TREE
Backed out changeset c08aa2078829 (bug 1560741)
Backed out changeset 9dc1d39d2786 (bug 1560741)
2019-08-13 00:23:59 +03:00
Ehsan Akhgari 55cafaf74a Bug 1516047 - Apply a very large timeout to browser_blockingMessaging.js to allow it to pass on Windows 10 x64 CCov debug test machines
Differential Revision: https://phabricator.services.mozilla.com/D41627

--HG--
extra : moz-landing-system : lando
2019-08-12 19:54:25 +00:00
Ehsan Akhgari 6f54e8e054 Bug 1560741 - Part 2: Remove the now unneeded PERMISSION_REQUEST_THIRD_PARTY_ORIGIN telemetry probe; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41306

--HG--
extra : moz-landing-system : lando
2019-08-12 19:34:43 +00:00
Brindusan Cristian 317133c7f8 Backed out changeset 58afdd441a45 (bug 1568972) for bc failures at browser_aboutcertificateviewer.js. CLOSED TREE 2019-08-12 21:34:21 +03:00
dleblanccyr a5bb36d4dd Bug 1568972 - Adds test for displaying error section. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D39530

--HG--
extra : moz-landing-system : lando
2019-08-12 15:47:05 +00:00
Cosmin Sabou 4569ff802f Backed out changeset 2a9a7371947a (bug 1562844) for Android mochitest failures on test_ext_tabs_onUpdated. CLOSED TREE 2019-08-12 19:18:01 +03:00
chrmod 25488b089e Bug 1562844 - GeckoView webextensions tabs and webnavigation listeners support r=robwu,rpl,snorp
This changes provide basic support for webextenion tabs and webNavigation listeners by implementing missing objects on which Fennec implementation was relying.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 12:51:52 +00:00
Carolina 714a88a315 Bug 1571831 - Adds some l10n missing strings.r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D40909

--HG--
extra : moz-landing-system : lando
2019-08-12 13:43:29 +00:00
Cosmin Sabou d77cbfd825 Bug 1457984 - Disable test_TelemetrySend.js on !debug for frequent failures. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D41503

--HG--
extra : moz-landing-system : lando
2019-08-12 13:37:31 +00:00
Michael Ratcliffe 9488f545ea Bug 1569570 - Select elements fail to display dropdown in RDM r=bradwerth,layely
The `xul:menulist` appears a little offset but this is the same as it was prior to the fission patch that completely broke it.

If you have an alternate approach or a way to get the correct position for the `xul:menulist` I am all ears.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 15:23:33 +00:00
Henri Sivonen ed1e9fd632 Bug 1572364 - Make jsrust_shared a non-optional dependency of gkrust-shared. r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D41163

--HG--
extra : moz-landing-system : lando
2019-08-09 17:32:29 +00:00
Nicholas Nethercote d138bffba8 Bug 1572582 - Merge healthreport-prefs.js into all.js. r=chutten
This makes prefs definition simpler, more consistent, and less error-prone.

The patch also changes the form of the "not Android" condition to one used more
widely in all.js.

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

--HG--
extra : moz-landing-system : lando
2019-08-11 23:31:30 +00:00
Nicholas Nethercote 0f5a239170 Bug 1572582 - Merge datareporting-prefs.js into all.js. r=chutten
This makes prefs definition simpler, more consistent, and less error-prone.

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

--HG--
extra : moz-landing-system : lando
2019-08-11 23:31:12 +00:00
Erica Wright c338fe4e07 Bug 1559431 - Add social tracking to the ETP graph r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40476

--HG--
extra : moz-landing-system : lando
2019-08-11 21:43:58 +00:00
Liang-Heng Chen a2ebde7992 Bug 1572666 - enable telemetry on release channel; r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D41346

--HG--
extra : moz-landing-system : lando
2019-08-09 12:48:38 +00:00
Daniel Varga 8f35473d07 Backed out changeset 65c6d801e7b4 (bug 1571555) for browser chrome failure at browser/components/aboutlogins/tests/browser/browser_masterPassword.js
--HG--
extra : rebase_source : 9182aebd42d50c9a502dc7fabaf99238ac5e62c5
2019-08-10 22:35:50 +03:00
Gabriele Svelto beb62c4c31 Bug 1282776 - Finalize crash reports for child process crashes happening too early r=froydnj
This changes the way crash reports for child processes happening too early
during the child process' startup. Before bug 1547698 we wrote a partial
.extra file with those crashes that lacked the process type. The user would
not be notified of those crashes until she restarted Firefox and even when
submitted those crashes would be erroneously labeled as browser crashes.

After bug 1547698 we stopped writing .extra files entirely for those crashes
which left orphaned .dmp files among the pending crash reports.

This patch does three things to improve the situation:

* It writes a partial .extra file so that the crashes are detected at the next
  startup. So the user is still not notified directly of these crashes but she
  can report them later.
* It adds the process type to the .extra file so that the crash reporters are
  labelled correctly.
* It fixes a leak in the `pidToMinidump` hash-map. Since the crashes were
  not finalized the `ChildProcessData` strucutre associated with them would
  never be fred.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 14:23:19 +00:00
Cosmin Sabou f134fff740 Bug 1571698 - Annotate tests that also crash on opt builds. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D41459

--HG--
extra : moz-landing-system : lando
2019-08-10 00:45:51 +00:00
Jared Wein 018b8a1983 Bug 1571555 - Use a blank string in place of the username or password when decryption fails. r=keeler
Don't show the login in about:logins if the username or password cannot be decrypted.

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

--HG--
extra : moz-landing-system : lando
2019-08-10 00:19:48 +00:00
Alastor Wu 9f6ad187bb Bug 1567302 - add a Telemetry ping to record the deault setting of blocking autoplay. r=janerik,daleharvey
We acutally have an old Telemetry ping `autoplay_default_blocked`, which, however, has been removed incorrectly in bug1356046.

As we have extended the setting options of blocking autoplay in bug1543812, it's also no longer proper to use scalar to store it.

Therefore, create an new histogram Telemetry ping to store the number of times a user changed the default autoplay behavior to each setting during a subsession.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 21:26:55 +00:00
Geoff Brown 71a8b7c3cb Bug 1572393 - Disable browser_blocking* tests on Linux asan to fix permafailing chunk. a=Aryx CLOSED TREE
--HG--
extra : amend_source : 2dcf758a3955646eefd83d24a0e11fdb09e1f000
2019-08-09 10:57:10 -06:00
Brendan Dahl ce097d1bac Bug 1566882 - Update pdf.js telemetry to use more appropriate types. r=chutten,Snuffleupagus
Use the new 'scalar' and 'categorical' telemetry types to make it easier
to read the graphs.

Moves the majority of the data to expire in 75. The following are set to
never expire since they are good to monitor for regressions and general
usage.
 - PDF_VIEWER_TIME_TO_VIEW_MS
 - pdf.viewer.used

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

--HG--
extra : moz-landing-system : lando
2019-08-09 18:31:25 +00:00
Chris H-C e46d023ffc Bug 1572718 - Clarify the docs for Categorical Histograms r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D41402

--HG--
extra : moz-landing-system : lando
2019-08-09 19:30:39 +00:00
Brendan Dahl 0a8d6f243d Bug 1551344 - Part 2: Update outdated comments referencing XULDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D41239

--HG--
extra : moz-landing-system : lando
2019-08-09 17:47:41 +00:00
Micah Tigley 420708d31b Bug 1569614 - Add SUMO content links. r=ewright,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D40902

--HG--
extra : moz-landing-system : lando
2019-08-09 15:59:45 +00:00
Christoph Kerschbaumer 813386bebb Bug 1497189: Apply Meta CSP to about:addons. r=Ehsan,robwu
Differential Revision: https://phabricator.services.mozilla.com/D39918

--HG--
extra : moz-landing-system : lando
2019-08-09 12:31:15 +00:00
Dale Harvey c08ddf8ba0 Bug 1542243 - Implement search engine rule selector. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D35456

--HG--
extra : moz-landing-system : lando
2019-08-09 09:52:00 +00:00
dlee c82f97c685 Bug 1564346 - SafeBrowsing gtest code refactoring. r=gcp
Refactor the gtest code because it confused me while adding new tests.
This patch focus on refining utility function but it also contains other
minor refinements.

Changes includes:
1. Add comments to utility function
2. Move common utility functions to Common.cpp and remove duplicates
3. Header file removal and reorder
4. Unify MPL commnetc
5. Replace anonymouse namespace with static function

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

--HG--
extra : moz-landing-system : lando
2019-08-08 14:29:40 +00:00