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

58082 Коммитов

Автор SHA1 Сообщение Дата
Noemi Erli 839b4f2f72 Backed out changeset f5c3925fab83 (bug 1576748) for bustage in symbolstore.py 2019-08-27 18:03:42 +03:00
Rob Wu 9fa3da5065 Bug 1548508 - Ensure that primed event listeners are eventually unregistered r=mixedpuppy
Depends on D42670

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

--HG--
extra : moz-landing-system : lando
2019-08-21 18:06:44 +00:00
Rob Wu f1d8b687b6 Bug 1575190 - Properly unload test add-on after manager restart r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D42670

--HG--
extra : moz-landing-system : lando
2019-08-22 11:34:30 +00:00
Nathan Froyd 86440591dc Bug 1576748 - make symbolstore.py complain loudly if expected output isn't found; r=nalexander
This change surfaces errors faster, and ensures that we don't silently
end up with empty crashreporter symbols if `dump_syms` can't run for
some reason.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 14:30:53 +00:00
Ehsan Akhgari 7eaef3f18f Bug 1540117 - Part 3: Add unit tests for ensuring that the right set of console messages are captured during the anti-tracking test suite, and also add test coverage for BEHAVIOR_REJECT_FOREIGN; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D43272

--HG--
extra : moz-landing-system : lando
2019-08-26 09:27:06 +00:00
Ehsan Akhgari e3ed73da0e Bug 1540117 - Part 2: Add a pref to allow turning off the lazy reporting off anti-tracking warnings to the web console; r=baku
This pref will be used in tests only.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 09:26:44 +00:00
Paul Adenot c23f8dcae9 Bug 1576168 - Update audio_thread_priority to 0.19.1. r=pehrsons
This changes the hard-limit of `RLIMIT_RTTIME` to be the maximum available
(200ms on my system), and keep the soft limit to the same number.

Having different numbers allow catching SIGXCPU before getting SIGKILL.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 08:00:36 +00:00
Adam Gashlin 05036fda25 Bug 1572844 - Consistently check for MOZ_BITS_DOWNLOAD. r=bytesized
BITS download can be disabled on Windows. This patch checks for the
config/define MOZ_BITS_DOWNLOAD when including the C++ parts of the
service, exposing the service in JS, setting the pref, and including
BITS-specific tests. For consistency and simplicity it also removes
the Windows checks; the configure system won't allow
MOZ_BITS_DOWNLOAD if not on Windows.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 23:38:50 +00:00
Mihai Alexandru Michis b505b9fda2 Backed out changeset b2e87e49589e (bug 1569847) for causing failures in browser_breachAlertDismissals.js
--HG--
rename : browser/components/aboutlogins/tests/unit/test_getPotentialBreachesByLoginGUID.js => browser/components/aboutlogins/tests/unit/test_getBreachesForLogins.js
2019-08-27 04:49:39 +03:00
Mihai Alexandru Michis 42b26a5a1a Merge inbound to mozilla-central. a=merge
--HG--
rename : dom/base/Location.cpp => dom/base/LocationBase.cpp
rename : dom/base/Location.h => dom/base/LocationBase.h
2019-08-27 01:31:58 +03:00
Mihai Alexandru Michis 2c5f05fcf3 Merge autoland to mozilla-central. a=merge 2019-08-27 01:29:27 +03:00
Shane Caraveo d41fb24bbb Bug 1576267 move "Message manager disconnected" whitelist into head files r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D43294

--HG--
extra : moz-landing-system : lando
2019-08-26 18:15:25 +00:00
Dorel Luca 325c1a7078 Merge autoland to mozilla-central. a=merge 2019-08-26 12:42:03 +03:00
Jorg K 605749ff64 Backed out 2 changesets (bug 1427877) for causing Thunderbird xpcshell-bustages. a=backout
MANUAL PUSH: Approval from sheriffs via IRC. Immediate fix for massive xpcshell failures.

Backed out changeset 6b90caa175cb (bug 1427877)
Backed out changeset bf126cb4b08f (bug 1427877)

