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

47011 Коммитов

Автор SHA1 Сообщение Дата
Bogdan Tara 587a636c14 Backed out changeset 3df355881aa0 (bug 1445386) for xpcshell failures on test_TelemetryScalars_buildFaster.js CLOSED TREE
--HG--
extra : amend_source : e6ce0a25d5ba6cfa5aec7e496637266def67f7c5
2018-03-13 22:33:14 +02:00
J. Ryan Stinnett d2b1811744 Bug 1445386 - Use GreD for artifact build scalars. r=chutten
On macOS, the paths for the special directories `GreD` (Resources) vs. `GreBinD`
(MacOS) are different.  On other platforms, they are the same.

With scalar loading for artifact builds, we need to load a file from
`Resources`, so `GreD` should be used for this case.

MozReview-Commit-ID: 91JFwOISQCk

--HG--
extra : rebase_source : d94df1acc4c7b9d6fe217fb0621950eb2c53351d
2018-03-12 19:24:30 -05:00
Tom Ritter 04cae16024 Bug 1444588 - Move LRUCache Initialization to startup rather than lazily. r=baku
Before, we would initialize LRUCache on the first instance of
calling the Timer Precision Reduction functions. We would both
allocate and initialize it, and call ClearOnShutdown.

ClearOnShutdown can only be called on the Main Thread, but it
just so happened that we always did that, so there was no
problem. Now that we are not calling precision reduction for
system callers, we were initializing on a non-main-thread and
we need to avoid that.

In the future, we could reduce memory use IF we are not using
the timer precision reduction functions by figuring out how
to initialize this lazily but still on the main thread. For
now, because we are using the timer precision reduction
functions, doing so would not save us any memory.

MozReview-Commit-ID: 6YGeAlCPReZ
2018-03-13 10:58:59 -07:00
Gijs Kruitbosch a55246c7fc Bug 1371888 - Stop having a sync IPC message to pass blocklist state, r=florian
Because plugin state in the content now contains blocklist state, and is updated
when the blocklist updates, we don't need to ask the parent if we're checking
blocklist state. All the consumers should now be asking the plugin code directly,
so we can stub out the last API here. We should look at removing the content side
of this service entirely, but that's something for a follow-up bug.

MozReview-Commit-ID: DE8s8RwT42r

--HG--
extra : rebase_source : 06fbc304e99679f55c7cdc52404cd138221feca3
2018-03-06 16:37:49 +00:00
Gijs Kruitbosch ca508d989b Bug 1371888 - cache plugin information in pluginreg.dat to avoid sync startup load, r=florian,mossop
This changes the pluginreg.dat format to include the blocklist state.

There is now only the saved blocklist state in a plugin tag instance, rather than
looking it up from in there using the blocklist service, so it was renamed from
mCachedBlocklistState to mBlocklistState. We pass the 'right' state to the plugin
instance when the plugintag is constructed. If we don't have state, we mark it as
unblocked.

mCachedBlocklistStateChanged was never read so it's being removed.

Bug 1439519 adds a 'blocklist-loaded' notification that is fired once the blocklist is loaded.
The plugin host implementation will listen to this in the parent process and update the
blocklist state of all the plugins, and broadcast changes to the child process, just like when
we update the blocklist from the server. We now also avoid re-sending plugin content to the
content processes if the plugin state hasn't changed as a result of the blocklist having been
loaded.

Finally, because new plugins should still get an up-to-date blocklist state, and
telemetry should get up-to-date data about which plugins are and aren't enabled
once we have that data, we ensure that once we've loaded the blocklist async,
we schedule an idle task to parse it and consider it loaded.

All this means that plugin blocklist information could be mistaken between the points where
a new plugin is installed and we first run Firefox with the new plugin, and the point where
we load the blocklist. Given the trade-offs, that size of window (tiny) seems OK, also given
that there's already a much larger window in blocklist updates (which only happen once every 24h).

MozReview-Commit-ID: 1gsojRkUzTw

--HG--
extra : rebase_source : 4709916b4674ada54f8a495fd2d16fcef8c58d20
2018-02-20 16:53:48 +00:00
Andreea Pavel 8fa0b32c84 Merge mozilla-inbound to mozilla-cenral. a=merge 2018-03-13 19:01:32 +02:00
Narcis Beleuzu 298d1d55b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-13 12:36:54 +02:00
Sylvestre Ledru 4d822b0f13 Bug 1437877 - Updater tests: Disable -Wformat-truncation until the reported issues are fixed r=glandium 2018-03-13 09:59:50 +01:00
Julian Seward 7258d29b3b Bug 1442603 - Background Hang Reporter: increase timeouts when running on Valgrind. r=mystor.
--HG--
extra : rebase_source : 94fe50d6e7a2df501ca05cd3327d51b560e1e4e4
2018-03-13 08:42:43 +01:00
Sylvestre Ledru 28ed02ca28 Bug 1437877 - Updater: Disable -Wformat-truncation until the reported issues are fixed r=glandium
MozReview-Commit-ID: 92L3jTPrBcP

