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

718017 Коммитов

Автор SHA1 Сообщение Дата
Jan de Mooij 79e6cf479d Bug 1651645 part 9 - Add NON_PACKED flag to ObjectElements, use it in IsPackedArray. r=evilpie,anba
This way IsPackedArray does not depend on TI and can be used with Warp.

Adds MStoreHoleValueElement for JSOp::InitElemArray writing a hole value. This
instruction writes the hole value and sets the NON_PACKED flag. ICs don't
optimize writing holes.

We now also check in debug builds that if IsPackedArray returns true, the first
few elements aren't the magic hole value.

Differential Revision: https://phabricator.services.mozilla.com/D82966
2020-07-14 07:02:11 +00:00
Jan de Mooij d9c256598a Bug 1651645 part 8 - Fold writeToIndexWouldMarkNotPacked into its sole caller. r=evilpie
Also move it down a bit because we only need to do this when writing to an
index > initlength.

Depends on D82964

Differential Revision: https://phabricator.services.mozilla.com/D82965
2020-07-09 21:31:04 +00:00
Jan de Mooij 7cc7aa00a6 Bug 1651645 part 7 - Clean up ensureDenseInitializedLength a bit. r=evilpie
Re-organize the code. Add an early return instead of a big if-statement.
Change the initlen reference to a plain uint32_t.

Depends on D82963

Differential Revision: https://phabricator.services.mozilla.com/D82964
2020-07-09 21:29:35 +00:00
Jan de Mooij fa743e77e7 Bug 1651645 part 6 - Fold ensureDenseInitializedLengthNoPackedCheck into ensureDenseInitializedLength and call from ensureDenseElements. r=evilpie
The old code in ensureDenseElements marked non-packed before extending the
elements capacity. That's a problem because it can be the statically-allocated
EmptyObjectElements and we can't set the flag on that.

It's clearer to do the non-packed check in ensureDenseInitializedLength.

Depends on D82962

Differential Revision: https://phabricator.services.mozilla.com/D82963
2020-07-09 20:55:30 +00:00
Jan de Mooij 9b6a106394 Bug 1651645 part 5 - Assert initDenseElement/setDenseElement aren't called with the hole MagicValue. r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D82962
2020-07-14 07:26:24 +00:00
Jan de Mooij f23100f9ec Bug 1651645 part 4 - Use setDenseElementHole in removeDenseElementForSparseIndex. r=evilpie
The goal is to have just one place where OBJECT_FLAG_NON_PACKED is set.

Depends on D82960

Differential Revision: https://phabricator.services.mozilla.com/D82961
2020-07-09 20:55:29 +00:00
Jan de Mooij de73a122b1 Bug 1651645 part 3 - Use markDenseElementsNotPacked in setDenseElementHole. r=evilpie
Depends on D82959

Differential Revision: https://phabricator.services.mozilla.com/D82960
2020-07-09 20:55:29 +00:00
Jan de Mooij ff2c410cf5 Bug 1651645 part 2 - Simplify DeleteArrayElement, make some methods private. r=evilpie
Depends on D82958

Differential Revision: https://phabricator.services.mozilla.com/D82959
2020-07-09 20:55:29 +00:00
Jan de Mooij 82e9b0e078 Bug 1651645 part 1 - Inline setDenseElementMaybeConvertDouble into its sole caller. r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D82958
2020-07-09 20:55:29 +00:00
Alex Chronopoulos f8eb70523a Bug 1584959 - Crashtest to verify AudioConverter fix. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D83327
2020-07-14 08:31:17 +00:00
Razvan Maries 03af63ad32 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2020-07-14 11:35:17 +03:00
Andreea Pavel 82c04b9cad Merge autoland to mozilla-central a=merge 2020-07-14 11:32:07 +03:00
Andreea Pavel 6587206412 Backed out changeset 328b97bc228e (bug 1587541) for causing bug 1652665 a=backout DONTBUILD 2020-07-14 11:30:47 +03:00
Razvan Maries 6269129e09 Backed out changeset 4d835cc17a7f (bug 1649121) for build bustages on HTMLEditorDataTransfer.cpp. CLOSED TREE 2020-07-14 11:14:25 +03:00
Mirko Brodesser 9aadf57d94 Bug 1649121: part 35) Add `FragmentFromPasteCreator`. r=masayuki
First step of breaking up the complex corresponding method.

