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

715650 Коммитов

Автор SHA1 Сообщение Дата
Alex Chronopoulos 5e3fa4ab8b Bug 1648732 - Fine tune the check for available frames in AudioResampler. r=padenot
In AudioResampler the resampling of a buffer happens on pieces of 128 or 256 frames. Before resampling, the number of available frames is checked for the whole buffer and for the individual smaller pieces. When the whole buffer is checked we need to check for one extra frame in order to compensate the case that one individual resampling has consumed an extra frame, something that is normal and happens periodically.

Differential Revision: https://phabricator.services.mozilla.com/D81321
2020-06-30 11:33:03 +00:00
Florin Strugariu 1749affc05 Bug 1635711 - Enable cold page load tests with Fission enabled r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D81308
2020-06-30 07:27:41 +00:00
Jean-Yves Avenard 4a24fe3c8e Bug 1647958 - P3. Have GetCurrentSerialEventTarget returns the currently running MessageLoop. r=nika
We want it to returning the actual nsThread if that's where the MessageLoop would dispatch its tasks; otherwise return the MessageLoop's EventTarget

Depends on D80357

Differential Revision: https://phabricator.services.mozilla.com/D80811
2020-06-30 08:04:10 +00:00
Jean-Yves Avenard 29e935bf80 Bug 1647958 - P1. Protects MessageLoop::EventTarget's mLoop member. r=nika
EventTarget::Dispatch can be called on any threads ; there's a potential of a race when accessing the mLoop member.

Differential Revision: https://phabricator.services.mozilla.com/D80810
2020-06-30 08:04:13 +00:00
Lars T Hansen 724b5a1d44 Bug 1619196 - allow atomics on non-shared memory part 2: test cases. r=rhunt
Basically generalize almost all the tests to run with both shared and
unshared memory, removing a number of validation failures.  Test
run-time failure in the case of wait() on unshared memory, and that
notify() on unshared memory returns 0.

Differential Revision: https://phabricator.services.mozilla.com/D81320
2020-06-30 11:03:51 +00:00
Lars T Hansen cd41e1a357 Bug 1619196 - allow atomics on non-shared memory part 1: validation and compilation. r=rhunt
Pretty simple change: remove the validation guards on plain atomic
operations, and distinguish between shared and unshared memory for
wait and notify.  Per spec, wait checks for sharedness before checking
for alignment or bounds, and notify returns 0 after checking for
alignment and bounds.

Differential Revision: https://phabricator.services.mozilla.com/D81319
2020-06-30 11:03:43 +00:00
Lars T Hansen 7cb62c06e8 Bug 1648755 - gate availability of thread ops on the shared memory pref. r=rhunt
We will shortly be unable to depend on the presence of shared memory
as a gate for the thread operations, so just add proper gating
depending on the shared-memory pref.

Differential Revision: https://phabricator.services.mozilla.com/D81328
2020-06-30 11:03:25 +00:00
Honza Bambas e3c8fc6ab0 Bug 1648781 - MOZ_LOG of timer events dispatch and run, MOZ_LOG of idle-dispatch timeout, r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D81467
2020-06-30 10:57:28 +00:00
Julian Descottes 772f4d693d Bug 1646636 - Skip tests with inspect element in same process frames if fission is enabled r=ochameau,perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D80815
2020-06-30 10:22:10 +00:00
Jean-Yves Avenard 735a4b5c2c Bug 1648898 - Fix data race on STS loop start. r=mayhemer
The STS dispatched the first event before setting mThread member. It was possible that the STS::Run() task got started before mThread was set and causing one of the nsISerialEventTarget methods to read mThread/mInitialised/mShuttingDown value as null or zero and they would have returned an error.

We rewrite and simplify the access to mThread such that it's a lockless operation.

ApplyPortRemapPreference assert that it's running on the taskqueue; however if called before initialization, it would have been run on whatever thread called ApplyPortRemap.

