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

715474 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini 5b1b63de75 Bug 1648134 - Permission Manager does not save changes when scope is changed., r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D81292
2020-06-30 09:44:00 +00:00
Brindusan Cristian 90b94a3fc7 Backed out changeset 98999b66b738 (bug 1649398) for build bustages at MIR.cpp. CLOSED TREE 2020-06-30 12:34:09 +03:00
Brindusan Cristian 3457629585 Backed out changeset 97213363d221 (bug 1647260) for linux build bustages at test_gen_feature_definitions.py. CLOSED TREE 2020-06-30 12:28:42 +03:00
Tom Schuster 379ffb46b3 Bug 1649398 - Known class support for MRegExp and folding for MHasClass and MIsCallable. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D81179
2020-06-30 09:21:45 +00:00
Kagami Sascha Rosylight 61ed7a4f20 Bug 1630704 - Move Init/DestroyFrom to nsIFrame r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D81616
2020-06-30 09:03:00 +00:00
Andi-Bogdan Postelnicu 779d955fee Bug 1645948 - for `clang-tidy` static-analysis escape some paths that have special chars. r=sylvestre
The patch that has been applied to our `clang-tidy` artifact has also been pushed upstead https://reviews.llvm.org/D81917

Differential Revision: https://phabricator.services.mozilla.com/D79799
2020-06-27 14:10:20 +00:00
kanishk509 d2989af38e Bug 1647260 - renamed one declaration of test_str_with_file to test_repr_with_file. r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D81457
2020-06-29 21:57:39 +00:00
Jon Coppeard 35ccce3ac8 Bug 1647803 - Move cell header field to the Cell class and remove CellHeader classes r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D80839
2020-06-30 08:55:59 +00:00
Simon Giesecke 50f1f5f460 Bug 1648449 - Use NotNull for CacheCreator::mLoaders. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D81076
2020-06-30 08:35:19 +00:00
Simon Giesecke 1abd166cd2 Bug 1648449 - Use TransformIntoNewArray in Load. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D81075
2020-06-30 08:35:01 +00:00
Simon Giesecke 5518dacaf3 Bug 1648449 - Remove intermediate conversion from iterators to indexes. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D81073
2020-06-30 08:34:49 +00:00
Simon Giesecke 41eebf733e Bug 1648449 - Pass Span instead of indexes to ScriptExecutorRunnable. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D81072
2020-06-30 08:34:36 +00:00
Simon Giesecke db4e38fa9b Bug 1648449 - Use range-based for for iterating mLoadInfos. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D81070
2020-06-30 08:34:21 +00:00
Simon Giesecke 2bada650b6 Bug 1648449 - Stop passing around indexes to mLoadInfos. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D81069
2020-06-30 08:34:09 +00:00
Simon Giesecke 7c7f51528f Bug 1648449 - Improve variable naming and comments related to script scheduling. r=asuth,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81499
2020-06-30 08:33:51 +00:00
Jonathan Kew 66966abc6b Bug 1647377 - Provide basic line-breaking support for Tibetan on Android by treating TSHEG like a hyphen. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D81441
2020-06-30 07:27:00 +00:00
Matthew Noorenberghe 41e33a4418 Bug 1649357 - Clarify in telemetry API docs that only events flushed to storage are cleared. r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D81653
2020-06-30 07:42:01 +00:00
Mark Banner c0824dbf2c Bug 1647359 - Move SearchEngine fields to start of class for better clarity and documentation. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D80498
2020-06-30 07:45:40 +00:00
Mark Banner ec3a5b0751 Bug 1647359 - Change definitions in SearchEngine to be classes. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D80497
2020-06-30 07:45:38 +00:00
Mark Banner 64d5a32916 Bug 1647359 - Preferences should only clone the parts of the search engine objects that it actually needs. r=jaws,preferences-reviewers
The clones appear to be so that access for the tree view in preferences is quick. However, they don't need to clone the entire engine object - they just need three fields.

Additionally, this fixes reloading icons which was attempting to use 'uri' but that isn't defined, and so icons would fail to load if preferences was opened when a search engine is added.

Differential Revision: https://phabricator.services.mozilla.com/D80496
2020-06-30 07:45:30 +00:00
Mark Banner 1e64762d87 Bug 1647320 - Make the search cache responsible for listening to notifications of changes. r=daleharvey.
This patch additionally makes the search cache responsible for listening to notifications rather than being directly told by the search service to write the cache.

It also makes writes after init/reinit/maybeReloadEngines into delayed writes as they don't need to be immediate - the code already ensures we write any pending cache before reading, and that we write it before shutdown. Therefore, it doesn't matter if we wait a second or so.