Differential Revision: https://phabricator.services.mozilla.com/D83323
2020-07-14 05:13:33 +00:00
Tom Prince e92bbf5dd8 No bug: [taskgraph] Make `verify_test_packaging` handle `--target-kind` gracefully; r=Callek
If we are generating only a part of the graph, to given kind, don't fail if a
build is packaging tests and there is no corresponding test task, as the tests
may not have been generated.

Differential Revision: https://phabricator.services.mozilla.com/D82097
2020-07-14 07:17:26 +00:00
Tom Prince 51f106a3a3 Bug 1652086: Make `kind_dependencies_tasks` a dictionary based on the label; r=Callek
I was looking at py-spy for generating the taskgraph, and found that a bunch
of time was spent in taskgraph.transforms.job.use_fetches[1]. Use a dictionary
there instead saves about 20-30s on my machine.

[1] https://searchfox.org/mozilla-central/rev/622dbd3409610ad3f71b56c9a6a92da905dab0aa/taskcluster/taskgraph/transforms/job/__init__.py#243-247

Differential Revision: https://phabricator.services.mozilla.com/D83166
2020-07-14 07:39:20 +00:00
Andrea Marchesini 93c5659e4a Bug 1644896 - Reintroduce an EnsureReadCompleted() in PermissionManager, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D83465
2020-07-14 07:36:14 +00:00
Andrea Marchesini 5a7b4e2136 Bug 1644896 - Add the shutdown blocker during the PermissionManager::initDB, r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D83360
2020-07-14 07:23:57 +00:00
Alexis Beingessner d966b93086 Bug 1644466 - Convert dom.storage.next_gen into a StaticPref. r=janv
The kinda hacky mutex latch is preserved to avoid concerns with AtStartup prefs having
potential to deadlock when used in this subsystem.

Differential Revision: https://phabricator.services.mozilla.com/D83403
2020-07-14 02:57:57 +00:00
Masayuki Nakano 62d9274b1d Bug 1651597 - Enable `TS_E_NOLAYOUT` hack for Microsoft ChangJie even after Win10 build 17643 r=m_kato
As reported, Microsoft ChangJie is not async layout handling aware. As far as
I've tested, other IMEs for both Simplified and Traditional Chinese TIPs on
Win10.  So, we should take the hack back in Nightly channel for ChangJie
even when it runs on new Win10 build.

Differential Revision: https://phabricator.services.mozilla.com/D83286
2020-07-14 01:30:06 +00:00
Hiroyuki Ikezoe 16690e4669 Bug 1651910 - Use only AnimationTransform::mFrameTransform for WebRender. r=kats
With the previous change, on WebRender AnimationTransform::mTransformInDevSpace
and AnimationTransform::mFrameTransform are pretty much same, so we don't need
to set both of values, we need only mFrameTransform.

Also this patch drops move(s), I didn't know that Matrix4x4 can't be moved.

Differential Revision: https://phabricator.services.mozilla.com/D83041
2020-07-14 02:31:11 +00:00
Hiroyuki Ikezoe 8f5df336fa Bug 1651910 - Drop inherited scale values and hasPerspectiveParent in TransformData. r=kats
They haven't been used effectively since bug 1403915.

