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

64766 Коммитов

Автор SHA1 Сообщение Дата
Matthew Gaudet c00d7bb844 Bug 1437842: [Part 4] Convert IsSetIterator to GuardToSetIterator r=jandem
--HG--
extra : rebase_source : 9053d860953a7aa24848941dc286ee1008dd9454
2018-04-12 14:02:54 -04:00
Matthew Gaudet 9baf0fb242 Bug 1437842: [Part 3] Convert IsMapIterator to GuardToMapIterator r=jandem
--HG--
extra : rebase_source : 246083417a512ea34b97c1693cc7a172ec4540fb
2018-04-12 13:23:45 -04:00
Matthew Gaudet 188153d2d5 Bug 1437842: [Part 2] Convert IsArrayIterator to GuardToArrayIterator r=jandem
--HG--
extra : rebase_source : 6b8b5d3e9b4e2570ac3d6769d87c20db8014242f
2018-04-12 13:14:12 -04:00
Matthew Gaudet b931fdf247 Bug 1437842: [Part 1] Remove IsStringIterator intrinsic r=jandem
--HG--
extra : rebase_source : 16347997c64e99f6393dcc87f8187eb7c8362a49
2018-04-12 11:54:20 -04:00
Matthew Gaudet dff8f8b962 Bug 1437842: [Part 0] Convert IsStringIterator to GuardToStringIterator r=jandem
Lays out the ground work

--HG--
extra : rebase_source : e5439266733ed4fb3d6c13f60d0ae2789d267251
extra : source : 7e1ef403fdd89b9467ac95bf912feab7024cde51
2018-04-06 13:24:25 -04:00
Jon Coppeard 9184648e44 Bug 1443555 - Remove bogus assertion to allow getting the module environment even if there was an error evaluating the module r=anba
--HG--
extra : rebase_source : 83f91489f0e99949b497433ee7429ee23443c3a7
2018-04-26 15:54:00 +01:00
Jon Coppeard 7de5b9f0e0 Bug 1456422 - Remove debugging printfs from GCSchedulingTunables::setParameter r=pbone
--HG--
extra : rebase_source : acb08f1a292ec85fca08bd861b539b602f16c44f
2018-04-26 15:53:59 +01:00
Dragan Mladjenovic 50050d6ff7 Bug 1455028 : [MIPS64] Fix jit -> c++ int32 argument passing for simulator builds; r=bbouvier
--HG--
extra : rebase_source : 474020ffd8f23663a1fd7ca6a335cce4342746d7
2018-04-18 18:08:24 +02:00
Dragan Mladjenovic e5d8449944 Bug 1455019 : [MIPS64] Add error detection for int64 <-> fp conversion in simulator; r=bbouvier
--HG--
extra : rebase_source : 2ee6f92b3ff3ce803d746f8cd9747c1ee41a2e06
2018-04-18 18:04:49 +02:00
Dragan Mladjenovic d7aa10c574 Bug 1455016 : [MIPS64] Fix potentially undefined behavior of rotateLeft64; r=bbouvier
--HG--
extra : rebase_source : b6e0eb2a9150eaef9c0bb201b036218af064c0e8
2018-04-18 18:01:56 +02:00
Robin Templeton 8f61a2db7d Bug 1455795 - Remove the AUTOMATION option from mozjs_sys's build.rs. r=sfink
This option shouldn't be used for local builds (see bug 1294157). Set
the option from the crate's taskcluster script instead, so that it's
used only for automated builds.

--HG--
extra : rebase_source : 94b398a0f1fac60094269d755735c426ecc63e17
2018-04-24 18:04:00 -04:00
Jan de Mooij 8f53b68db1 Bug 1452114 part 2 - Add diagnostic asserts. r=jonco
--HG--
extra : rebase_source : a2b9e3330741a4e90506b0685ae15991da46bd85
2018-04-26 09:59:32 +02:00
Jan de Mooij d124a65730 Bug 1452114 part 1 - Fix GCRuntime::tryNewTenuredThing to report OOM on helper threads as well. r=jonco
--HG--
extra : rebase_source : cb34d5741d697c3fb5cb6dbbdd4f28cb50e3d231
2018-04-26 09:58:42 +02:00
Jan de Mooij 4da56c6d15 Bug 1456494 - Initialize Zone::helperThreadUse_ first to avoid accessing uninitialized memory in debug builds. r=jonco
--HG--
extra : rebase_source : 9abb7cecd084e7f8c4bbe7ce1ff3e34c10e024ce
2018-04-26 09:57:15 +02:00
André Bargull 37bc3aaed9 Bug 1451082 - Update IANA language subtag registry data to version 2018-03-30. r=Waldo 2018-04-25 11:46:14 -07:00
Jan de Mooij d047348566 Bug 1063728 - Run SpiderMonkey style checkers as part of the build instead of make check. r=chmanchester 2018-04-26 09:09:51 +02:00
Jeff Walden 04d21ccac0 Bug 1451248. r=jorendorff, r=bz
--HG--
extra : rebase_source : e26439a5954162bdaf332fbd63d623a3810e19e0
2018-04-25 19:40:09 -07:00
Jeff Walden e2c8f8433f Bug 1456296 - Move IdentifierName parsing into a separate function from TSS::getTokenInternal to simplify some control flow. r=arai
* * *
[mq]: more