Differential Revision: https://phabricator.services.mozilla.com/D80472
2020-06-30 07:45:22 +00:00
Dale Harvey f5d6491063 Bug 1627547 - Switch WebPayments to use nsIRegion.idl interface r=edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D80153
2020-06-25 18:04:37 +00:00
Dale Harvey 9ac9dbc610 Bug 1627540 - Add an IDL for Region.jsm so it can be accessed via C++ r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D79914
2020-06-25 18:08:37 +00:00
Brindusan Cristian 6f757f82da Backed out 2 changesets (bug 1647958) for conflicting with the backout of Bug 1648898. CLOSED TREE
Backed out changeset 55ecb48a0504 (bug 1647958)
Backed out changeset af210e0df79f (bug 1647958)
2020-06-30 10:59:29 +03:00
Tarek Ziadé 9294a5bfc1 Bug 1649176 - add batch attribute to add --test-date r=sparky
Right now setup_perftest_test_date adds --test-date yesterday to all perftest
runs. we want that only for the ones doing batches

Differential Revision: https://phabricator.services.mozilla.com/D81562
2020-06-29 20:12:42 +00:00
Sonia Singla 350a03e726 Bug 1642852 - Adding section in getting started page. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D81137
2020-06-30 06:09:47 +00:00
Dimi Lee f70ef473fa Bug 1513674 - Remove nsIMemoryReporter from fixed-length prefix. r=gcp
Right now, now matter which SafeBrowsing protocol we use (V2 or V4), we
always use variable-length prefix set to store prefixes. Since
nsUrlClassifierPrefixSet is a member of VariableLengthPrefixSet and it
is never used alone, we can remove nsIMemoryReporter from it to prevent
calculating the same memory report twice.

Differential Revision: https://phabricator.services.mozilla.com/D81171
2020-06-30 05:40:02 +00:00
Gerald Squelart 3fbe4a7b38 Bug 1648972 - Fix profiler non-unified build - r=canaltinova
Mostly missing includes, and missing namespace qualifiers.

Differential Revision: https://phabricator.services.mozilla.com/D81451
2020-06-30 05:07:21 +00:00
Kevin Jacobs 0dcacd6736 Bug 1647482 - client.py: write bytes when file is opened in binary mode. r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D80552
2020-06-30 03:43:22 +00:00
Emma Malysz 8d5ec61edd Bug 1648198: Remove recently closed tabs and windows panels from main view and place in template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80717
2020-06-30 03:44:56 +00:00
Matt Woodrow c056aaf0b8 Bug 1623461 - Clear nsDocShell::mBlankTiming when providing an existing timing object from a process switch. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D81636
2020-06-30 03:32:43 +00:00
Jan de Mooij 1df76e9d36 Bug 1648005 part 5 - Fix a test. r=iain
The first try-catch in the test now terminates control flow after the previous patch
and we then ilooped because inIon() never returned true in the loops after that
(these loops are only reachable through the catch-block).

The patch splits the test in a few different functions to fix this.

Depends on D81029

Differential Revision: https://phabricator.services.mozilla.com/D81030
2020-06-25 15:00:46 +00:00
Jan de Mooij a53ba9e2a0 Bug 1648005 part 4 - Remove some try-catch code we no longer need. r=iain
The analysis marked code after a try-catch as always-reachable to simplify MIR
building. Now that we compute reachability of LoopHeads, there's not a lot we gain
from that complexity anymore.

We can then also remove the MGotoWithFake code and the JSOp::Try bytecode operand.

Depends on D80876

Differential Revision: https://phabricator.services.mozilla.com/D81029
2020-06-25 15:00:45 +00:00
Jan de Mooij 56b8cd22b5 Bug 1648005 part 3 - Change BytecodeAnalysis to prevent the unreachable-OSR-loop case. r=iain
Make BytecodeAnalysis determine whether code is reachable only through
catch/finally blocks.

The abort in IonBuilder can then be turned into an assertion. This helps
WarpBuilder because we don't want any non-OOM aborts during MIR building.