Differential Revision: https://phabricator.services.mozilla.com/D83040
2020-07-14 02:28:36 +00:00
Hiroyuki Ikezoe a7a193a715 Bug 1651910 - Fix non unified build errors in OMTASampler. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D83039
2020-07-14 02:28:26 +00:00
Hiroyuki Ikezoe 4b34ca45f7 Bug 1651910 - Fix a silly typo for the forward declaration Layer. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D83038
2020-07-14 02:28:24 +00:00
Geoff Lankow 18668c950f Bug 1652630 - Fix variable redefinition to un-break the Thunderbird build r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D83447
2020-07-14 02:13:24 +00:00
Dorel Luca 8bb103856e Backed out 5 changesets (bug 1614041) for Spidermonkey failure on gecko/js/src/vm/NativeObject.h. CLOSED TREE
Backed out changeset 7eaf75ab590a (bug 1614041)
Backed out changeset 0776aaa8e255 (bug 1614041)
Backed out changeset ec3d556893bc (bug 1614041)
Backed out changeset 7d5c34919a24 (bug 1614041)
Backed out changeset deb22e4b7e1e (bug 1614041)
2020-07-14 05:23:44 +03:00
Dorel Luca 471c712b87 Backed out changeset 32c93f8ca145 (bug 1647652) for Browser-chrome failure on formautofill/test/browser/creditCard/browser_creditCard_doorhanger.js. CLOSED TREE 2020-07-14 05:22:22 +03:00
Masayuki Nakano 2e76a2dbb5 Bug 1649980 - part 12: Make `WSRunObject::InsertBreak()` static r=m_kato
It's now can work with static helper methods and a `TextFragmentData` instance.
Therefore, this patch makes it a static method.

Note that it's always called with `nsIEditor::eNone` so that we can get rid of
the argument.

Differential Revision: https://phabricator.services.mozilla.com/D82705
2020-07-14 01:29:34 +00:00
Ted Campbell 2bfe64e5db Bug 1614041 - Move ModuleObject allocation into Stencil instantiation r=arai
Depends on D83270

Differential Revision: https://phabricator.services.mozilla.com/D83271
2020-07-14 01:27:46 +00:00
Ted Campbell 6796bd130e Bug 1614041 - Store FunctionDeclarations in StencilModuleMetadata r=arai
Use StencilModuleMetadata to hold module function-declarations list so that a
ModuleObject is no longer needed to perform parsing.

Depends on D83274

Differential Revision: https://phabricator.services.mozilla.com/D83270
2020-07-14 01:27:43 +00:00
Ted Campbell cd25f40722 Bug 1614041 - Stop storing binding name in module function-decl list r=arai
The binding name is by definition the explicitName of the JSFunction so do
not store a copy of it. This avoids needing to trace that anymore.

Depends on D83269

Differential Revision: https://phabricator.services.mozilla.com/D83274
2020-07-14 01:27:36 +00:00
Ted Campbell be1e04f346 Bug 1614041 - Stop using ModuleObject* in ScopeCreationData r=mgaudet
Similar to what is done for FunctionScope, defer the initialization of
ModuleScope::Data::module field until creating concrete scope.

Depends on D83206

Differential Revision: https://phabricator.services.mozilla.com/D83269
2020-07-14 01:27:33 +00:00
Ted Campbell fe38b9af3a Bug 1614041 - Defer ModuleBuilder GC allocations r=arai
Introduce StencilModuleEntry type to replace {Import,Export}EntryObject
during parsing. Also introduce StencilModuleMetadata to hold resulting
import/export tables.

Differential Revision: https://phabricator.services.mozilla.com/D83206
2020-07-14 01:27:26 +00:00
Butkovits Atila aa350eaade Backed out 5 changesets (bug 1614041) for causing assertion failure at jsapi.cpp.
Backed out changeset 32d800de8502 (bug 1614041)
Backed out changeset 24520be1a1ce (bug 1614041)
Backed out changeset c66757095dd4 (bug 1614041)
Backed out changeset 73a1977876d1 (bug 1614041)
Backed out changeset 5db78863ff43 (bug 1614041)
2020-07-14 03:49:25 +03:00
Tyson Smith 22a9a38bd6 Bug 1613998 - Use MOZ_INCLUDE_SOURCE_INFO=1 in Linux ASan debug build. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D83417
2020-07-14 00:33:56 +00:00
Gijs Kruitbosch 5910d679e9 Bug 1652213 - invoking the external helper app dialog without a principal shouldn't throw, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D83439
2020-07-14 00:28:22 +00:00
Dorel Luca 8e8300c199 Backed out changeset cddd6ccb366e (bug 1646006) for Mochitest failures on dom/indexedDB/test/test_file_delete.html. CLOSED TREE 2020-07-14 02:04:07 +03:00
Glenn Watson 90e7de7e0f Bug 1652376 - Reduce size of interning handles. r=Bert
This reduces the size of intern handles, which drops the size of
the PrimitiveInstance structure from 80 bytes to 64 bytes. This
has a significant performance improvement on pages with large
numbers of primitives.