--HG--
extra : rebase_source : 1ba08d6801d5dff326921cf9b88655ae5b151b91
2018-04-23 13:37:39 -07:00
Kris Maglione a6d2e794ef Bug 1456035: Part 3.1 - Add temporary fallback XPCOMUtils.generateQI implementation for Android hostutils. r=me
MozReview-Commit-ID: IDs6Jyz5PyO

--HG--
extra : rebase_source : ae871cbec9494945663843a7dbeb56ae2a49c164
2018-04-25 14:26:05 -07:00
Kris Maglione e318b76d56 Bug 1456035: Part 3 - Replace XPCOMUtils.generateQI with a stub for ChromeUtils.generateQI. r=mccr8
MozReview-Commit-ID: HWnlxUQvxYZ

--HG--
extra : rebase_source : a5801a0d7427a2cf3cedec2a4e8db1a3d80273ec
2018-04-22 18:55:49 -07:00
Kris Maglione 8b53374e1d Bug 1456035: Part 2 - Add fast path for XPCWrappedJS QueryInterface with native helper. r=mccr8
When the QueryInterface method for an XPCWrappedJS class is implemented by the
native helper, we can avoid a lot of overhead by simply asking it if it
supports a given interface rather than going through all of the JSAPI call and
exception handling overhead we'd need otherwise.

MozReview-Commit-ID: FVAN3oYRE9I

--HG--
extra : rebase_source : 23a42374e83ee4314fa89ead135fd2e8f9968296
2018-04-22 20:37:51 -07:00
Kris Maglione dc8ba3688b Bug 1456035: Part 1 - Add helper to generate native QueryInterface callbacks. r=bz
MozReview-Commit-ID: JpV6zYOdvHu

--HG--
extra : rebase_source : 4aeda7c2c612dd9c7dbb7b6f4fdd33b8b289b702
2018-04-22 20:32:11 -07:00
Sumit Tiwari 4b2bdcc0f9 Bug 1431434 - Merge SweepRegExps with SweepMisc; r=jonco
MozReview-Commit-ID: 7EHJ5LOOuLQ

--HG--
extra : rebase_source : ac054fc26da7238fd5ba3bd63d32c5e136c44c0a
2018-04-27 18:29:16 -04:00
Dave Hunt 4afca33e96 Bug 1437593 - Move initial virtual environment to _virtualenvs/init; r=ted
MozReview-Commit-ID: LP8NVz3tZZg

--HG--
extra : rebase_source : 990c0301a43a1870a69548a23aeddcf9fe3fe8a8
2018-03-28 12:55:04 +01:00
Steve Fink 8962fa726b Bug 1448522 - Handle errors in transferOwnership correctly, r=jorendorff
--HG--
extra : rebase_source : c94216dac1652988a0305c694534b3230f10cdb8
extra : amend_source : 2c25c3666987435d40b5b02a763c3bb879a71c43
2018-03-23 20:03:55 -07:00
Jason Orendorff 65e4f92054 Bug 1275292 - Delete ParseNodeAllocator::freeTree() and friends. r=shu.
--HG--
extra : rebase_source : 085b2cf1eb6db8892cce0d844084be0bae4ccc7b
2018-02-27 15:09:09 -06:00
Benjamin Bouvier 26e3ed3050 Bug 1455611: Prevent calling setGcZeal with --wasm-gc and wasm frames on the stack; r=jonco
--HG--
extra : rebase_source : 72d39dd4d25b89fbc2cd68c31a2b80ca95932929
extra : histedit_source : fa1af42a3da96a162e3cf449f3c27e9fde08437b
2018-04-25 12:22:42 +02:00
Benjamin Bouvier 23177acdba Bug 1456881: Remove unused ctors and use more delegating ctors for JitContext; r=nbp
--HG--
extra : histedit_source : 829b2b786fdb98cba199177277c2b728e768866b
2018-04-18 12:14:54 +02:00
Matthew Gaudet f9c00d1336 Bug 1455280: Remove FlowAliasAnalysis implementation r=jandem
--HG--
extra : rebase_source : 5f865b74c151f64c1d7e6685b1cbb1dacf291c72
2018-04-24 14:53:00 -04:00
Jon Coppeard 5f6db423ad Bug 1455709 - Don't reset count of allocated bytes when max malloc parameter is changed r=sfink 2018-04-25 10:42:47 +01:00
Benjamin Bouvier 2667adf919 Bug 1456470: Mark a few fields as protected in ARM classes to avoid unused private fields warnings; r=mgaudet
--HG--
extra : rebase_source : f062394c529a8637be3620a685df4b145930f128
2018-04-24 15:35:57 +02:00
Benjamin Bouvier 2b7cadbd0f Bug 1455612: Skip wasm frames in updatePcQuadratic; r=jandem
--HG--
extra : rebase_source : 505722e0843045026644be2a24c05b0c78db29e4
extra : amend_source : 5c788332b07fce46ee28f95d9152bfa152715eb8
2018-04-23 16:03:30 +02:00
David Teller ae47e97753 Bug 1456989 - CatchClause now contains a AssertedParameterScope;r=efaust
This follows the spec changes and the binjs-ref change at https://github.com/binast/binjs-ref/pull/113 .

MozReview-Commit-ID: 3k8p3hUx7Rb