--HG--
extra : rebase_source : b1257fd333c18627c200bd57b8b5f2e1da416742
2018-03-10 17:06:46 +01:00
Doug Thayer 3d270718e1 Bug 1442068 - Add diagnostic probe for tab switch spinners r=liuche
We currently have a few probes which measure how long tab switch
spinners are displayed, but we have little information into their
source. In diagnosing and attempting to lower the number of
spinners that users see, we could use more information about
their source to help prioritize and narrow in on regions of code.

MozReview-Commit-ID: Cw4ejOM9ZSl

--HG--
extra : rebase_source : c44307ab1195eaeda43e10302e10756b366a2740
2018-03-01 15:03:03 -08:00
J.C. Jones 964fda6aa9 Bug 1441550 - Make CERT_VALIDATION_SUCCESS_BY_CA telemetry opt-out in release r=chutten,keeler a?merwin
Like PAGELOAD_IS_SSL, it is very useful for the ecosystem to monitor
CERT_VALIDATION_SUCCESS_BY_CA for release populations. See websites like
https://crt.sh/mozilla-certvalidations for examples.

This patch does a few of the things requested in Bug 1369747 like adding
alert emails and a bug_numbers field. It also sets "releaseChannelCollection"
to "opt-out".

MozReview-Commit-ID: FMHOTqvaJKy

--HG--
extra : rebase_source : b7b94ed8d00bbc923040477caaa35228b688e9fe
2018-03-09 10:19:00 -07:00
Marco Bonardo f7921c738a Bug 1440595 - Fix tags autocomplete assertions. r=standard8
MozReview-Commit-ID: 41HBAqChuDc

--HG--
extra : rebase_source : 873cb1408c76770fbedee7f3be3fce95e8552388
2018-02-28 17:27:56 +01:00
Henri Sivonen 2eb6c4eda3 Bug 1436903 - Avoid passing shipping options to the front end when shipping was not requested. r=baku
MozReview-Commit-ID: FdkC02izUy6

--HG--
extra : rebase_source : 4434a148379e33771950848c6cdf1350e33eb23b
2018-03-07 13:16:46 +02:00
Marco Bonardo 8ed84164cd Bug 1439728 - Don't force a switch-to-tab for the Address Bar heuristic match. r=adw
MozReview-Commit-ID: 2sfJBxbYefi

--HG--
extra : rebase_source : f17486288d61b3758f36c54cf540376bae27a797
2018-03-09 16:39:16 +01:00
Andi-Bogdan Postelnicu e5c7d41e14 Bug 1226574 - prevnet null pointer dereference in nsXULAppInfo::GetServerURL. r=ted
MozReview-Commit-ID: CJvGISGnnqQ

--HG--
extra : rebase_source : 1d60157b6322f421ed1814178379c9fadad45e9f
2018-03-13 12:55:44 +02:00
Noemi Erli ac0a30f58c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-13 01:16:04 +02:00
Margareta Eliza Balazs d6d1b8a6a5 Merge inbound to mozilla-central. a=merge 2018-03-13 01:10:10 +02:00
Sylvestre Ledru 06b7836c7e Bug 1444628 - Fix a bunch of typo in the doc r=ahal
MozReview-Commit-ID: SNXsViVUm0

--HG--
extra : rebase_source : d1a73dd5399854c0ec28087b207bb1b1d4bb9c02
2018-03-10 17:14:38 +01:00
Andrew Swan 7b4af80995 Bug 1444487 Add preference for langpack signing r=kmag
MozReview-Commit-ID: FEPa2wlLBST

--HG--
extra : rebase_source : c5e452dd62a3c913a096cfead60d5ee8eaf72489
2018-03-09 11:31:39 -08:00
Thom Chiovoloni 59a4c043fe Bug 1442353 - Reuse timeoutPromise in Sqlite.jsm r=florian
MozReview-Commit-ID: 6AlvYliZcmy

--HG--
extra : rebase_source : f6fe5e2ce9c21b7414794675f9f19deaaa20baf6
2018-03-01 10:43:07 -08:00
Arjun Krishna Babu 7b68eb1b96 Bug 1444244 - Fix location where Addon's "Preferences" tab is opened; r=aswan
Addon's "Preferences" tab was opening up to the right of ALL tabs rather than next
to the current tab. This behavior has been corrected, and the aforementioned
tab is now placed relative to the opening tab.

MozReview-Commit-ID: APiUR9VkEEt