It also opens up some future optimization work related to text
run interning costs, which will be a performance win on many pages.

Differential Revision: https://phabricator.services.mozilla.com/D83281
2020-07-13 20:42:25 +00:00
Andrea Marchesini 2aa62ff0f3 Bug 1644896 - Destroy PermissionManager on shutdown, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D82211
2020-07-13 20:18:40 +00:00
Dimi Lee 0ad0e5b18c Bug 1628305 - Fallback to use host or spec when failing to get base domain in SafeBrowsingNotificationBox r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D82492
2020-07-14 06:59:18 +00:00
Cameron McCormack 0beb0de1ac Bug 1630494 - Add some more fuzziness to image-orientation-list-style-image.html. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D83450
2020-07-14 06:14:08 +00:00
Mitchell Hentges 7a7098e9cc Bug 1652158: Removes usage of old tuple-based node system r=firefox-build-system-reviewers,rstewart
Refactors dafsa-encoding logic to use class-based node representation instead of the tuple-based
representation

Differential Revision: https://phabricator.services.mozilla.com/D83361
2020-07-13 19:03:04 +00:00
David Major 63aa7238ca Bug 1616694 - Allow build-clang to work with different Mac SDKs r=froydnj
LLVM 11 introduces a hard requirement for SDK 10.12 in order to build for Mac. We want to keep building older LLVMs with 10.11 though, so this patch adds some flexibility so that build-clang can make use of whatever SDK package a particular task pulls from tooltool (but still requesting a deployment target of 10.11).

Differential Revision: https://phabricator.services.mozilla.com/D82621
2020-07-13 22:44:54 +00:00
Butkovits Atila f7c37a8a25 Backed out changeset 7fbefca418f3 (bug 1652376) for causing failure at test_file_delete.html. 2020-07-14 01:33:52 +03:00
Masayuki Nakano 89d1495bf1 Bug 1649980 - part 11: Make `WSRunObject::ReplaceASCIIWhiteSpacesWithOneNBSP()` static r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D82704
2020-07-13 15:30:51 +00:00
Zibi Braniecki 27a7724def Bug 1647652 - Treat a new record as a duplicate of an existing one if the cc-number matches. r=abr
Differential Revision: https://phabricator.services.mozilla.com/D82131
2020-07-14 00:06:16 +00:00
Bert Peers 67b2334ae8 Bug 1652597 - SWGL crash on Mac r=mstange
Allocate extra 16 bytes to support past-the-end reads of SWGL.

Differential Revision: https://phabricator.services.mozilla.com/D83389
2020-07-13 22:43:35 +00:00
Masayuki Nakano 55c0146bd3 Bug 1649980 - part 10: Get rid of `WSRunScanner::mScanEndPoint` r=m_kato
Now, `mScanEndPoint` is not used.  This patch removes it and clean up the
constructors of `WSRunScanner` and `WSRunObject`.

Differential Revision: https://phabricator.services.mozilla.com/D82703
2020-07-13 14:57:38 +00:00
Masayuki Nakano 1d08048cd9 Bug 1649980 - part 9: Make `WSRunScanner::InsertText()` a static method r=m_kato
It's simpler to make `WSRunScanner::InsertText()` take insertion point.
Then, it can do its jobs with `TextFragmentData` instance(s).

Differential Revision: https://phabricator.services.mozilla.com/D82702
2020-07-13 14:25:44 +00:00