--HG--
extra : rebase_source : 0c50e507a949b593ef76e895ab0be2b8546806b2
2018-04-26 10:11:42 +02:00
David Teller 42bbc40723 Bug 1456989 - Updating BinTokenReader{Simple, Multipart} tests data;r=arai
MozReview-Commit-ID: I3gYBwJNM1Z

--HG--
extra : rebase_source : fbfec5aa42da77f57a05af11eeb811a99db036c0
2018-04-26 10:08:38 +02:00
Paul Bone 5931e98c71 Bug 1458154 - Add a tunable for idle nursery collection r=jonco
--HG--
extra : source : c5b1eae8a19756f85b8b059bff4bb1b4b8ab7c90
extra : amend_source : e1b38bbadd6d62efd22e754e752b064d175193ec
2018-02-12 17:17:33 +11:00
Tooru Fujisawa 0787ad6d29 Bug 1456039 - Part 2: Add comment for TryEmitter. r=Yoric 2018-05-02 10:35:35 +09:00
Tooru Fujisawa 766d2a56e0 Bug 1456039 - Part 1: Add comment for IfThenElseEmitter. r=Yoric 2018-05-02 10:35:32 +09:00
Sean Stangl 3e80a2a52f Bug 1458382 - Break up a one-liner to prevent an internal GCC 8.0.1 error. r=Waldo 2018-05-01 16:03:00 -04:00
Ted Campbell 4c146b7c39 Bug 1458240 - Avoid breakpadinjector on sm-tsan job. r=sfink
MozReview-Commit-ID: 8GH1OPiqx6q
2018-05-01 12:11:00 -04:00
Matthew Gaudet 42a432f752 Bug 1458236 - Correct unused variable in Simulator-arm.cpp. r=jandem 2018-05-01 10:50:02 -04:00
Andreea Pavel 0e990f6e7d Backed out changeset 1a9703589230 (bug 1458008) for failing tests\jit-test\jit-test\tests\basic\testMatchAsCondition.js 2018-05-01 18:32:08 +03:00
Ted Campbell 50fc37eb18 Bug 1450503 - Remove INITHOMEOBJECT assert. r=jandem
MozReview-Commit-ID: AcvowmQbtKw
2018-05-01 11:23:09 -04:00
Ted Campbell d46949a72b Bug 1458091 - Make ScriptSource::refs Atomic to please TSAN. r=jandem
MozReview-Commit-ID: 2EADsttkXEx
2018-05-01 11:19:56 -04:00
Jan de Mooij fedf493e9a Bug 1454887 part 2 - Rewrite TI sweeping to be more explicit. r=tcampbell 2018-05-01 15:54:26 +02:00
Jan de Mooij 2d6674f3a2 Bug 1454887 part 1 - Remove some (disabled) invalid asserts. r=tcampbell 2018-05-01 15:54:04 +02:00
Jan de Mooij 54c9c1b5ef Bug 1458008 - Shuffle Shape flags around to avoid races with off-thread compilation. r=jonco 2018-05-01 13:44:21 +02:00
Eric Faust efef28b706 Bug 1456765 - [BinAST] Properly compute Function.length. (r=Yoric)
--HG--
extra : rebase_source : f2dc85f62707c1917048402377ea6a44e310483d
2018-04-30 23:55:36 -07:00
Eric Faust 3f61407c1e Bug 1456766 - [BinAST] Bind |this| in functions. Don't yet handle lexical |this| closure. (r=Yoric)
--HG--
extra : rebase_source : 180700fd0f177e11349e2c098cd2d36d7819d9cc
2018-04-30 23:55:36 -07:00
Eric Faust a93117b9cb Bug 1456761 - Update buildFunction for the multipart grammar. (r=Yoric)
--HG--
extra : rebase_source : 4d0ce4c9fe97857bdd274ac149c707df2ecb9122
2018-04-30 23:55:36 -07:00
Eric Faust de20660501 Bug 1451343 - Part 2: Check annotated closed vars against known uses. (r=Yoric)
--HG--
extra : rebase_source : 2b4ff0e575a563fcb6fc43664fc2aff6c9ea329d
2018-04-30 23:37:41 -07:00
Eric Faust f9af3b4df0 Bug 1451343 - Part 1: Use provided capture information. (r=Yoric)
--HG--
extra : rebase_source : 9fcc76aaad2d7c8cfa3e253fdd797ca7b9bc140e
2018-04-30 23:37:41 -07:00
Steve Fink 2cdf0a6db9 Bug 1433642 - Do not free transferables in synthetic clone buffers, r=jorendorff
--HG--
extra : rebase_source : b9b92559fc1b3b226636d24f316fd56da4445233
extra : source : 6b7d7b8605ea2240498f01eab16c0940f6e0cc30
2018-04-19 22:46:53 -07:00
Steve Fink e09703704b Bug 1433642 - Remove storedScope from structured clone, r=jorendorff
--HG--
extra : rebase_source : 371ee541e2ec02189328e734036f35b3f7cb06a6
extra : source : a31159fb68887f49dccc854cd0637dfe77ed6df6
2018-04-19 12:17:05 -07:00
André Bargull 55ff15f2e0 Bug 1456119 - Part 2: Reimport tests after features were sorted. r=sfink
--HG--
extra : rebase_source : aa727fd87a99609142581983917b063c5c9adc12
2018-04-23 10:21:54 -07:00
André Bargull c0728eafc9 Bug 1456119 - Part 1: Sort feature checks in test262 update script. r=sfink
--HG--
extra : rebase_source : 6254ed23976c4ebefd846246b6a2e2a8e9938af1
2018-04-23 10:18:27 -07:00
Steve Fink 4766228db5 Backed out changeset a31159fb6888 (bug 1433642) to fix a CLOSED TREE
--HG--
extra : rebase_source : 18641fa9b74d8ed84c93ba7cdd7b7fdf05232644
extra : histedit_source : f3b033e9316610612dac75971103dcfce272d8e5
2018-04-24 16:02:00 -07:00
Steve Fink dca82594a8 Backed out changeset 6b7d7b8605ea (bug 1433642)
--HG--
extra : rebase_source : 960fe894f8f095f58d640c9821627cdbc544c5a6
extra : histedit_source : 7141bd5860f17d4717bb0b87272b40a4a7eacaa2
2018-04-24 16:01:56 -07:00
Steve Fink 1e4199c9d6 Bug 1433642 - Do not free transferables in synthetic clone buffers, r=jorendorff
--HG--
extra : rebase_source : 6d550298aa19bb19645fd02004eaaeb3e132afaf
2018-04-19 22:46:53 -07:00
Steve Fink e45c52c668 Bug 1433642 - Remove storedScope from structured clone, r=jorendorff
--HG--
extra : rebase_source : 562bb5be0afbccb23f0c3bf5bf76fdde5c6ebce3
2018-04-19 12:17:05 -07:00
Nicolas Auvray 662025607f Bug 1285909 - Part 2: Add test coverage for IsMapObject and IsSetObject. r=jorendorff.
--HG--
extra : rebase_source : ae162e2a971c2b8d30456a9cb28b924b670d5b3e
2016-12-10 12:19:02 +01:00
Jason Orendorff adfd418d75 Bug 1452583 - Demote bogus assertion in dom_genericSetter to runtime check. r=jandem.
--HG--
extra : rebase_source : ff14ab82ab7f9c68946764870a4054b946284a40
2018-04-13 14:57:24 -05:00
Ted Campbell 3f1982d4df Bug 1448563 - Part 5b: Fix issue with mem reporting IonBuilder. r=jandem
MozReview-Commit-ID: 462mR7tAWUo
2018-04-24 10:57:42 -04:00
Kyrian Aouina 0441560d1e Bug 1456100 - Delete an useless line r=jandem
--HG--
extra : rebase_source : 7b94b3ce77136b7c2920be91af9ad5bdf75d852e
2018-04-24 11:21:20 +02:00
Benjamin Bouvier 97f2b8022a Bug 1455702: Check allocation in ParseCallIndirect in wasm::TextToBinary; r=luke
--HG--
extra : rebase_source : 021d0f287a333af97e5ba929ab6ce3eb3c9c3940
2018-04-23 16:37:33 +02:00
Benjamin Bouvier 68dd7dae50 Bug 1455703: Check for OOM in AstDecodeModuleTail; r=luke
--HG--
extra : rebase_source : 3b98b75dcc8da8191f6545db7cfdaf774b1a1597
2018-04-23 16:30:33 +02:00
Benjamin Bouvier 776871a1ea Bug 1455693: Check for memory allocation failures in FormatWasmFrame; r=yury
--HG--
extra : rebase_source : 90aec420bce264fadf001451c611b28bb3efe66c
2018-04-23 16:21:39 +02:00
Jon Coppeard c9eca57e24 Bug 1455608 - Back out test code since to fix bustage r=me on a CLOSED TREE 2018-04-24 10:00:37 +01:00
Jon Coppeard ec7442a494 Bug 1455608 - Allow js::TraceRuntime to operate if GC is suppressed r=sfink 2018-04-24 09:32:14 +01:00
Kris Maglione beeee1a023 Bug 1363925: Part 2 - Support inferring array length from typed arrays. r=mccr8
MozReview-Commit-ID: FI5ggNE68v7