--HG--
extra : amend_source : 0ff7d8fd28b27380cb21ae41ff1df5339759863b
2019-08-26 09:42:37 +02:00
Shane Caraveo 5929bcfc92 Bug 1576273 rename extension to policy where appropriate r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D43301

--HG--
extra : moz-landing-system : lando
2019-08-24 08:16:46 +00:00
Sebastian Streich 6fe493d149 Bug 1576206 - Remove inline Style that causes CSP Violations r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D43453

--HG--
extra : moz-landing-system : lando
2019-08-26 16:40:46 +00:00
Coroiu Cristina 38d7f20baa Backed out 2 changesets (bug 1576168) for build bustages on a CLOSED TREE
Backed out changeset 3ea6795200b1 (bug 1576168)
Backed out changeset 4e8fc76cd529 (bug 1576168)
2019-08-26 19:46:38 +03:00
Paul Adenot 1029a3ce04 Bug 1576168 - Update audio_thread_priority to 0.19.0. r=pehrsons
This changes the hard-limit of `RLIMIT_RTTIME` to be the maximum available
(200ms on my system), and keep the soft limit to the same number.

Having different numbers allow catching SIGXCPU before getting SIGKILL.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 14:20:22 +00:00
Kershaw Chang 2f86a5c093 Bug 1572842 - Collect TRR data on release channel r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D43104

--HG--
extra : moz-landing-system : lando
2019-08-24 05:35:10 +00:00
Luke Crouch 91411a62c2 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 : c8f9ff4966e7395cc7a5ae90f8c1168a41af2002
2019-08-25 14:51:12 -07:00
Nicholas Nethercote adb9edf389 Bug 1574388 - Implement PHC on Mac. r=gsvelto,glandium
But it is not yet enabled; bug 1576515 will do that.

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

--HG--
extra : moz-landing-system : lando
2019-08-25 23:16:05 +00:00
Bogdan Tara 34cb8d0a2a Merge inbound to mozilla-central. a=merge 2019-08-25 12:42:11 +03:00
Jan Varga f4d108788b Bug 1563023 - Part 8: Ignore quota cache if the user loads the same profile in different builds; r=asuth
This patch adds support for quota cache invalidation if the profile is loaded in different builds.

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

--HG--
extra : moz-landing-system : lando
2019-08-25 00:45:19 +00:00
Ciure Andrei 0a6d4a24f8 Merge inbound to mozilla-central. a=merge 2019-08-24 12:51:09 +03:00
Sam Foster 294674d0c5 Bug 1575091 - Update _generatedPasswordsByPrincipalOrigin for auto-saved, generated-password login changes. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D43122

--HG--
extra : moz-landing-system : lando
2019-08-24 05:52:24 +00:00
Alex Vincent cec0c5cbdb Bug 1508169, Remove performAction* from nsITreeView.idl in mozilla-central. r=peterv, johannh
performAction, performActionOnRow and performActionOnCell are methods of the
nsITreeView interface that are never called.  This is to remove these methods.
A comm-central patch will be along shortly.

Differential Revision: https://phabricator.services.mozilla.com/D39273
2019-08-24 00:49:55 +02:00
Luca Greco 1904edd972 Bug 1572173 - AbuseReporter should send addon install source and method without pre-classification. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D42834

--HG--
extra : moz-landing-system : lando
2019-08-23 10:50:33 +00:00
Kashav Madan 508a24d1a6 Bug 1562264 - Update skip-if annotations, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D41763

--HG--
extra : moz-landing-system : lando
2019-08-23 16:05:08 +00:00
Kashav Madan ea42e15279 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-23 16:06:09 +00:00
Csoregi Natalia 31eced3689 Merge mozilla-central to autoland. CLOSED TREE 2019-08-23 18:41:20 +03:00
Csoregi Natalia 4cb4d65246 Merge inbound to mozilla-central. a=merge 2019-08-23 18:38:00 +03:00
Will Hawkins 9e72ec1f8d Bug 1551313: Insert profiler markers when preferences are accessed. r=squib,gregtatum
Reviewers: squib, mstange, gregtatum