Differential Revision: https://phabricator.services.mozilla.com/D81334
2020-06-30 11:06:31 +00:00
Narcis Beleuzu 03245fe61b Backed out 6 changesets (bug 1644379) for bustages on IDBResult.h . CLOSED TREE
Backed out changeset df76fe2ab8bf (bug 1644379)
Backed out changeset a22f8c2a1fe7 (bug 1644379)
Backed out changeset 1244dc147bb7 (bug 1644379)
Backed out changeset 88afa250d734 (bug 1644379)
Backed out changeset e90b2d69b818 (bug 1644379)
Backed out changeset c9690f97b893 (bug 1644379)
2020-06-30 13:54:22 +03:00
Gabriele Svelto e8bade7e47 Bug 1647172 - Do not attempt to create a non-ES OpenGL context on Android r=jgilbert
This works around Android implementations that allow for non-ES contexts
to be created even though they don't work properly.

Differential Revision: https://phabricator.services.mozilla.com/D81666
2020-06-30 10:46:40 +00:00
Honza Bambas f1604cee10 Bug 1649003 - Log JS stacks from inside HTTP channel suspend() and resume() methods, r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81570
2020-06-30 07:15:33 +00:00
Florian Quèze 49bfcec471 Bug 1648510 - Make DAMP profiler markers use ChromeUtils.addProfilerMarker, r=ochameau,perftest-reviewers,Bebe.
Differential Revision: https://phabricator.services.mozilla.com/D81133
2020-06-30 10:24:07 +00:00
Florian Quèze 697f943653 Bug 1648169 - Replace Services.profiler.AddMarker with ChromeUtils.addProfilerMarker in Talos, r=perftest-reviewers,igoldan.
Differential Revision: https://phabricator.services.mozilla.com/D80914
2020-06-30 09:46:13 +00:00
Tom Schuster 52f794edec 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 10:11:12 +00:00
Jan de Mooij 79b42c90a6 Bug 1635375 part 4 - Bail out in Warp for cold Baseline ICs. r=iain
Until now we always used an Ion IC if there was no Baseline IC stub to transpile.
This isn't great for Baseline ICs that were never hit because we could get stuck
in Ion ICs instead of using the transpiler.

With this patch we bail out and if that happens more than 10 times we invalidate
the Warp code and then warm up and try a second time.

Depends on D81064

Differential Revision: https://phabricator.services.mozilla.com/D81065
2020-06-25 14:49:14 +00:00
Jan de Mooij cc745518d3 Bug 1635375 part 3 - Eagerly recompile on osr-pc mismatch with --ion-eager. r=iain
This fixes another test failure because we were not getting back into Warp code
quickly enough after a cold-IC bailout. With --ion-eager we want to compile without
waiting and that should probably also apply to recompiles.

Depends on D81063

Differential Revision: https://phabricator.services.mozilla.com/D81064
2020-06-25 13:48:50 +00:00
Jan de Mooij bcd7ce7990 Bug 1635375 part 2 - Tweak some jit-tests. r=iain
When we bail out for cold ICs, some jit-tests fail because they expect to run in
Ion/Warp at certain points.

Differential Revision: https://phabricator.services.mozilla.com/D81063
2020-06-25 13:47:13 +00:00
Olli Pettay 0761fad3ce Bug 1649198 - Remove unused and undefined nsXULPrototypeDocument::Create, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D81564
2020-06-29 23:07:02 +00:00
Simon Giesecke bec053e3df Bug 1644379 - Allow IDBResult to be used with non-copyable ValueType. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D78878
2020-06-30 10:02:10 +00:00
Simon Giesecke 72a5dedc24 Bug 1644379 - Add IDBResult::PropagateNotOk. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D78877
2020-06-30 10:01:58 +00:00
Simon Giesecke 609f339fc5 Bug 1644379 - Align IDBResult::Unwrap with Result::Unwrap. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D78876
2020-06-30 10:01:50 +00:00
Simon Giesecke a06ca838f0 Bug 1644379 - Change ToString from an output parameter to returning a value. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D78875
2020-06-30 10:01:43 +00:00
Simon Giesecke d27dc7b783 Bug 1644379 - Extract extraction of ErrorResult from IDBResult into a function. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D78708
2020-06-30 10:01:20 +00:00
Simon Giesecke 5e5ea484e9 Bug 1644379 - Change IDBResult(Base) to contain the ErrorResult. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D78707
2020-06-30 10:01:03 +00:00
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