--HG--
extra : rebase_source : ed20f55c5497486863b89c5b6f6f342c7d938d6a
extra : histedit_source : 99c7eee864fd45fdea64f48a1d056e467ad2f56d
2018-04-21 18:04:22 -07:00
Steve Fink 02245c0bd2 Bug 1400153 - Stop using PodZero to initialize TimeStamps, r=nfroyd
--HG--
extra : rebase_source : 9d14b89f7baaf87c813de2810956bd0ba6db0a71
2018-04-23 17:35:20 -07:00
Ted Campbell a1a65038fe Bug 1448563 - Part 6: Add memory reporting for off-thread WASM. r=luke
MozReview-Commit-ID: 1lXRj1JUJk2

--HG--
extra : source : 97dbd15798f96a95021bc0a66c9b1dfc22414025
2018-04-11 15:49:36 -04:00
Steve Fink 6f962094cc Bug 1455599 - Redo bug 1446693, creating separate AutoTraceSessions instead of expanding one, r=jonco
--HG--
extra : rebase_source : 9900a8500ddf958523cf397744fad4b1cba6cec6
2018-04-20 16:31:16 -07:00
Steve Fink d4194e4003 Bug 1400153 - Add another check for timestamp problems, and attempt to get all the intermittents routed to one bug, r=jonco
--HG--
extra : rebase_source : 1731917b91ce47a3b6302fbb140ffbdd78b0dba2
extra : amend_source : 79bf89753f9cb8fca9ba66efc858dfd838288a6e
extra : histedit_source : 1d796c678b8967615e434d3fb74c976d8f33f2ca
2018-04-20 11:35:28 -07:00
Steve Fink 29b27943c5 Bug 1400153 - Rename nextInPhase -> nextWithPhaseKind, r=jonco
--HG--
extra : rebase_source : 0d221747096898fc24f7e26c354679afb967a537
extra : histedit_source : 28b1d08cc591ca2caf8ec5a5f091e2c4f8245bfe
2018-04-20 11:34:00 -07:00
Ted Campbell bc92875c3e Bug 1448563 - Fix ASAN bustage in Part 2. r=me CLOSED TREE
LazyLink IonBuilders should use non-inclusive size.

