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

715686 Коммитов

Автор SHA1 Сообщение Дата
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
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