Reviewed By: squib, gregtatum

Subscribers: julienw, Fallen, reviewbot, mixedpuppy, mstange

Bug #: 1551313

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

--HG--
extra : rebase_source : e7e0b41b2a4c6f7228f3d6c19ede1fe2e4e42343
extra : histedit_source : 55daf5b19e4f262f522339b5b00ee31130abbf1b
2019-08-23 13:12:51 +03:00
Noemi Erli b8540ff399 Backed out changeset 610592f70d74 (bug 1575091) for failing in test_autocomplete_new_password.html 2019-08-24 03:55:48 +03:00
Sam Foster aa002bee0a Bug 1575091 - Update _generatedPasswordsByPrincipalOrigin for auto-saved, generated-password login changes. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D43122

--HG--
extra : moz-landing-system : lando
2019-08-23 22:16:54 +00:00
Ehsan Akhgari ac2216050d Bug 1576038 - Increase the running timeout for browser_blockingCookies.js
Differential Revision: https://phabricator.services.mozilla.com/D43303

--HG--
extra : moz-landing-system : lando
2019-08-23 22:05:51 +00:00
Matthew Noorenberghe fd8f8ab235 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 21:53:29 +00:00
Matthew Noorenberghe b98435a39b 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 21:53:17 +00:00
Shane Caraveo aad9be688a 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 21:15:52 +00:00
Coroiu Cristina 57a2cad6e6 Backed out changeset 8628b6ec7506 (bug 1576252) for multiple failures at components/extensions/test/xpcshell/test_webRequest_filtering.js on a CLOSED TREE 2019-08-24 00:06:37 +03:00
Coroiu Cristina 528d9418f6 Backed out 3 changesets (bug 1569581) for ESLint failure at browser/components/about/AboutProtectionsHandler.jsm on a CLOSED TREE
Backed out changeset 9c3b3043ddc7 (bug 1569581)
Backed out changeset 2a66b79c7085 (bug 1569581)
Backed out changeset 88a9bc458456 (bug 1569581)
2019-08-23 23:57:43 +03:00
Paul Zuehlcke f3fc7c8a7b Bug 1574486 - Updated Password Manager to use PermissionManager principal methods. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D42829

--HG--
extra : moz-landing-system : lando
2019-08-22 22:19:05 +00:00
Emilio Cobos Álvarez dcb8e23c93 Bug 1561882 - Make sure to dispatch input and change consistently even if the first causes us to get uninited. r=mconley,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D43061

--HG--
extra : moz-landing-system : lando
2019-08-23 10:14:39 +00:00
Ehsan Akhgari 1b69ad9fa2 Bug 1575609 - Switch away from using Fission-incompatible inprocess APIs for finding the window top in the anti-tracking backend; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D42974

--HG--
extra : moz-landing-system : lando
2019-08-22 17:22:08 +00:00
Ehsan Akhgari ba7fe6ea70 Bug 1556015 - Retrieve the content blocking log using an IPC stream in order to support logs of arbitrary sizes; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D42959

--HG--
extra : moz-landing-system : lando
2019-08-22 17:17:34 +00:00
Tom Ritter 1afafb5000 Bug 1575924 - Final clang-tidy checks for Resist Fingerprinting r=timhuang
Deleting a null pointer has no effect. Else after return.

Depends on D43108

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

--HG--
extra : moz-landing-system : lando
2019-08-23 07:35:32 +00:00
Tom Ritter 3b8e75da8a Bug 1575924 - A couple more clang-tidy checks for Resist Fingerprinting r=timhuang
Depends on D43107

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

--HG--
extra : moz-landing-system : lando
2019-08-23 07:33:48 +00:00
Tom Ritter 5a5b470e49 Bug 1575924 - Apply readability-inconsistent-declaration-parameter-name to Resist Fingerpritning code r=timhuang
Depends on D43106

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

--HG--
extra : moz-landing-system : lando
2019-08-23 07:38:15 +00:00
Tom Ritter 0abeb7e1e8 Bug 1575924 - Apply readability-implicit-bool-conversion to Resist Fingerpritning code r=timhuang
Depends on D40227

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