MozReview-Commit-ID: IaaH4seekY0
2018-04-23 15:34:25 -04:00
Bogdan Tara b644004031 Backed out changeset 97dbd15798f9 (bug 1448563) for bad-malloc_usable_size /builds/worker/workspace/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc a=backout CLOSED TREE 2018-04-23 22:23:01 +03:00
Ted Campbell 7baaa3f753 Bug 1448563 - Part 6: Add memory reporting for off-thread WASM. r=luke
MozReview-Commit-ID: 1lXRj1JUJk2
2018-04-23 13:57:50 -04:00
Ted Campbell ce0c6eb300 Bug 1448563 - Part 5: Add memory reporting for Ion offthread. r=jandem
MozReview-Commit-ID: KnuaP5HwNnm
2018-04-23 13:56:54 -04:00
Ted Campbell 3f8ed0a1db Bug 1448563 - Part 4: Add memory reporting for off-thread parse. r=jandem
MozReview-Commit-ID: 2qH6cwFRrfG
2018-04-23 13:55:59 -04:00
Ted Campbell d1cc6f3d5b Bug 1448563 - Part 3b: Add memory reporting for JS helper threads. r=jandem
MozReview-Commit-ID: JbOY0QRn0Wl
2018-04-23 13:55:01 -04:00
Ted Campbell 044b11fef2 Bug 1448563 - Part 3a: Add iterator to js::Fifo. r=luke
MozReview-Commit-ID: CoYdOBNnORg
2018-04-23 13:54:00 -04:00
Ted Campbell 9f41272463 Bug 1448563 - Part 2: Add memory reporting for Ion lazy linking. r=jandem
MozReview-Commit-ID: 4tHDJXzJKY5
2018-04-23 13:53:01 -04:00
Ted Campbell bdaa0bde42 Bug 1448563 - Part 1: Use JS::CollectGlobalReports for non-runtime memory. r=jorendorff
MozReview-Commit-ID: G4j6YKP0vEV
2018-04-23 13:52:04 -04:00
Jan de Mooij 0f98a70be7 Bug 1454398 - Comment out another invalid assert I missed in 42e037e0b8d1. r=me 2018-04-23 12:38:13 +02:00
Jon Coppeard b54707eba0 Bug 1415852 - Unconditionally poison chunk trailer on free r=sfink 2018-04-23 10:51:33 +01:00
Jon Coppeard 3e09172edc Bug 1419373 - Call ShutdownMarker() on all JSObject2WrappedJSMaps at the same time r=mccr8 2018-04-23 10:51:33 +01:00
Tiberius Oros c028c8d2f4 Merge inbound to mozilla-central. a=merge 2018-04-23 01:11:42 +03:00
Jan de Mooij d75fb4c859 Bug 1451198 part 2 - Annotate maybeUninitialized reads in GetUnboxedValue. r=bhackett 2018-04-22 12:13:48 +02:00
Jan de Mooij 83a0922b01 Bug 1451198 part 1 - Move GetUnboxedValue and SetUnboxedValue to cpp file. r=bhackett 2018-04-22 12:11:53 +02:00
David Teller ffadbd25c9 Bug 1455463 - Make calls to checkFields more explicit r=arai
Apparently, older versions of clang have difficulties with our call to checkFields. This might help.

MozReview-Commit-ID: C7dn7EwcazI

--HG--
extra : rebase_source : 723b1bc9294e156736e4169dca72fdd02996f767
2018-04-20 16:40:08 +02:00
Jan de Mooij f57cb4a925 Bug 1454592 part 2 - Get rid of a static constructor for protoTable array. r=jonco 2018-04-20 13:07:14 +02:00
Jan de Mooij ca890cd4cc Bug 1454592 part 1 - Make some constructors constexpr. r=jonco 2018-04-20 13:04:07 +02:00
Boris Zbarsky 1df89947b2 Bug 1453869 part 10. Stop constructing DOMParser by contract. r=mrbkap
MozReview-Commit-ID: A0bHF5RHhs6
2018-04-20 23:04:45 -04:00
Boris Zbarsky 2d76710322 Bug 1453869 part 8. Teach Cu.importGlobalProperties about DOMParser. r=mrbkap
MozReview-Commit-ID: 36Op1KdLZJe
2018-04-20 23:03:32 -04:00
Steve Fink 10e2e05891 Bug 1448089 followup, remove now-unused variable to fix a CLOSED TREE.
--HG--
extra : amend_source : 001ccd09e2af56c45e01e9057a64fb6cd23fe874
extra : histedit_source : 32a294be08fe4fd4082f9591c2582e2c14386841
2018-04-20 13:32:47 -07:00
Steve Fink 2c3ce821ef Bug 1455201 - Propagate failure out of set -e region and add verbose logging to autospider.py, r=jonco
--HG--
extra : rebase_source : 3b2b301e45e555de489ac26bc22e1e1e181c6357
2018-04-19 11:20:26 -07:00
Nicolas B. Pierron 2d9966df5c Bug 1448089 - Make MBasicBlock::addPredecessorSameInputsAs fallible. r=tcampbell 2018-04-19 07:32:00 -04:00
Kris Maglione 903e86e865 Bug 1455458: De-XPIDLify the blocklist service. r=gijs
Going through XPConnect for JS-to-JS access in the blocklist service adds no
benefit, but does add a lot of overhead and maintenance burden.