--HG--
extra : rebase_source : 3b274b9663ae9084c5d3b1823cc044b6adf629b3
2018-03-08 21:06:29 -07:00
manikishan 92de2db258 Bug 1431050 - Replace NS_ASSERT with conditional exceptions/console.assert and remove the debug.js module. r=mak
console.assert keeps the same semantics as NS_ASSERT in that it doesn't throw an exception,
but a lot of the places code was using it in a way that would be better served by throwing
an exception when the condition is false.

MozReview-Commit-ID: DEF5HSfYO36
2018-02-03 11:32:25 +05:30
Marco Castelluccio afb2edbbe3 Bug 1444591 - Reenable some tests in the Windows coverage build that started passing because of a Clang update. r=jmaher
--HG--
extra : rebase_source : 5acb0d074c244211590abd9cc83701adb93f5ef0
2018-03-10 20:35:25 +00:00
Julian Seward 84ca5e70ae Bug 1443499 - Background Hang Reporter: use only one thread for unwinding and reporting. r=mystor.
When the BHR wants to report a tardy thread, it hands off the work of
getting a stacktrace to a helper thread.  The helper threads used are in the
Stream Transport Service threadpool, which has a default limit of 25
threads.

This has a bad effect when we are in a severely compute-resource constrained
situation.  Then, many threads will be late, and up to 25 STS worker threads
will be employed to do unwinding, a potentially expensive operation.  This
further restricts the compute resources available to progress the rest of
the system.

Another effect is that the unwinder work will compete against the "real" STS
work for the 25 workers, potentially further slowing forward progress.

This patch replaces the use of the STS thread pool with a single nsThread
dedicated to unwinding/reporting hangs.

--HG--
extra : rebase_source : 0486be970633512e46ac030c5373ed7dfa0e7cb3
2018-03-12 11:11:24 +01:00
Kris Maglione e427ba000e Bug 1420485: Follow-up: Remove unnecessary single-use stringToCryptoHash function. r=me
MozReview-Commit-ID: H1tPnsN0v2J

--HG--
extra : rebase_source : 616f0b88c1066ede9e45f6090115c4b45ca66db6
2018-03-11 22:25:56 -07:00
Kris Maglione 3a927cf635 Bug 1444763: Wait for tab to be created before trying to close it. r=trivial,test-only
MozReview-Commit-ID: LrrZwC6J1SQ

--HG--
extra : amend_source : 43c592021a795b54feef4ae8d4b0676f032bbaf2
2018-03-11 21:06:08 -07:00
Tim Taubert 6ded2cf370 Bug 1430150 - Implement WebAuthentication permission prompts r=jcj,johannh
Reviewers: jcj, johannh

Reviewed By: jcj, johannh

Bug #: 1430150

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

--HG--
rename : dom/webauthn/tests/cbor/cbor.js => dom/webauthn/tests/cbor.js
extra : amend_source : f137c2aebea5797cd07d4500cb71c2b9be4e4844
2018-03-11 18:47:14 +01:00
Csoregi Natalia a70da6775d Merge inbound to mozilla-central. a=merge 2018-03-11 11:51:54 +02:00
Brindusan Cristian c849c5ed47 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-10 23:52:47 +02:00
Kris Maglione a25db8235e Bug 1444502: Remove support for installing unpacked extensions. r=aswan
This retains support for installing unpacked dictionaries, since Hunspell only
supports loading dictionaries from ordinary filesystem paths.

Unpacked extensions are no longer supported on production, except during
development. WebExtensions have no support for the unpacked flag at all, and
specially signed legacy extensions are forbidden from using it, so there's no
point in maintaining support for this install code. Or, more importantly, for
running a nearly complete duplicated set of tests in order to exercise it.

MozReview-Commit-ID: 1fKVgSelJQ8

--HG--
extra : rebase_source : a2e9086a3d050b66eab9c17fff9c2f7189911832
extra : amend_source : da8f6425ec74a824a3d19f13bb4eb51980cd64c1
2018-03-09 12:45:59 -08:00
Noemi Erli 8dfb05971f Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-10 12:15:32 +02:00
Noemi Erli 40b1baaab5 Merge inbound to mozilla-central. a=merge 2018-03-10 11:58:34 +02:00
Kit Cambridge ad185ffab5 Bug 1444552 - Store bookmark creation dates as milliseconds in the mirror. r=tcsc
MozReview-Commit-ID: 8xaMl3sfUm7

--HG--
extra : rebase_source : e29287c6221ee629f14c3684cbf8adc6b40d088f
2018-03-09 15:30:17 -08:00
Gijs Kruitbosch 4340ba60f2 Bug 1444082 - sync reader mode to github tip ( 8525c6af36d3badbe27c4672a6f2dd99ddb4097f ), r=johannh
MozReview-Commit-ID: LZLFf9kyUR5