--HG--
extra : moz-landing-system : lando
2019-08-23 13:12:45 +00:00
Geoff Brown 85b583d58e Bug 1510405 - Skip searchconfigs xpcshell tests on aarch64; r=Standard8
These tests take a long time to run on aarch64, which makes it difficult to assign
an appropriate task max-run-time for aarch64 xpcshell tests.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 07:28:04 +00:00
Tom Schuster 5d73f5457f Bug 1367626 - browser.downloads.download() should allow setting Referer. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D43115

--HG--
extra : moz-landing-system : lando
2019-08-23 11:59:15 +00:00
dlee 74b18ebf99 Bug 1575842 - Do not use |ResetTables| when detecting Safe Browing database corruption in GetLookupCache. r=gcp
This patch replaces |ResetTables|(clear table's in-memory and on-disk
data) with |DeleteTables|(clear table's on-disk data) in GetLookupCache to avoid infinite
loop.

We can just delete on-disk data when file corruption is detected in |GetLookupCache|
without clearing the cache's internal data and refreshing current
active caches because in that scenario, the lookup cache failing to read
database has not yet added to the active caches list.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 08:19:18 +00:00
Cameron McCormack a1e18da1b1 Bug 1573090 - Part 2: Look up ELF symbol tables directly when pre-symbolicating Gecko profiles on Linux. r=gerald
Whereas previously MozDescribeCodeAddress would have handled demangling,
we need to explicitly do that from our new GetFunction method.  The string we
generate is now more useful for the profiler to merge -- having dropped the
address in the previous patch, and the file & line number and library in this
patch.

While we're at it, try to demangle Rust symbols too.

Ideally we'd add Rust symbol handling to DemangleSymbol in
StackWalk.cpp, but that lives in mozglue, which currently cannot have
any Rust crate dependencies.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 05:45:16 +00:00
Brindusan Cristian 103921e690 Backed out 1 changesets (bug 1551313) for build bustages at ProfilerMarkerPayload.cpp. CLOSED TREE
Backed out changeset 7fd9b797a83e (bug 1551313)
2019-08-23 04:22:03 +03:00
Will Hawkins 282a19afbf Bug 1551313: Insert profiler markers when preferences are accessed. r=squib,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D39796

--HG--
extra : moz-landing-system : lando
2019-08-23 00:21:53 +00:00
rdalal cf55a86c4c Bug 1436111 - Implement addon rollout/rollback actions for Normandy r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D41479

--HG--
extra : moz-landing-system : lando
2019-08-22 23:52:53 +00:00
Mark Striemer f56c62c460 Bug 1567600 - Part 4: Add aria-label to about:addons more options button r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D42680

--HG--
extra : moz-landing-system : lando
2019-08-22 21:00:09 +00:00
Mark Striemer 056f2d5ae8 Bug 1567600 - Part 3: Better accessibility for named-deck and about:addons detail view r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D42370

--HG--
extra : moz-landing-system : lando
2019-08-22 21:00:09 +00:00
Mark Striemer c19ef4049e Bug 1567600 - Part 2: Better accessibility for about:addons panel-list r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D40506

--HG--
extra : moz-landing-system : lando
2019-08-22 21:00:09 +00:00
Mark Striemer 97c482692c Bug 1567600 - Part 1: Better accessibility for about:addons list view r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D40505

--HG--
extra : moz-landing-system : lando
2019-08-22 21:00:08 +00:00
Mike Hommey 29df9beb73 Bug 1575783 - Fix bug 1551639 after bug 1573566. r=froydnj
Bug 1573566 moved libxul in a subdirectory, which means the list of
files it links are now relative to that directory, rather than the
directory where buildid.cpp is. So the dependencies for buildid.cpp
need to account for that.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 14:23:05 +00:00
Dustin J. Mitchell 48511543d2 Bug 1566365 - log output when test fails r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D42855

--HG--
extra : moz-landing-system : lando
2019-08-22 20:35:37 +00:00
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