Differential Revision: https://phabricator.services.mozilla.com/D80876
2020-06-25 15:00:45 +00:00
Jan de Mooij af157b12fc Bug 1648005 part 2 - Change loopHeadInCatchOrFinally to loopHeadCanOsr. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D80875
2020-06-25 15:00:45 +00:00
Jan de Mooij c77cdf7ce9 Bug 1648005 part 1 - Use Maybe<> for osrEntryOffset_ and add a release-assert. r=iain
We now crash instead of silently using an offset of 0 (meaning start of the
IonScript's JIT code) for the OSR entry point if the MOsrEntry is missing
for some reason.

Differential Revision: https://phabricator.services.mozilla.com/D80874
2020-06-25 15:00:45 +00:00
Narcis Beleuzu b151157eee Backed out changeset f16199c7d45e (bug 1648898) for causing Bug 1649333 . CLOSED TREE 2020-06-30 09:57:42 +03:00
Narcis Beleuzu 3700aab557 Backed out 7 changesets (bug 1634846, bug 1647628, bug 1649294, bug 1647112) for webgl-conf crashes. CLOSED TREE
Backed out changeset 4441d06e96c3 (bug 1647628)
Backed out changeset 4efaf32bc8f7 (bug 1647112)
Backed out changeset 2d24ad813039 (bug 1647112)
Backed out changeset fda262d73a13 (bug 1649294)
Backed out changeset 5863f9c5229f (bug 1634846)
Backed out changeset bca79526745d (bug 1634846)
Backed out changeset d539408a0048 (bug 1634846)
2020-06-30 09:50:00 +03:00
Narcis Beleuzu 51f0465656 Backed out 2 changesets (bug 1648972, bug 1649056) for assertion failure on ExtensionPolicyService.cpp . CLOSED TREE
Backed out changeset 6a8b446a95a0 (bug 1649056)
Backed out changeset 56b166e41900 (bug 1648972)
2020-06-30 08:00:31 +03:00
Csoregi Natalia c0c732c1f7 Backed out changeset 0f3b01e74838 (bug 1642556) for failures on test_errorhandler_filelog.js. CLOSED TREE 2020-06-30 07:16:34 +03:00
Nico Grunbaum f8f21f2398 Bug 1648600 - add SDP parsing errors to SDP history;r=dminor,jib,emilio
Differential Revision: https://phabricator.services.mozilla.com/D81265
2020-06-30 02:38:40 +00:00
Nico Grunbaum c78d9cccad Bug 1644709 - Add PeerConnection configuration to about:webrtc;r=dminor,jib,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D80787
2020-06-30 02:35:36 +00:00
Jean-Yves Avenard 00688236a3 Bug 1647628 - Make ImageBridgeChild use a background taskqueue. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D80599
2020-06-24 01:38:30 +00:00
Gerald Squelart 4962aa68cc Bug 1649056 - Pre-record some meta information before locking the profiler mutex - r=canaltinova
Some profile meta information can be gathered before the profiler mutex must be locked.
This reduces the main-thread locking when capturing.
Most importantly, it prevents deadlocking in case any of the data-gathering operation would itself rely on profiler-locking functions (e.g., starting a thread, which requires the lock to register the new thread with the profiler).

Differential Revision: https://phabricator.services.mozilla.com/D81491
2020-06-30 01:43:36 +00:00
Gerald Squelart b7307aabfe Bug 1648972 - Fix profiler non-unified build - r=canaltinova
Mostly missing includes, and missing namespace qualifiers.

Differential Revision: https://phabricator.services.mozilla.com/D81451
2020-06-30 01:43:24 +00:00
Jean-Yves Avenard 43bd79bd41 Bug 1647112 - P2. Remove static method. r=mattwoodrow
Allows to remove the dance around the compositor thread just to perform the assertion.
The use of an in-line lambda avoid all ambiguity on which thread this is called.

Differential Revision: https://phabricator.services.mozilla.com/D80635
2020-06-30 02:33:09 +00:00
Jean-Yves Avenard 135d109d8e Bug 1647112 - P1. Make the canvas thread use BackgroundTaskQueue. r=KrisWright
Some headers cleanup.

Differential Revision: https://phabricator.services.mozilla.com/D80597
2020-06-30 02:33:02 +00:00
Jean-Yves Avenard c251c5b2c7 Bug 1649294 - Make RemoteDecoder use a background taskqueue. r=mattwoodrow
There's a small race that can happen when the remote decoder gets shutdown during xpcom shutdown; that would cause GetCurrentSerialEventTarget to return null. Leading to an assertion failure in ActorLifecycleProxy thread-safety check when PRemoteDecoderManagerParent gets destroyed.

So we use a background taskqueue instead and cleanup a bit the threading code in there allowed thanks to the TaskQueue ability to not require an explicit shutdown.

Differential Revision: https://phabricator.services.mozilla.com/D81287
2020-06-30 02:50:38 +00:00
Jean-Yves Avenard 9f996ba331 Bug 1634846 - P3. Get around NS_INLINE_DECL_REFCOUNTING not working with TaskQueue. r=nika,froydnj
NS_INLINE_DECL_REFCOUNTING macro doesn't properly work when the object is used on a thread that isn't backed by a single PRThread (such as TaskQueue). See bug 1648031.

The resolution of this issue is rather complex, and outside the scope of this series of change.

So for now, we create a new macro NS_INLINE_DECL_REFCOUNTING_ONEVENTTHREAD which will use a different mechanism to ensure the thread-safe usage of a class.

Differential Revision: https://phabricator.services.mozilla.com/D81269
2020-06-30 02:50:07 +00:00
Jean-Yves Avenard 35101e741b Bug 1634846 - P2. Make ipc's MessageChannel works with TaskQueue, r=nika
We no longer rely of having a message loop for the worker thread.

Differential Revision: https://phabricator.services.mozilla.com/D80655
2020-06-26 09:34:47 +00:00