MozReview-Commit-ID: Lf1mDK0b0B0

--HG--
extra : rebase_source : 410ed3fcf999d7c7775ef4926c89f67d9e342da8
2018-04-19 16:01:24 -07:00
Kris Maglione 36ffd6d271 Bug 1455179: Support destructuring with default values in undefined property detection checks. r=nbp
MozReview-Commit-ID: O5sCGmjJxA

--HG--
extra : rebase_source : 08953a75afb6fe84cf52cf3f7772b35bd1a3a78a
2018-04-18 18:36:57 -07:00
Dorel Luca 644bf34f8b Backed out 8 changesets (bug 1453011, bug 1452981, bug 1146316) For xpcshell and mochitest failures on multiple files. CLOSED TREE
Backed out changeset 033299f27339 (bug 1453011)
Backed out changeset 4464997475c1 (bug 1453011)
Backed out changeset cae243fb2a3c (bug 1453011)
Backed out changeset adf56a83131b (bug 1453011)
Backed out changeset 80abe3305b24 (bug 1452981)
Backed out changeset 02178545f255 (bug 1452981)
Backed out changeset 719f7596c208 (bug 1146316)
Backed out changeset 1316c78daeb6 (bug 1146316)
2018-04-20 21:40:24 +03:00
Boris Zbarsky 45a3faf8f6 Bug 1455052 part 12. Remove JS uses of nsIDOMEvent. r=masayuki,kmag
MozReview-Commit-ID: 5g0H3rzxTXt
2018-04-20 12:55:31 -04:00
Peter Van der Beken 2d06d9a85f Bug 1453011 - Remove PostCreatePrototype. r=bz.
--HG--
extra : rebase_source : f1566e432e6c47c814bbced141b51522fe3e4184
2018-03-22 11:31:05 +01:00
Peter Van der Beken b1be86e036 Bug 1453011 - Remove some unused nsIXPCScriptable flags. r=bz.
--HG--
extra : rebase_source : d3f5d9b6d994bbcf55976b3a1aed404d273415f3
2018-03-22 10:37:43 +01:00
Peter Van der Beken 3cb241cae0 Bug 1453011 - Remove nsXPCClassInfo. r=bz.
--HG--
extra : rebase_source : fd26480b3a4c8f56ae47fa2e4031fd0bebd1cd88
2018-03-22 09:42:21 +01:00
Peter Van der Beken 79663afa7d Bug 1452981 - Remove qsObjectHelper. r=bz.
--HG--
extra : rebase_source : 931b915a05d026d826ceb5ec919c3909f9bae053
2018-03-01 09:01:00 +01:00
Peter Van der Beken 58eabcfc19 Bug 1146316 - Remove nsWrapperCache::SetIsNotDOMBinding and IsDOMBinding(). r=bz.
--HG--
extra : rebase_source : e79d52f75c4e73ba65fa88d8b21111e0cbf29634
2018-04-05 17:22:41 +02:00
Peter Van der Beken f2ba86d2a9 Bug 1146316 - Preserve the wrapper of sandboxes, so that we never try to call WrapObject on them. r=bz.
--HG--
extra : rebase_source : a520fe62e7831c4a73f0ee4365c55f93965e14b6
2018-04-11 11:52:13 +02:00
Luke Wagner b34afec0b2 Bug 1452571 - Baldr: fix IsBufferSource on DataView and prevent shell-only rooting bug (r=anba) 2018-04-19 14:28:01 +02:00
Gurzau Raul f4056b78d5 Backed out 2 changesets (bug 1454592) for Windows build bustage on a CLOSED TREE
Backed out changeset 82821ff143e3 (bug 1454592)
Backed out changeset 89504aa6f1b3 (bug 1454592)
2018-04-20 15:27:12 +03:00
Jan de Mooij ff6fca9c9e Bug 1454592 part 2 - Use constexpr for protoTable static array. r=jonco 2018-04-20 13:07:14 +02:00
Jan de Mooij 01dc4afaad Bug 1454592 part 1 - Make some constructors constexpr. r=jonco 2018-04-20 13:04:07 +02:00
Jon Coppeard 8c8071aed3 Bug 1443468 - Suppress gray marking assertion during maniupulation of internal GC state r=sfink 2018-04-20 10:09:52 +02:00
Bob Clary b3d634a013 Bug 1440714 - handle su-rooted devices, r=gbrown, jonco 2018-04-20 00:29:28 -07:00
Kris Maglione 219ed0cc06 Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian
The old name no longer makes sense, since it no longer exports an spawn_task
symbol, and add_task is what we really care about.

MozReview-Commit-ID: IE7B8Czv8DH