--HG--
extra : rebase_source : 9f2e517afa764dbe339b84abfaaf948b1402cba1
2018-03-08 14:35:02 +00:00
raymond 946bbd9dbf Bug 1222414 - Convert hardcoded colors in add-on manager to CSS variables. r=jaws, ntim 2018-03-08 09:00:51 -05:00
Bogdan Tara bfc2dd2f73 Backed out changeset 609e4952a46e (bug 1444082) for perma-failing android-4.3-arm7-api-16/opt-robocop-3 (RC3) CLOSED TREE 2018-03-10 01:14:09 +02:00
Jan Henning c9e54dcc26 Bug 1444209 - Update expiration date for mobile session restore failure telemetry. r=liuche
MozReview-Commit-ID: FgwH8uyvqSe

--HG--
extra : rebase_source : 0682957c3dadcb9b8d72d77bc2f740a40515e352
2018-03-08 22:17:40 +01:00
Kris Maglione ee0860e862 Bug 1444539: Follow-up: Remove errant debugging code. DONTBUILD
MozReview-Commit-ID: H7qaL8yUbAE
2018-03-09 17:53:35 -08:00
Kris Maglione 73efc480a8 Bug 1444539: Disconnect StreamFilters on redirect. r=mixedpuppy
MozReview-Commit-ID: AuCjXTlsFSC

--HG--
extra : rebase_source : 40b0836c3efd739020dc59f1ed3f63020e187b47
2018-03-09 14:38:41 -08:00
Kris Maglione c8125c8fa5 Bug 1415644: Follow-up: Fix assertion in debug builds. r=bustage CLOSED TREE
MozReview-Commit-ID: 1AzZ7X31jAs

--HG--
extra : amend_source : 2c3908432283fb2124f1fae4d602e02c3d2aae08
2018-03-09 16:09:03 -08:00
Kris Maglione 6646900815 Bug 1443640: Fix race when validating applied CSS. r=mixedpuppy
MozReview-Commit-ID: B3l71jeKnDw

--HG--
extra : rebase_source : 272ff438282251abda62f3b5d58b6a4fe3e545fe
2018-03-09 15:11:33 -08:00
Kris Maglione baf174ef19 Bug 1415644: Follow-up: Fix static analysis build bustage. r=bustage
MozReview-Commit-ID: IwFUIFOJbdX

--HG--
extra : rebase_source : c7cb6099723ebe083f24480984499f142e937a7e
2018-03-09 15:13:52 -08:00
Kris Maglione b8ee2d988e Bug 1415644: Create a list of restricted domains. r=aswan,mixedpuppy
MozReview-Commit-ID: A0AkaBG33In

--HG--
extra : rebase_source : 9f7cfe657835e0ea3cb591a2e1aa636ed92eb004
2018-03-03 16:28:18 -08:00
Kris Maglione bc31413f8e Bug 1422087: Follow-up: Add null check for when running from GTests. r=bustage CLOSED TREE
MozReview-Commit-ID: 4xLrAvk1f0C

--HG--
extra : rebase_source : 559d3897ab8fbf732ef0fa4f20f733aebc7c2539
2018-03-09 12:56:09 -08:00
Aaron Klotz 0b5fcae4d4 Bug 1424505: Backed out changeset 35129c889938 since it was speculative and didn't work. r=backout
--HG--
extra : rebase_source : 39f7e2c34ca70552db70823f73f6f126885c14a5
2018-03-09 13:35:37 -07:00
Aaron Klotz fe0034391b Bug 1444361: Don't obtain cert subject info on main thread; r=chutten
--HG--
extra : rebase_source : b42ff1b60a7be46d3dfd3c084480e36a55d6021c
2018-03-09 11:27:51 -07:00
Tom Ritter f572733682 Bug 1444169 Fix capitalization for a few Windows files r=aklotz
MozReview-Commit-ID: BlWgIVobOBK

--HG--
extra : rebase_source : 71a8052c562aa7be510e3a4c13a0ca698a04a5ac
2018-03-08 14:49:59 -06:00
Andreea Pavel e843cc64e7 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-09 21:35:33 +02:00
J. Ryan Stinnett 0e3cb15f75 Bug 1393743 - Use reason stack when present for promise rejection in tests. r=Paolo
In some cases, the rejection stack from `PromiseDebugging` may be null.  If the
rejection reason was an Error object, use its `stack` to recover a meaningful
value.  This greatly improves diagnosing test failures due to promise rejection.

MozReview-Commit-ID: IpE2kGoFcpx

--HG--
extra : rebase_source : f3b0ca4a27d0fa8df11b41ae93954478c199fef4
2018-03-08 17:10:12 -06:00