--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
extra : rebase_source : 03bca5aa69a7625a49b4455a6c96ce4c59de3a5a
2018-04-18 11:43:45 -07:00
Tom Schuster b5af919e04 Bug 1453932 - Optimize loads from CallSiteObjects for tagged template literals. r=jandem
--HG--
extra : rebase_source : 80dc353fc7bca35946d10d0a497e46cf273eab1b
2018-04-13 13:56:55 +02:00
Margareta Eliza Balazs 31213abbb3 Backed out changeset 0ab0d909476f (bug 859782) for bustage in builds/worker/workspace/build/src/js/src/util/NativeStack.cpp on a CLOSED TREE 2018-04-19 14:26:20 +03:00
Jan de Mooij cefd4cb6c2 Bug 1452602 - Mark some shell functions as fuzzing-safe. r=jonco 2018-04-19 13:14:18 +02:00
Jan de Mooij 4f87b13b19 Bug 1452982 part 15 - Rename some constants. r=jonco 2018-04-19 13:06:12 +02:00
Jan de Mooij 26031d2003 Bug 1452982 part 14 - Rename 'active thread' to 'main thread'. r=jonco 2018-04-19 13:04:46 +02:00
Jan de Mooij e43e8a5da5 Bug 1064316 - Rewrite check_macroassembler_style.py to use os.walk instead of looking at the repo data. r=nbp 2018-04-19 13:02:00 +02:00
André Bargull 120f792ef5 Bug 1453922: Add fast path for non-negative int32 values to ToIndex. r=jandem
--HG--
extra : rebase_source : a002e27c6499c08c4b8d29c634669a74b874a15c
2018-04-19 10:46:49 +02:00
Richard Pospesel ec82bdd903 Bug 859782 - Firefox cannot start without /proc (chroot) r=sphink
--HG--
extra : rebase_source : 67a45d6f59f39fcb84bf84af7404718d6d181e5d
2018-04-18 13:41:00 +03:00
Jon Coppeard 831758818a Bug 1454940 - Update assertions in JS_TransplantObject to allow the original object to be gray r=sfink 2018-04-19 10:36:29 +02:00
Steve Fink c0c6ab8dfc Bug 1455071 tier 2 bustage followup - s/WriteBytes/AppendBytes/ 2018-04-19 00:37:58 -07:00
Steve Fink c92957a424 Bug 1455071 - Use delegation rather than inheritance for the BufferList in JSStructuredCloneData, r=jorendorff,r=baku
--HG--
extra : rebase_source : 1620d0a2d99d9aeddd7d06b4f29251907311ef86
extra : histedit_source : 59145661383b920085164eff3586a78da41c420b
2018-03-15 16:56:09 -07:00
Steve Fink 185250e668 Bug 1455071 - Remove unused JSAutoStructuredCloneBuffer::copy, r=jorendorff
--HG--
extra : rebase_source : 59dd8139542fa3761fc2b343cfc88d2a3036059e
2018-03-15 20:09:09 -07:00
Steve Fink bbfc47ea95 Bug 1455071 - Comment the purpose of JSAutoStructuredCloneBuffer, r=jorendorff
--HG--
extra : rebase_source : ce0d972b8b67bde5932606e5ae1bba8eade7b005
2018-03-15 20:08:58 -07:00
Steve Fink b30ce6e292 Bug 1455071 - Remove unused alternate callback option to JSAutoStructuredCloneBuffer::clear, r=jorendorff
--HG--
extra : rebase_source : 274cdaca9fc7f59c16a3e2ef1f979695eea30a3b
2018-03-15 17:11:31 -07:00
Steve Fink d1d9f3cca9 Bug 1455071 - Bulk up SCOutput by changing it from storing a bare BufferList to a full JSStructuredCloneData, r=jorendorff
Then move JSStructuredCloneWriter's callbacks, callback data, and refsHeld into its SCOutput's JSStructuredCloneData. This removes the loose fields from JSStructuredCloneWriter and allows using move construction to remove a bunch of code.

--HG--
extra : rebase_source : 37cb0d4a15ffd0155bb7a55cd0fbefc358e649a8
2018-03-15 14:04:24 -07:00
Steve Fink f7f5c66182 Bug 1455071 - Allow synthetic clone buffers to contain transferables, r=jorendorff
--HG--
extra : rebase_source : b4089245c693623c1ab621817dcdc0803be6e321
2018-04-16 12:44:35 -07:00
André Bargull 0678b75f37 Bug 1453921: Use MTruncateToInt32 when inlining String.fromCharCode. r=jandem 2018-04-13 03:40:51 -07:00
Dragan Mladjenovic d5f23151eb Bug 1454987 - [MIPS32] Enable cmpPtrSet overload that takes ImmWord. r=bbouvier 2018-04-18 15:45:52 -04:00
Robin Templeton 5123fd9bc9 Bug 1454512 - Fix JS::Value's is_symbol predicate. r=sfink 2018-04-18 15:44:43 -04:00
Steve Fink ee8a623de2 Bug 1439712 - CTypes string error checking, r=jonco
--HG--
extra : rebase_source : 315f2fd15b81de6f8e3cee45f45f3181ee62c318
2018-04-17 17:06:10 -07:00
Steve Fink f0af1b691a Bug 1439712 - Improve JSString::ensureLinear error reporting, r=jonco
--HG--
extra : rebase_source : e3492dba79fc02531bab56727249d53bce116b7a
2018-02-20 12:41:04 -08:00
Andreea Pavel 465753992f Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-04-18 20:13:24 +03:00
Dorel Luca 59a9a86553 Merge mozilla-inbound to mozilla-central a=merge 2018-04-18 19:57:11 +03:00
André Bargull b103e014b3 Bug 1453809: Call ToUint16 in ToUint16Slow. r=Waldo 2018-04-12 14:56:03 -07:00
Jan de Mooij 7f76c6ae50 Bug 1454398 - Disable asserts responsible for intermittent failures. r=me 2018-04-18 10:40:24 +02:00
Jon Coppeard 423a38223b Bug 1442947 - Compact the heap on shrinking GC when animating if the user is idle r=sfink 2018-04-18 10:19:36 +02:00
Jan de Mooij 98422b2e61 Bug 1064316 - Rewrite check_spidermonkey_style.py to use os.walk instead of looking at the repo data. r=njn 2018-04-18 09:42:24 +02:00
Nika Layzell e5f31c03d8 Bug 1444991 - Part 4: Handle DOM Objects in XPConnect, r=mccr8
This patch goes through the XPConnect conversion methods, and adds cases for
T_DOMOBJECT which call the Wrap, Unwrap, and Cleanup methods from the
nsXPTDOMObjectInfo objects created in the last part.

For consistency with normal interface pointers, and because it wasn't too
complex, I also added support for including T_DOMOBJECTs in XPCOM arrays.
2018-04-17 19:21:03 -04:00
Nika Layzell 14da321a67 Bug 1444745 - Part 5: Update consumers of nsIInterfaceInfo to use the nsXPTInterfaceInfo directly, r=mccr8
Due to the decision to keep the old API on nsXPTInterfaceInfo in part 4, this is
a fairly straightforward patch.

1. I had to change a couple of consumers of `IsRetval()` due to the movement of
that flag.
2. I changed all code which held a nsIInterfaceInfo to hold an `const
nsXPTInterfaceInfo*` instead.
3. I changed code which used the nsIInterfaceInfoManager to instead call the
static methods on nsXPTInterfaceInfo.
2018-04-17 19:20:56 -04:00
Nika Layzell f5f86c989e Bug 1444745 - Part 1: Clear out xptinfo and typelib to make way for the this patch, r=mccr8
Unfortunately, I wasn't able to figure out a way to make firefox build & run in
the intermediate stages of these commits. Because of this, I am going to just
delete most of the code which I am deleting in the first patch, as I figure that
those are somewhat uninteresting changes, and then make the other changes in the
following patches.

In total, the following things are deleted:
1. All of xpcom/typelib, except for `xpt/tools` - this directory is being
subsumed entirely into xpcom/reflect/xptinfo.
2. Most of the code in xpcom/reflect/xptinfo, it is being rewritten to avoid
allocating and contain all of the necessary data structures.
3. idl-parser's typelib.py XPT generator, as it will be replaced.
4. Most includes of files which have been deleted.

NOTE: xpcom/typelib/xpt/tools/xpt.py was not removed, as it is used by bundling
code & bundling tests, which we don't want to remove yet.
2018-04-17 19:20:50 -04:00
Steve Fink 0405ef5fa2 Bug 1446693 - Include discardJitCode in AutoTraceSession for minor GC, r=jonco
--HG--
extra : rebase_source : 71f00e818ff1531329f23137b71aca4999d6bb35
2018-04-05 15:46:59 -07:00
Robin Templeton e8ba10f7c9 Bug 1437995 - "test262 feature check for BigInt" r=jorendorff
--HG--
extra : rebase_source : d679333cd3b5d37812eb9fa498113d27dcfb6616
2018-04-16 10:58:00 +03:00
David Teller 00d8ff0043 Bug 1439855 - Make BinSource work with multipart tokenizer;r=arai,efaust
Note that BinSource-auto.{h, cpp} and BinToken.h are auto-generated from BinSource.{yaml, webidl}.

This patch contains the following changes:
- updates to the webidl specifications;
- adapt BinSource.* to the new tokenizer API;
- split BinASTParser across BinASTParserBase and BinASTParser<Tok>.

The effect is that we may now use the BinASTParser with both the (updated) tester tokenizer
and the (new) multipart tokenizer.

MozReview-Commit-ID: HCF2m3qDTFH

--HG--
extra : rebase_source : 6a59b102182e50a782ca56f2df57d3053c608668
2018-04-05 14:31:40 +02:00
David Teller 8cebf95a05 Bug 1439855 - Extend JS shell parse command to allow forcing full parsing;r=arai
This is useful mostly for benchmarking.

MozReview-Commit-ID: ZzWA6fxCGN

--HG--
extra : rebase_source : a50be777140f36bcc2741640bc9951bae4419dcd
2018-04-05 14:31:39 +02:00
David Teller 3b3526a01c Bug 1439855 - Extend JS shell binParse with ability to pick a tokenizer;r=arai
MozReview-Commit-ID: 9EQY36O9wQo

--HG--
extra : rebase_source : d7ffed8e4cb1488eddd53b81ba98fb9668d9034a
2018-04-05 14:31:39 +02:00
David Teller fbabebc2ae Bug 1439855 - Bunch of macros shared among BinAST files;r=arai
MozReview-Commit-ID: 6q27OFhLlc6

--HG--
extra : rebase_source : e1b4d2c4649a8036f34a0be448004b83db127815
2018-04-05 14:31:39 +02:00