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

65128 Коммитов

Автор SHA1 Сообщение Дата
Jan de Mooij e715d06b6f Bug 1458456 part 1 - Don't call JSFunction::needsSomeEnvironmentObject off-thread. r=jonco 2018-05-03 16:18:03 +02:00
Jan de Mooij 37e612ccea Bug 1458198 - Assert the frontend reported an exception if it fails to compile a script. r=jorendorff 2018-05-03 16:17:09 +02:00
Jan de Mooij 441f19d63f Bug 1458567 part 1 - Don't invoke interrupt callback and Debugger onStep hook for internal JS engine interrupts. r=luke 2018-05-03 16:01:01 +02:00
Benjamin Bouvier de0dc7d191 Bug 1455610: Prevent nop fills from happening in jump tables; r=lth
--HG--
extra : rebase_source : 7597099d50710e0b095a06e064a76404f88e4ecc
extra : amend_source : 0b97b9f26872b921410a91d229c5ea6d3e76ac58
2018-04-24 16:16:34 +02:00
Gurzau Raul 295c747edd Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-03 00:08:38 +03:00
Gurzau Raul 30662c7545 Merge inbound to mozilla-central. a=merge 2018-05-03 00:04:54 +03:00
Steve Fink d909fe8abb Bug 1458320 - Ignore Indexed DB stored scopes, as they can now be multiple incorrect values and we no longer need them for anything, r=jorendorff
--HG--
extra : rebase_source : 90629ac36d4229e7962ea46cec89c9e13ef4d350
2018-05-02 11:07:35 -07:00
André Bargull efedb00226 Bug 1140152 - Copy elements' underlying bit patterns in TypedArray.prototype.slice. r=till 2018-05-02 09:52:05 -07:00
David Teller eeaf4dfd56 Bug 1456416 - Make EagerGetter/EagerSetter create their scope earlier;r=arai
MozReview-Commit-ID: 2RlO4wUp5F2

--HG--
extra : rebase_source : dbe3b6653f5504988edf5a11dfb4513b84ed6993
2018-04-24 13:16:51 +02:00
David Teller 8e10afc576 Bug 1456416 - Unit tests for multipart parser;r=arai
MozReview-Commit-ID: 23guOSCBqFh

--HG--
extra : rebase_source : 1c4c88a186ad7e24a89f39d1e943f12783a59fd8
2018-04-24 11:23:18 +02:00
Cosmin Sabou ce9ff94ffe Merge inbound to mozilla-central. a=merge 2018-05-02 17:58:43 +03:00
Cosmin Sabou 435ba6ef00 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : devtools/client/responsive.html/components/NetworkThrottlingSelector.js => devtools/client/shared/components/throttling/NetworkThrottlingSelector.js
rename : devtools/client/responsive.html/actions/network-throttling.js => devtools/client/shared/components/throttling/actions.js
rename : devtools/client/shared/network-throttling-profiles.js => devtools/client/shared/components/throttling/profiles.js
rename : devtools/client/responsive.html/reducers/network-throttling.js => devtools/client/shared/components/throttling/reducer.js
2018-05-02 12:27:59 +03:00
Jan de Mooij c3e7abdb2c Bug 1458008 - Shuffle Shape flags around to avoid races with off-thread compilation. r=jonco 2018-05-01 13:44:21 +02:00
Mark Banner a232a99e8c Bug 1458215 - Handle the optional service name in XPCOMUtils.defineLazyServiceGetters. r=kmag
MozReview-Commit-ID: 1Dp6lhQRbNU

--HG--
extra : rebase_source : d892b8b93b9f917c81c107fc29b446761f4617c6
2018-05-01 13:51:53 +01:00
Eric Faust 7b46edd90a Bug 1454728 - [BinAST] Create recursive bindings for function expressions. (r=Yoric, r=arai)
--HG--
extra : rebase_source : 0ddd2aa262bc18cf69e231182b4767d0756695e3
extra : histedit_source : 7a6d8a49a87f82895d20db61fb3fc9f1d6caae02
2018-04-30 22:23:03 -07:00
Eric Faust 9cceb6f15a Bug 1454744 - Part 2: Add bindings for formal parameter names. (r=Yoric)
--HG--
extra : rebase_source : 7fe6705ad04260ed4178c09fa033df107b233a98
extra : histedit_source : dfd3134c22686707c5712cfd3a9fc8cefbfc41dc
2018-04-30 20:46:14 -07:00
Eric Faust fbfd0693f0 Bug 1454744 - Part 1: Allow BinSource generator to place code after parsing interface sum branches. (r=Yoric)
--HG--
extra : rebase_source : 90992d4c17cabf476cc225e2e580c9c39138c5a7
extra : histedit_source : 59f5d8591b46c5aa9822fdccd18c6767859e694a
2018-04-30 20:45:34 -07:00
Eric Faust 8f2ba0b0a9 Bug 1456768 - [BinAST] Properly set pn->op for non-spread new expressions. (r=Yoric)
--HG--
extra : rebase_source : 0a5ad5e7a71f916e156ef8f59b90197f776073de
extra : histedit_source : 9692329ccd8ed6af687601258a79319a09c0dab1
2018-04-30 20:44:53 -07:00
Tooru Fujisawa 06b6dc2a7d Bug 1457365 - Do not add source note for useless expression. r=jorendorff 2018-05-01 11:05:39 +09:00
Steve Fink bc4f45a9ba Bug 1456604 - Add DifferentProcessForIndexedDB scope to handle backwards compatibility with SameProcessSameThread clones, r=jorendorff
--HG--
extra : topic : clone.refactor
extra : rebase_source : 7920e35fb4b2370ce6a06cd27579824faabe7bd9
2018-04-24 15:21:47 -07:00
Steve Fink c9d4e5e153 Bug 1456858 - structured clone comment fixups, r=jorendorff
--HG--
extra : topic : clone.refactor
extra : rebase_source : f56d3789d0f8fa3f7a903f6d5ea079ac75492cd6
2018-04-25 12:15:51 -07:00
Eric Faust b574c1c1d5 Bug 1409815 - Part 2: Allow running BinAST files from shell CLI. (r=Waldo)
--HG--
extra : rebase_source : 471ce50d53441271748d3d2d95a15fcaed0a94d2
2018-04-30 17:04:04 -07:00
Eric Faust 3ea8e15b4f Bug 1409815 - Part 1: Implement CompileGlobalBinASTScript. (r=Waldo, r=Yoric, r=jorendorff)
--HG--
extra : rebase_source : fa7ebfc608c5270a6228314552aee2c23903ffa4
2018-04-30 17:04:04 -07:00
Benjamin Bouvier 3835ebc631 Bug 1455603: Disable the Debugger.findScripts API when wasm GC is active; r=jonco
--HG--
extra : rebase_source : aad6017f91bc1fb22f5275adac665a1a53c875f7
extra : histedit_source : 17919a47ea07c5fefd6025283671fa1f1ace793b
2018-05-02 16:10:41 +02:00
Benjamin Bouvier cb9fc33f65 Bug 1458217: Abort early in verifyprebarriers if wasm gc is enabled; r=jonco
--HG--
extra : rebase_source : 9add9512af4ba326312cc0143e6644de749b5533
extra : histedit_source : a1ad407c80626f1beeec48a6be0af9567290e79a
2018-05-02 15:35:24 +02:00
Cosmin Sabou f4a638c275 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
extra : rebase_source : 1f639132d6665996654d500be2620b147026bd7b
2018-05-02 18:09:14 +03:00
Jan de Mooij a63546ab9c Bug 1458173 - Fix some issues reported by TSan. r=jonco 2018-05-02 15:50:11 +02:00
Jon Coppeard a0347d960a Bug 1456508 - Fix conflict between gray buffer canary value and incremental marking validation r=sfink 2018-04-30 10:23:39 +01:00
Jon Coppeard 015f531f81 Bug 1457193 - Always initialise Arena header fields to fix assertion failures under valgrind r=sfink 2018-04-30 10:22:40 +01:00
Jan de Mooij d773a62755 Bug 1457475 - Demote MOZ_DIAGNOSTIC_ASSERT to MOZ_ASSERT. r=jonco 2018-04-30 10:47:06 +02:00
Jan de Mooij a4e045b42b Bug 1408412 - Add testcase. r=me
--HG--
extra : rebase_source : 420a5cd8d69a92d6ed615de25833815ff31e2ca9
2018-04-26 10:27:54 +02:00
Jan de Mooij f47a30f24a Bug 1457125 - Use interpreter fast path for calls also for calls to non-constructors. r=tcampbell
--HG--
extra : rebase_source : f95f139b11ca28fccadeaf344deb4036841e9b4b
2018-04-28 10:19:53 +02:00
Kris Maglione a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Kris Maglione 1b96577a60 Backed out changeset 2add2de30c22 (bug 1456035)
MozReview-Commit-ID: 15Whk6URI2O

--HG--
extra : rebase_source : 64dcf99e004789dc5ec07f56c6d952593416f060
2018-04-27 13:44:36 -07:00
Eric Faust debd8e1c93 Bug 1451826 - Part 10: Convert BCE to using BCEParserHandle. (r=Waldo)
--HG--
extra : rebase_source : 557be5823a93b71919d149cd5de0341087315c2f
2018-04-27 15:02:31 -07:00
Eric Faust b039e1d400 Bug 1451826 - Part 9: Introduce BCEParserHandle. (r=Waldo)
--HG--
extra : rebase_source : 4eec5e1f33f7b7de6f3fc636630887ea79798621
2018-04-27 15:02:31 -07:00
Eric Faust 3546c182cd Bug 1451826: Part 8: Make EitherParser always a include a FullParseHandler. (r=Waldo)
--HG--
extra : rebase_source : a5039f20bdf86f3fa2f68b4cd7abf67bbf47fb98
2018-04-27 15:02:31 -07:00
Eric Faust 94944b93dc Bug 1451826 - Part 7: Add the last error reporting bits to ErrorReporter from EitherParser. (r=Waldo, r=Yoric)
--HG--
extra : rebase_source : 847a5dc24f1d6e69cceda8333b1e5a5c61a64a79
2018-04-27 15:02:31 -07:00
Eric Faust 6fcb0b34f0 Bug 1451826 - Part 6: Factor SourceCoords references in BCE to ErrorReporter. (r=Waldo, r=Yoric)
--HG--
extra : rebase_source : 042f4466ab30791cdac9e87c99b6fa1b1b3e8a00
2018-04-27 15:02:31 -07:00
Eric Faust a9758601f3 Bug 1451826 - Part 5: Move displayURL and sourceMap intialization from BCE to Parser. (r=Waldo)
--HG--
extra : rebase_source : c8c195717f1348d8cf161eb764d3707a19c9c29e
2018-04-27 15:02:31 -07:00
Eric Faust 0dad1c2a62 Bug 1451826 - Part 4: Make TokenStreamSpecific and ErrorReporter, rather than TokenStreamAnyChars. (r=Waldo)
--HG--
extra : rebase_source : 5774a7447a06444a531ab73594094ba246eec844
2018-04-27 15:02:31 -07:00
Eric Faust 33440f7120 Bug 1451826 - Part 3: No longer call TokenStream::computeErrorMetadata from BCE. (r=Waldo)
--HG--
extra : rebase_source : add08a18eac6cfe9f24f36ee5717af1f854d5cac
2018-04-27 15:02:31 -07:00
Eric Faust 5be9eaaba4 Bug 1451826 - Part 2: Don't call parser.reportError from the BCE, as it uses the current token offset. (r=Waldo)
--HG--
extra : rebase_source : c92893fc5798f23bbbcc569ee4dc2413415298a8
2018-04-27 15:02:31 -07:00
Eric Faust 4afb1cb7b8 Bug 1451826 - Part 1: Don't print bogus error locations on BCE internal errors. (r=Waldo)
--HG--
extra : rebase_source : a5ea2330fd9e65a64c4fb31131eb9a4d041eaa48
2018-04-27 15:02:31 -07:00
Gary Kwong 3b89734743 Bug 1457326 - Add coverage status to getBuildConfiguration, r=sfink
--HG--
extra : rebase_source : 960fa3a4e1b2c8487947b6cdf81342ce594c8097
2018-04-26 16:51:00 +03:00
Boris Zbarsky bca2f3a6b6 Bug 1455674 part 18. Add Element to importGlobalProperties. r=qdot 2018-04-26 23:37:34 -04:00
Jan de Mooij 5a386c6f89 Bug 912079 part 4 - Optimize SuppressDeletedPropertyHelper when the property matches the iterator's previous one. r=anba
--HG--
extra : rebase_source : 7c860b0162c165f536e5b316204ea76eebaff59d
2018-04-26 18:41:30 +02:00
Jan de Mooij 4118107c85 Bug 912079 part 3 - Don't call EqualStrings if both strings are atoms. r=anba
--HG--
extra : rebase_source : 1698f18e157cd62f498ad8aac00307f29eacca9b
2018-04-26 18:39:33 +02:00
Jan de Mooij fdac14a0d3 Bug 912079 part 2 - Clean up SuppressDeletedPropertyHelper. r=anba
--HG--
extra : rebase_source : 81a6ac68382bfc99d3703240559158ab37ae7fdd
2018-04-26 18:38:21 +02:00
Jan de Mooij 7303fc7dcb Bug 912079 part 1 - Remove SuppressDeletedPropertyHelper predicate argument. r=anba
--HG--
extra : rebase_source : e68425a073a5fd6549e8fbf00c6268ae18c0d2a3
2018-04-26 18:36:55 +02:00
Matthew Gaudet 0ee0280500 Bug 1437842: [Part 13] Convert IsSharedArrayBuffer to GuardToSharedArrayBuffer r=jandem
--HG--
extra : rebase_source : d39b4d0d5418bd7405aea33ebb84686312782be2
2018-04-24 14:02:27 -04:00
Matthew Gaudet 61a09bbd8d Bug 1437842: [Part 12] Convert IsArrayBuffer to GuardToArrayBuffer r=jandem
--HG--
extra : rebase_source : 7437c4a5b4bcb5362ed71980c9d303538cc23eca
2018-04-24 13:36:57 -04:00
Matthew Gaudet 0011b048be Bug 1437842: [Part 11] Convert IsSetObject to GuardToSetObject r=jandem
--HG--
extra : rebase_source : 3b078bb9f939896ab60cac5584cc2748e68eeeac
2018-04-23 15:18:17 -04:00
Matthew Gaudet da9eb5d6e6 Bug 1437842: [Part 10] Convert IsMapObject to GuardToMapObject r=jandem
--HG--
extra : rebase_source : 480d2e129f20f3d7db6d1c7f5a02547516e97639
2018-04-23 15:01:15 -04:00
Matthew Gaudet b7fe2f988a Bug 1437842: [Part 9] Convert IsRelativeTimeFormat to GuardToRelativeTimeFormat r=jandem
--HG--
extra : rebase_source : dd13a8ab7f667afcce804595e9dc932c70a253d6
2018-04-23 14:51:54 -04:00
Matthew Gaudet c03138e2b9 Bug 1437842: [Part 8] Convert IsPluralRules to GuardToPluralRules r=jandem
--HG--
extra : rebase_source : cb30888b7f88de6b8fcdd186b4709fcfb997347a
2018-04-23 14:28:51 -04:00
Matthew Gaudet dd72ac6908 Bug 1437842: [Part 7] Convert IsDateTimeFormat to GuardToDateTimeFormat r=jandem
--HG--
extra : rebase_source : 2a3c9cf91a86ba39c7b097b0866aecd0d6ae257e
2018-04-23 11:12:38 -04:00
Matthew Gaudet 44f008c154 Bug 1437842: [Part 6] Convert IsNumberFormat to GuardToNumberFormat r=jandem
--HG--
extra : rebase_source : 455f7ed6df3ea231d8d5b859c08111a302fb7865
2018-04-23 11:07:04 -04:00
Matthew Gaudet c547a2578f Bug 1437842: [Part 5] Convert IsCollator to GuardToCollator r=jandem
--HG--
extra : rebase_source : 61a5a61629ef6d220566599034fa2077f9324e02
2018-04-23 10:51:06 -04:00
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
David Teller 7c2dd88aa6 Bug 1439855 - Fast lookup for BinAST string constants, shared among parsers;r=arai
BinAST parsers need to perform frequent lookup for string values, e.g. once for each `let`, `var`, `const`,
 `+`, `-`, `instanceof` (string enums), as well as a number of startup lookups for string values such as
"LiteralNullExpression", etc. (ast table)

This patch introduces zero-copy lookup tables for both of these. These tables are shared among instances of parsers in a JSRuntime.

MozReview-Commit-ID: 75BasAxLoha

--HG--
extra : rebase_source : 3a06aca851d38b500f026d8726be66e4a5dedc37
2018-04-05 14:31:39 +02:00
David Teller a67fca5027 Bug 1439855 - Splitting the BinTokenReaderTester in two;r=arai
As a preliminary step for introducing the BinTokenReaderMultipart, we start by splitting the BinTokenReaderTester in two.

Also, we change a bit the API of the BinTokenReaderTester to uniformize with the BinTokenReaderMultipart.

MozReview-Commit-ID: 4SlHaqEAZMk

--HG--
extra : rebase_source : 1b2b0ada2cb8ea9c26715cd56b2340517403ede2
2018-04-05 14:31:39 +02:00
David Teller d86bf9df5f Bug 1439855 - Extending BinAST parser generator with support for multipart tokenizer;r=jorendorff
Changes:

- instead of parsing string enums by string matching, we go through a new `enum class` `BinVariant`, whose handling is part of the tokenizer;
- we now generate this `enum class`.

MozReview-Commit-ID: FnzG772RZam

--HG--
extra : rebase_source : d61e4855f904259e66ff2dbd765ebbb1ee597d7d
2018-04-05 14:31:39 +02:00
David Teller 0282c0ad9e Bug 1439855 - Introduce BinAST multipart tokenizer;r=arai
This introduces a new tokenizer for the BinAST parser: the multipart tokenizer.

The format used by the multipart tokenizer is described here: https://binast.github.io/binjs-ref/binjs_io/multipart/index.html

While the details of the format may still change, this is the tokenizer we intend to ship.

We only implement the `identity; ` compression scheme. For the moment, there are no plans to implement other compression schemes.

MozReview-Commit-ID: 8WUa3QX5GWt

--HG--
extra : rebase_source : 984f98c488048144ed38f9644682f947b776a686
2018-04-05 14:31:40 +02:00
David Teller 4411aac81a Bug 1439855 - Tests for BinAST multipart tokenizer (data);r=arai
MozReview-Commit-ID: KlzxtGmCYVD

--HG--
extra : rebase_source : 4376f3a2f32ab937df71d0b3cb1866476cff25aa
2018-04-05 12:16:30 +02:00
David Teller 6f4887aa4f Bug 1439855 - Tests for multipart tokenizer;r=arai
MozReview-Commit-ID: 7V2BWAcpA1D

--HG--
extra : rebase_source : c8d8020e950ffaa826583c24ebc342085a9af280
2018-04-12 15:13:22 +02:00
Benjamin Bouvier a3f49c13ba Bug 1454923: Add debugging support for anyref return values in wasm; r=lth
--HG--
extra : rebase_source : 7da83800e74d72ad1f0ef312f50a4b2649a52c65
extra : amend_source : 0eae3689ff025bb43184e662f27aac7fefddeaa7
2018-04-18 14:34:20 +02:00
Paul Bone 76fe94ac99 Bug 1451088 - Add constexpr constructors to the TypePolicy classes r=waldo
--HG--
extra : rebase_source : 54e36bbb3d141e69b21d18f55bc29729920786a2
2018-04-17 15:20:13 +02:00
Jon Coppeard 4d5f870a31 Bug 1447284 - Fix comments on AutoSuppressGC class r=pbone 2018-04-17 15:32:03 +02:00
Jon Coppeard c0057b5970 Bug 1429727 - Rename js::ThreadLocalData to prevent confusion with mozilla::ThreadLocal r=lth 2018-04-17 15:32:02 +02:00
Jon Coppeard a59feb05d5 Bug 1450847 - Fix view parameter class check in ReadableStreamBYOBRequest::constructor r=till 2018-04-17 15:32:02 +02:00
Tooru Fujisawa c32731f51e Bug 1342070 - Part 3: Disable optimization if devtools or profiler is used. r=till 2018-04-17 14:59:57 +02:00
Till Schneidereit eca9b59fff Bug 1342070 - Part 2: Only create result Promises in Promise#catch if it's used or the creation is otherwise observable. r=anba
Includes porting catch to C++ to make this feasible.
2017-08-02 09:43:45 +02:00
Till Schneidereit 19ca539de6 Bug 1342070 - Part 1: Only create result Promises in Promise#then if it's used or the creation is otherwise observable. r=anba
"Otherwise observable" here means either the receiver's "constructor" property is changed, or the constructor's @@species property.
2017-08-01 16:37:37 +02:00
Tooru Fujisawa e2417d4b9f Bug 1342070 - Part 0: Add API to tell Profile Timeline Recording state to JS engine. r=till,tromey 2018-04-17 14:59:56 +02:00
Luke Wagner 30aa443de2 Bug 1425076 - Baldr: warn on invalid name section (r=bbouvier)
--HG--
extra : rebase_source : 8964b89df401772af7bfb5f02bc05deaebe899fa
2018-04-04 17:44:11 -05:00
Luke Wagner b095f7fbe8 Bug 1425076 - Baldr: rename WasmBinaryIterator to OpIter (r=bbouvier)
--HG--
rename : js/src/wasm/WasmBinaryIterator.cpp => js/src/wasm/WasmOpIter.cpp
rename : js/src/wasm/WasmBinaryIterator.h => js/src/wasm/WasmOpIter.h
extra : rebase_source : fb6a4154e39993035c4c04661cc1f5657486d33e
2018-04-04 13:52:23 -05:00
Jan de Mooij 43efd96cbe Bug 1452982 part 13 - Misc cleanup related to cooperative scheduling. r=jonco 2018-04-17 13:30:19 +02:00
Jason Orendorff 03b1aaefed No bug - Fix typo in binsource. r=Yoric IRL. 2018-04-17 12:51:41 +02:00
Tooru Fujisawa a8a5497cc1 Bug 1453884 - Rename LazyScript.{begin,end} to LazyScript.{sourceStart,sourceEnd}. r=Yoric 2018-04-17 12:37:10 +02:00
Brindusan Cristian 8bcf097e09 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-17 13:10:25 +03:00
Brindusan Cristian 667fae7dc8 Merge inbound to mozilla-central. a=merge 2018-04-17 12:53:33 +03:00
Jan de Mooij 3635c4e66f Bug 1452982 part 12 - Clean up ContextKind and CheckThreadLocal. r=jonco 2018-04-17 10:48:10 +02:00
Jan de Mooij 050bda2db5 Bug 1452982 part 11 - Rename ActiveThread to MainThread. r=jonco 2018-04-17 10:47:33 +02:00
Benjamin Bouvier fd7a2a8cc5 Bug 1454161: Make --wasm-gc a no-op in non-Nightly builds; r=lth
MozReview-Commit-ID: AynuyMIj9Rz

--HG--
extra : rebase_source : 8f6992520635ad558095ad01fca72d5f6ff39413
extra : amend_source : ff1dba5e050dd9f453a81bab40a9eea2d14b5497
2018-04-16 10:13:57 +02:00
Jon Coppeard 275c025454 Bug 1453028 - Add new zeal modes to test the different parts of incremental sweeping r=sfink 2018-04-17 08:44:56 +02:00
Jon Coppeard 9c2e6f6917 Bug 1453028 - Add a new sweep action to yield in a specified zeal mode r=sfink 2018-04-17 08:44:56 +02:00
Jon Coppeard f69380bdd2 Bug 1453028 - Rename GC zeal modes that run in two slices and refactor r=sfink 2018-04-17 08:44:56 +02:00
Jon Coppeard 5bae58b082 Bug 1453028 - Refactor the way we parse zeal mode strings r=sfink 2018-04-17 08:44:55 +02:00
Zhang Junzhi 296650a6ea Bug 1454207 - Part 3: Introduces a new function |ValueToPrintableUtf8| so that we report ReferenceError with readable Unicode characters instead of unreadable Unicode escape sequences r=arai
MozReview-Commit-ID: HtAVxVg54IL

--HG--
extra : rebase_source : 2079f41bbd3723aa633bac58c1661444f5862985
2018-04-15 13:18:03 +08:00
Zhang Junzhi fc7e9397b8 Bug 1454207 - Part 2: Renames |ValueToPrintable| to |ValueToPrintableLatin1|, in preparation for introducing a new function |ValueToPrintableUtf8| r=arai
MozReview-Commit-ID: CXTbJnKZMiH

--HG--
extra : rebase_source : c06b05ef4d1580b74f9c94fd026dbbff24f5cf48
2018-04-15 13:09:22 +08:00
Zhang Junzhi 0b6a4b0186 Bug 1454207 - Part 1: Changes js::ReportIsNotDefined from a value-returning function to a Non-value-returning function r=arai
MozReview-Commit-ID: Gzb6k0PchNw

--HG--
extra : rebase_source : cce435ad993e4efc58e7dc23dc09c343903e8169
2018-04-15 12:49:23 +08:00
Jon Coppeard ef9aefe363 Bug 1454009 - Cut down BinAST log output during jsapi tests r=yoric 2018-04-16 17:52:02 +02:00
Dragan Mladjenovic 9e445c5546 Bug 1453628 - [MIPS64] Cleanup JIT <-> C++ 32-bit argument passing for simulator build. r=bbouvier 2018-04-16 09:03:40 -04:00
Jan de Mooij 8d311e9b33 Bug 1447989 - Add some asserts to TI code. r=tcampbell 2018-04-16 13:26:32 +02:00
Jan de Mooij 869fec072d Bug 1452982 part 10 - Rename *ActiveCooperatingThread to *MainThread. r=jonco 2018-04-15 13:18:46 +02:00
Jeff Walden 7fe1365632 Bug 1453456 - Replace JS7_ISDEC with mozilla::IsAsciiDigit. r=froydnj
--HG--
extra : rebase_source : 36cfe2674037e680511d5fa6f557d58936025244
2018-04-13 13:01:10 -07:00
Jeff Walden 821db93ccc Bug 1453456 - Replace nsCRT::IsAscii{Alpha,Digit} with mfbt/TextUtils.h versions. r=froydnj
--HG--
extra : rebase_source : b31986c0e6828be79442cfb0cf369eb80c232139
2018-04-12 20:19:30 -07:00
Jeff Walden 9ea9bcc2df Bug 1453456 - Add/use more ASCII alphanumeric testing/conversion functions from MFBT in SpiderMonkey code in various places. r=froydnj
--HG--
extra : rebase_source : b4e05102cce2ad5dabb973a3968f1112376da594
2018-04-10 11:42:54 -07:00
Jeff Walden 4e99ef3517 Bug 1447668. r=jorendorff
--HG--
rename : js/src/jsapi-tests/testToIntWidth.cpp => js/src/jsapi-tests/testToSignedOrUnsignedInteger.cpp
extra : rebase_source : 446b26c64f057a38853e9b4458b8f35b26b08a2c
2018-03-27 14:01:43 -07:00
Jeff Walden 2142dd16c8 |this->|-qualify some templated member functions to help some buggy compilers along. No bug, r=me
--HG--
extra : rebase_source : 657ffe6afa1a5a6afe70a2090602b661a22890d4
2018-04-13 14:30:23 -07:00
Noemi Erli 1b65998665 Merge inbound to mozilla-central. a=merge 2018-04-14 12:49:03 +03:00
Jan de Mooij 2dd36cfeae Bug 1452982 part 9 - Remove/rename remaining ZoneGroup references. r=jonco 2018-04-14 09:03:47 +02:00
Jan de Mooij b997830888 Bug 1452982 part 8 - Remove ZoneGroup.h/cpp files. r=jonco 2018-04-14 09:03:21 +02:00
Jan de Mooij e269859a98 Bug 1452982 part 7 - Rename ZoneGroupData to ZoneData. r=jonco 2018-04-14 09:02:57 +02:00
André Bargull 1617c8c2c1 Bug 1447442 - Part 16: Replace MOZ_BEGIN_EXTERN_C in C++ header jspubtd.h and remove unused includes and declarations. r=jorendorff
--HG--
extra : rebase_source : 8103f7b6a3a4fc813c9a7b2355223357d46e7d35
2018-04-13 02:26:02 -07:00
André Bargull de06cc981d Bug 1447442 - Part 15: Potpourri of changes to use more concrete types, move a declaration, avoid code duplication. r=jorendorff
--HG--
extra : rebase_source : 27fb9478d963e5fabc91318ddf590828313c8a88
2018-04-13 02:26:02 -07:00
André Bargull be673ae33c Bug 1447442 - Part 14: Remove unused parameters from GlobalObject::createBlankPrototypeInheriting and js::InitClass. r=jorendorff
--HG--
extra : rebase_source : 705baec4a8bbbe118e6524a9c21d477f6b61cb67
2018-04-13 02:26:02 -07:00
André Bargull 143814be68 Bug 1447442 - Part 13: Remove additional unused declarations. r=jorendorff
--HG--
extra : rebase_source : 0f35a31c784e50dfc8e4d29c55f1e13ecfeeb502
2018-04-13 02:26:02 -07:00
André Bargull 9737440348 Bug 1447442 - Part 12: Remove unused HAVE_HYPOT from old-configure and update comments in hypot function. r=jorendorff
--HG--
extra : rebase_source : 31b923635b7578a22adb15d5ebfc3a4ecf952284
2018-04-13 02:26:01 -07:00
André Bargull 42c6425a82 Bug 1447442 - Part 11: Use MOZ_IS_GCC to test for GCC. r=Waldo
--HG--
extra : rebase_source : 4073e81a1357660de86af54c2786c0187f1c8ae7
2018-04-13 02:26:01 -07:00
André Bargull afefc69f03 Bug 1447442 - Part 10: Remove ifdefs for unsupported compiler versions. r=jorendorff
--HG--
extra : rebase_source : dcafe84ca4b492ab3e91289d5d0a78a816feb343
2018-04-13 02:26:01 -07:00
André Bargull 942f79e6e4 Bug 1447442 - Part 9: Remove unused JSWhyMagic constants. r=jorendorff
--HG--
extra : rebase_source : 6686176dbf004249a44f357d3c33cc17545dcb2d
2018-04-13 02:26:01 -07:00
André Bargull 27dae8ee18 Bug 1447442 - Part 8: Use UniqueChars and UniqueTwoByteChars typedefs in a few places. r=jorendorff
--HG--
extra : rebase_source : f503fa38b104fd586c88ac6557fb72842e672333
2018-04-13 02:26:01 -07:00
André Bargull 3943196403 Bug 1447442 - Part 7: More clean-up for typed arrays and array buffer views. r=jorendorff
--HG--
extra : rebase_source : ff2f577bc1ecca45df3afed524cf3e0b92f9852a
2018-04-13 02:26:00 -07:00
André Bargull c58317ae7c Bug 1447442 - Part 6: Pass Handle<GlobalObject*> in ClassInitializerOp. r=jorendorff
--HG--
extra : rebase_source : 14883f96b9df11ae22cf427e104a8a2689b1e4bb
2018-04-13 02:26:00 -07:00
André Bargull 4adabc626b Bug 1447442 - Part 5: Use template versions of NewBuiltinClassInstance and NewObjectWithClassProto instead of manual casting. r=jorendorff
--HG--
extra : rebase_source : 55b7c0a30d7a33a29cf2acbcbbfc248aefa67d0c
2018-04-13 02:26:00 -07:00
André Bargull 1286bc0375 Bug 1447442 - Part 4: Move some definitions to where they are used. r=jorendorff
--HG--
extra : rebase_source : be0bfd4c7402b99d3ba248fc3541f65ca9fd88ff
2018-04-13 02:25:59 -07:00
André Bargull f2a242df05 Bug 1447442 - Part 3: Remove JSValueArray and ValueArray. r=jorendorff
--HG--
extra : rebase_source : c564d934f2e39d8282888e001fce4e8f0b83dba5
2018-04-13 02:25:59 -07:00
André Bargull b8ae21d64c Bug 1447442 - Part 2: Clean-up various calls to clarity. r=jorendorff
--HG--
extra : rebase_source : 33c828773d4efb76de7461beb7600f07c5d9d673
2018-04-13 02:25:58 -07:00
André Bargull 20a88ae9d0 Bug 1447442 - Part 1: Remove unused functions and definitions. r=jorendorff
--HG--
extra : rebase_source : 26b98365cf5f4db44a086869163f8ae10fbd5074
2018-04-13 02:25:58 -07:00
Andreea Pavel 64cb3f9968 Backed out 4 changesets (bug 1453456) for build bustages at js/src/jit-test/tests/ctypes/conversion-primitive.js on a CLOSED TREE
Backed out changeset 50cd4a60a402
Backed out changeset e0f8f325c2ce (bug 1453456)
Backed out changeset 6a84718ddfe1 (bug 1453456)
Backed out changeset fde6a66eb317 (bug 1453456)
2018-04-14 00:52:06 +03:00
Jeff Walden 17998bd2a9 |this->|-qualify some templated member functions to help some buggy compilers along. No bug, r=bustage in a CLOSED TREE 2018-04-13 14:30:23 -07:00
Andreea Pavel eb84122ef9 Backed out changeset a30cf37ddcab (bug 1447668) for build bustages at /builds/worker/workspace/build/src/js/src/ctypes/CTypes.cpp:2607 on a CLOSED TREE
--HG--
rename : js/src/jsapi-tests/testToSignedOrUnsignedInteger.cpp => js/src/jsapi-tests/testToIntWidth.cpp
2018-04-14 00:06:12 +03:00
Jeff Walden 08cf6c4ee3 Bug 1453456 - Replace JS7_ISDEC with mozilla::IsAsciiDigit. r=froydnj
--HG--
extra : rebase_source : 9b9de28a23029f5057ce5d0ee3be793d80bf75c0
2018-04-13 13:01:10 -07:00
Jeff Walden 4649a52921 Bug 1453456 - Add/use more ASCII alphanumeric testing/conversion functions from MFBT in SpiderMonkey code in various places. r=froydnj
--HG--
extra : rebase_source : 51bb50046866746ab1fac4dfd3167c7306a3e430
2018-04-10 11:42:54 -07:00
Jeff Walden 8788d6c791 Bug 1447668. r=jorendorff
--HG--
rename : js/src/jsapi-tests/testToIntWidth.cpp => js/src/jsapi-tests/testToSignedOrUnsignedInteger.cpp
extra : rebase_source : 7a6fbc39383cb5d4d6b3292a4ce18099fd515b01
2018-03-27 14:01:43 -07:00
Lars T Hansen dc01e18e01 Bug 1445277 - Suppress GC when wasm is active and running with wasm-gc support. r=bbouvier
We emulate the effect of AutoSuppressGC whenever we enter wasm code
via a stub.

This is obviously a gross hack and only allowable since it is
nightly-only and under a pref.  Strictly intended for rapid
prototyping; not intended to ship in this form.  Eventually we'll have
proper GC support for wasm frames.

--HG--
extra : rebase_source : 34f71e763a1801baa938212dd4ce0517d1ad57a4
2018-03-23 15:45:50 +01:00
Benjamin Bouvier 43a88914d0 Bug 1445272: Implement basic anyref support in the baseline compiler; r=lth
--HG--
extra : rebase_source : b445cf2adf366f32022892d21241b27b8404eb91
2018-04-11 19:03:04 +02:00
Benjamin Bouvier a45951f2cd Bug 1445272: Add (entry/exit) stubs support for anyref; r=luke
--HG--
extra : rebase_source : 1d4e3f43414a718d739efbe4907c1a1c85f261f8
2018-03-30 16:31:40 +02:00
Andreea Pavel 69ae5fe098 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-14 00:58:36 +03:00
Tom Bannister 988d18881f Bug 1434710 - Replaced all instances of mozilla::IndexSequence, mozilla::MakeIndexSequence and mozilla::IndexSequenceFor with std::index_sequence, std::make_index_sequence and std::index_sequence_for and removed mfbt/IndexSequence.h. r=botond
MozReview-Commit-ID: 1Ema7TUNr5v

--HG--
extra : rebase_source : e5bb164dbe19993214e8c16f92b0a1f5d2ff3fa1
2018-04-09 21:12:13 +10:00
Sebastian Hengst 043061beb5 merge mozilla-central to mozilla-inbound 2018-04-13 16:05:58 +03:00
Sebastian Hengst 0819f35e51 Backed out 4 changesets (bug 525063) on request from Andi. a=backout
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Emilio Cobos Álvarez b79062c130 Bug 1436179: Lazily grow the ProfileEntryStorage. r=mstange,jandem
MozReview-Commit-ID: BEGP1ykl4S
2018-04-13 14:59:59 +02:00
arthur.iakab b9f0fcc3d6 Merge mozilla inbound to mozilla-central a=merge 2018-04-13 12:43:21 +03:00
Jan de Mooij 0ea16094d3 Bug 1452982 part 6 - Remove ZoneGroup. r=jonco 2018-04-13 08:45:13 +02:00
Gurzau Raul f620cf509e Merge inbound to mozilla-central. a=merge 2018-04-13 02:08:51 +03:00
Jon Coppeard bc577e27fc Bug 1449220 - Use hash tables for looking up imports and exports when building module metadata r=jorendorff 2018-04-13 11:03:39 +01:00
Sebastian Hengst c12ee0bc10 merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-04-12 22:22:51 +03:00
Sebastian Hengst 0eb9d87997 merge mozilla-inbound to mozilla-central. a=merge 2018-04-12 22:20:13 +03:00
Sebastian Hengst 4f3725a9b9 merge autoland to mozilla-central. a=merge 2018-04-12 22:17:41 +03:00
Sebastian Hengst ec371d68d4 Bug 525063 - Backing out js/public/ for violation of committing guidelines. a=backout 2018-04-12 22:15:26 +03:00
Jan de Mooij 5431bd4e97 Bug 1452982 part 5 - Refactor JitRuntime::isOptimizationTrackingEnabled to take a JSRuntime* instead of ZoneGroup*. r=jonco 2018-04-12 16:35:27 +02:00
Jan de Mooij 1b0f7474cb Bug 1452982 part 4 - Move jit-related fields from ZoneGroup to JitRuntime. r=jonco 2018-04-12 16:35:27 +02:00
Jan de Mooij 84ec03bf15 Bug 1452982 part 3 - Remove ZoneGroup nursery/storeBuffer methods. r=jonco 2018-04-12 16:35:26 +02:00
Masatoshi Kimura fdc5da32ef Bug 1451931 - Enable C++14 for SpiderMonkey Rust Bindings. r=glandium
MozReview-Commit-ID: K2vKiC9aAJx

--HG--
extra : rebase_source : a69671e6a0f776544d20300871dd52560ae177ab
2018-04-13 07:17:45 +09:00
Boris Zbarsky a730b3a9ad Bug 1453053 part 1. Remove useless QIs to nsIDOMNode. r=qdot
MozReview-Commit-ID: GokPD2buxzN
2018-04-12 00:06:25 -04:00
Boris Zbarsky ed3406b369 Bug 1452786 part 2. Stop using a generated chromeonly isInstance method. r=qdot
This changes semantics in all sorts of ways (e.g. now we get the right proto
from our |this| value instead of it being baked into the function).  But if all
our chrome callers are well-behaved this should be ok.

We _could_ bake the proto id and depth into the function itself by using
js::NewFunctionWithReserved if it were not for Xrays.  Those already need the
reserved slots on functions we Xray.

MozReview-Commit-ID: 1bYrKWWIc1P
2018-04-12 00:06:07 -04:00
Tristan Bourvon da60164132 Bug 525063 - Backing out js/src/ for violation of committing guideliens. CLOSED TREE 2018-04-11 23:19:53 +02:00
Ryan VanderMeulen 6af8d937a0 Bug 1453317 - Update VS2017 used in automation to version 15.6.6. r=froydnj
CLOSED TREE
2018-04-11 09:24:02 -04:00
Tristan Bourvon a3a77c0312 Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan 2018-04-10 21:11:02 +02:00
Margareta Eliza Balazs 1c0306e497 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-12 12:45:41 +03:00
Karl Tomlinson 3481a11d87 bug 1328964 add CycleCollectedJSContext::IsSystemCaller() to make ThreadsafeIsSystemCaller() safe for worklets r=baku
MozReview-Commit-ID: Cg4OBbm5CwA

--HG--
extra : rebase_source : 9a113cf0f945bd48207e81f9fa08bcba1f35303c
2018-04-06 18:53:25 +12:00
Tom Schuster 53e5c09b5d Bug 1453006 - Convert FunctionSyntaxKind to an enum class. r=jandem
--HG--
extra : rebase_source : f467d26137e21c9b586abea4d2c6bc26ef1f8368
2018-04-06 20:56:30 +02:00
Jon Coppeard a590d52193 Bug 1452898 - Make count of helper thread zones atomic as this can be read without locking by helper threads r=jandem 2018-04-11 10:56:38 +01:00
Jon Coppeard d42c88460a Bug 1452924 - Remove duplicate condition variable notification after running parallel GC task r=jandem 2018-04-11 10:55:18 +01:00
Bob Clary cc77040a96 Bug 1440714 - make sure to use root=True with chmod /sdcard/tests/, r=gbrown. 2018-04-10 23:12:28 -07:00
Jeff Walden fab5754933 Bug 1452818 - Make tokenstream positions be created by constructor-call so that their members don't have to be default-constructible. r=arai
--HG--
extra : rebase_source : 9e75b0e05536e07cb18d2b1d0d6dfc44f40e83ec
2018-04-09 16:10:25 -07:00
Jeff Walden d9a177cdb7 Bug 1452818 - Move BytecodeCompiler::startPosition into more locally-scoped stack-frame variables. r=arai
--HG--
extra : rebase_source : 2dd98d0d6940e9890d150e97fa8b13188aca5460
2018-04-09 12:58:02 -07:00
Jeff Walden be8ccd5a6b Bug 1452619 - Implement mozilla::IsAsciiAlpha. r=froydnj
--HG--
extra : rebase_source : fd1e3284d293edad0bd96cc378eeeeb1bc2c8829
2018-04-09 12:02:43 -07:00
Jeff Walden a675e51266 Remove unused JS::Value::get{Int32,Double}Ref member functions. No bug, r=me as trivial
--HG--
extra : rebase_source : 3c32ceef0657739f07994929d3cdd3c32df7cf55
2018-04-05 20:45:57 -07:00
Nicholas Nethercote fe6068a327 Bug 1451658 - Remove JS_STATIC_CLASS in favour of MOZ_STATIC_CLASS. r=mystor
MozReview-Commit-ID: B2fynvjOSG7

--HG--
extra : rebase_source : 8f2ca40231561e5c7a140bad4f7fe79c89aeef04
2018-04-10 17:31:55 +10:00
Nika Layzell 0c3ba13e4c Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj 2018-04-10 17:49:47 -04:00
Matthew Gaudet a7ca95c9c6 Bug 1451976 - Temporary fix for --enable-more-deterministic when doing DoubleNot IC. r=tcampbell 2018-04-09 18:23:49 -04:00
Dragan Mladjenovic f77598ac54 Bug 1453278 : [MIPS32] Add simulator single step profiling support; r=bbouvier
--HG--
extra : source : bcfee006ebaa56c3f0e36871f29f121efdaa5692
2018-04-10 09:42:50 +02:00
Margareta Eliza Balazs d4e35cf8f7 Backed out 2 changesets (bug 1449364, bug 1453278) for rc4 and 42 perma failures in layout/base/tests/test_bug332655-2.html and testInputConnection on a CLOSED TREE
Backed out changeset 7149139c60d9 (bug 1449364)
Backed out changeset bcfee006ebaa (bug 1453278)
2018-04-12 15:30:20 +03:00
Jan de Mooij 06a1fef6c9 Bug 1452982 part 2 - Move debuggerList from ZoneGroup to JSRuntime. r=jonco 2018-04-12 13:04:35 +02:00
Jan de Mooij 040949a5a7 Bug 1452982 part 1 - Use rt->mainContextFromOwnThread() instead of TlsContext.get() in some places. r=jonco 2018-04-12 13:04:13 +02:00
Dragan Mladjenovic 5054e2ed0f Bug 1453278 : [MIPS32] Add simulator single step profiling support; r=bbouvier 2018-04-10 09:42:50 +02:00
Jan de Mooij 840915945f Bug 1444668 - Avoid allocating large AssemblerBuffers. r=luke,bbouvier 2018-04-10 15:00:49 +02:00
Csoregi Natalia af2c31f32b Backed out changeset de33fb39fa48 (bug 1451976) for spidermonkey failures on cacheir/bug1451984.js:7. CLOSED TREE 2018-04-10 15:17:18 +03:00
Matthew Gaudet a7339ba012 Bug 1451976: Temporary fix for --enable-more-deterministic when doing DoubleNot IC r=tcampbell
--HG--
extra : rebase_source : 8707974f966b748c214e9d0534e25c623839ca07
2018-04-09 18:23:49 -04:00
Benjamin Bouvier 8d30a725fa Bug 1445272: Implement text-to-binary support for anyref; r=luke
--HG--
extra : rebase_source : 4f239ac03aa2f66a2adc258371da41d422914e76
2018-03-21 14:49:24 +01:00
Benjamin Bouvier 7b535316c5 Bug 1445272: Add Anyref to the wasm type system; r=luke
--HG--
extra : rebase_source : a68be217073670b2b91aba43a411b3ed7d4e04e2
2018-03-21 14:46:08 +01:00
Benjamin Bouvier 317473d693 Bug 1445272: Add gcTypesEnabled to wasm::ModuleEnvironment and Metadata; r=luke
This is going to be used in subsequent patches, to know if AnyRef is accepted
as a ValType in misc places.

Note temporaryGcTypesEnabled should be removed once we've implemented proper GC
support instead of the hack planned in bug 1445277.

--HG--
extra : rebase_source : c031ebe723428622281a720f386d29e5c6518c99
2018-03-21 14:40:38 +01:00
Benjamin Bouvier 2d70c0b1e0 Bug 1445272: Add a pref to enable wasm gc in the browser/shell; r=luke
And a builtin function to test if wasm gc is enabled or not, to make testing
easier.

--HG--
extra : rebase_source : 0e608756d0c5f0231ba31af482c5e343a7119465
2018-03-21 14:32:47 +01:00
Jon Coppeard 8e39e64d47 Bug 1447693 - Add some assertions around updating type sets after minor GC r=tcampbell 2018-04-16 22:29:24 +02:00
Henrik Skupin 3846d5fb06 Bug 1453647 - [xpcshell] Enforce utf-8 for evaluating injected script via -e argument. r=bz
MozReview-Commit-ID: 2sLmBHqbFSx

--HG--
extra : rebase_source : 50949fadd321a1fc4f6591bd55cb8002587b3959
2018-04-12 15:49:19 +02:00
Karl Tomlinson 2405fe930c bug 1328964 use nsContentUtils::GetCurrentJSContext() on all threads r=smaug
nsContentUtils::GetCurrentJSContextForThread() originally needed to use
workers::GetCurrentThreadJSContext() in
https://hg.mozilla.org/mozilla-central/rev/366a45b41539#l2.18
because CycleCollectedJS*()->Context() did not exist until
https://hg.mozilla.org/mozilla-central/rev/1a0cd542e1e9#l7.12

nsContentUtils::GetCurrentJSContext() is thread-safe since these changes:
https://hg.mozilla.org/mozilla-central/rev/e636c7186286#l3.12
https://hg.mozilla.org/mozilla-central/rev/c8029c072776#l2.12

MozReview-Commit-ID: 2f1eGS9uBBO

--HG--
extra : rebase_source : dad1d2084a63413c3975f9e7c66c6b06857c9f23
2018-04-09 12:11:18 +12:00
Lars T Hansen 73071c84a9 Bug 1452592 - Check mutability when importing globals. r=bbouvier
The mutability of the imported value must match the mutability of the
import declaration.

If an imported value is provided as a number constant and not a
WebAssembly.Global, then it is implicitly immutable.

Drive-by fix: We test for non-number imports before testing for i64.

--HG--
extra : rebase_source : 0a8bfedf8208aca4219370ecdeb56c930d03d1c6
2018-04-09 17:09:28 +02:00
Jan de Mooij 701489643b Bug 1452581 - Fix assert in IonScript::invalidate to account for already-invalidated scripts. r=nbp 2018-04-10 10:00:35 +02:00
Andreea Pavel 26f640b36b Backed out 4 changesets (bug 1366808) for Windows GPU leakchecks on a CLOSED TREE
Backed out changeset 23f60e5acaa2 (bug 1366808)
Backed out changeset bf2262b6aca8 (bug 1366808)
Backed out changeset 1fc82af3a155 (bug 1366808)
Backed out changeset 0649f0d9884b (bug 1366808)
2018-04-10 05:11:36 +03:00
Stephen A Pohl b40a23754c Bug 1366808: Properly detect buildID mismatches between parent and child processes and display about:restartrequired to prompt the user to restart Firefox before proceeding. r=jimm,felipe,bz 2018-04-09 20:16:31 -04:00
Boris Zbarsky 5171e626a4 Bug 1452235 part 3. Stop using nsIDOMSerializer from JS. r=qdot
MozReview-Commit-ID: JbWGcfbmM4b
2018-04-09 16:30:32 -04:00
Jan de Mooij ff02599c50 Bug 1450796 - Remove overzealous assert in spectreBoundsCheck32. r=luke 2018-04-09 20:20:56 +02:00
Jan de Mooij 2fa8f7862f Bug 1452406 - Support calling RecompileInfo::shouldSweep under CodeGenerator::link instead of asserting. r=tcampbell 2018-04-09 19:36:41 +02:00
Jan de Mooij 78177eb809 Bug 1452491 - Split uint64_t in IonCompilationId in two 32-bit integers to avoid 8-byte alignment. r=tcampbell 2018-04-09 19:35:12 +02:00
Nicolas B. Pierron 991daaa633 Bug 1437510 - ARM: Zero the payload if the Value tag does not match the expected tag. r=jandem
--HG--
extra : source : 18c36451a8750a46a51b531bc184f0ac290966c8
2018-04-05 15:15:13 +00:00
Margareta Eliza Balazs 9a0ca253c7 Backed out changeset 18c36451a875 (bug 1437510) for wpt failures in /fetch/api/request/request-idl.html on a CLOSED TREE 2018-04-09 19:52:20 +03:00
Nicolas B. Pierron 35a6c3e5b3 Bug 1437510 - ARM: Zero the payload if the Value tag does not match the expected tag. r=jandem 2018-04-09 16:04:12 +00:00
Jim Blandy 97f7fd3ca4 Bug 1445973: Part 4: Clear the hasCachedSavedFrame bit on a frame when we miss for a pc mismatch. r=jorendorff
We'd really like the LiveSavedFrameCache to be able to assert that, if a frame
has its hasCachedSavedFrame bit set, there is indeed a cache entry for it (if
the cache hasn't been cleared completely for a compartment mismatch). See the
explanation of LiveSavedFrameCache in Stack.h, and the comments in
LiveSavedFrameCache::find.

Sometimes we do find a cache entry for the frame, but execution in that frame
has progressed to a different source position since we cached it, so the
SavedFrame in that cache entry isn't useful. When this occurs, we used to simply
pop the cache entry, and report a miss: although this did create a situation
where a frame with its bit set had no cache entry, that was only temporary: we
would push a new entry for the frame as we build the new SavedFrame chain.

Unless, of course, SavedFrame construction encounters an OOM and the whole
process aborts early.

This patch clears a frame's hasCachedSavedFrame bit when we report a cache miss
due to a pc mismatch. Under normal circumstances, the frame will soon be cached
again and its bit re-set. If an OOM does occur, the absence of the cache entry
is accurately reported.

--HG--
extra : rebase_source : 5e980e5732b7fd5ff1dd6a68c1a49a1c538010c6
extra : source : 2ed6d9d910b0f3dd24e163f17e3a70d327286582
2018-03-29 19:51:18 -07:00
Jim Blandy 9c7842a01d Bug 1445973: Part 3: Add FramePtr::clearHasCachedSavedFrame method. r=jorendorff
This entails implementing corresponding methods on each variant of
FramePtr::Ptr.

--HG--
extra : rebase_source : 3b810cd4d3aa78d014f830acbf2d6e6794694415
extra : source : 014fdec944a9e82fd74e7ff4644cb4f9e96076c2
2018-03-29 19:35:22 -07:00
Jim Blandy 8490101998 Bug 1445973: Part 2: Add 'clearSavedFrames' testing function to JS shell. r=jorendorff
OOM tests often depend on invoking a function repeatedly, failing a different
allocation each time. Flushing the caches helps ensure consistent behavior from
one invocation to the next.

--HG--
extra : rebase_source : 0bf4a46c7c3e0bceb0fe77bbf96e422558a988c4
extra : source : 1a11067ab1e6b62602b79081e3208dcad31807bd
2018-04-06 11:33:57 -07:00
Jim Blandy 663b9d62d5 Bug 1445973: Part 1: Comment typo. r=jorendorff
--HG--
extra : rebase_source : 51e1b20582f4db2a0ebc1c5ef29ffdd1efdc74a1
extra : source : e427340ec24928486f9c6b256dacf7692c9a0132
2018-04-06 11:33:23 -07:00
Bogdan Tara 8ea0d72cfe Merge inbound to mozilla-central. a=merge 2018-04-09 00:43:58 +03:00
David Teller b7121e1a4d Bug 1452441 - Fix infinite recursion in testBinASTReader for Windows;r=Yoric
MozReview-Commit-ID: Fwv0VgPpv4v

--HG--
extra : rebase_source : e2dae7776ade6274cfc37b8fb9be99f2331110b9
2018-04-08 09:46:07 +02:00
Phil Ringnalda 6b613daaf8 Bug 1437004 followup, disable BinAST tests on Windows where they create an infinite path, a=bustage 2018-04-07 19:40:08 -07:00
Jan de Mooij 0529d2af62 Bug 1448887 - Remove async Ion loop interrupts. r=luke 2018-04-08 17:01:40 +02:00
Jan de Mooij 1743d92593 Bug 1451443 - Remove CompilerOutput and simplify Ion code invalidation. r=tcampbell 2018-04-06 10:55:49 +02:00
Brindusan Cristian 9adcf6af5a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-07 13:00:30 +03:00
Boris Zbarsky 9b3d37b936 Bug 1452010 part 1. Remove uses of nsIDOMDOMException. r=qdot
MozReview-Commit-ID: K5zUjh25WJG
2018-04-06 23:27:56 -04:00
Adrian Wielgosik 2837c659de Bug 1170771 - Remove now-empty nsDOMClassInfo. r=bz
MozReview-Commit-ID: 7XsiPD1kTt9

--HG--
extra : rebase_source : 2935c0fe1a51083f37e113c3e0599760f40829e2
2018-04-05 14:20:44 +02:00
Adrian Wielgosik 2bd02cd742 Bug 1170771 - Remove ThisTranslator and support code. r=bz
MozReview-Commit-ID: Fv0F4RLCnkL

--HG--
extra : rebase_source : 24c3746ebde37b2bf4ab383cee781dd3bceb93b2
2018-04-05 12:49:24 +02:00
Noemi Erli eb61878455 Merge inbound to mozilla-central. a=merge 2018-04-07 00:55:15 +03:00
Tom Schuster 2ec273bf6e Bug 1450574 - Remove DeprecatedLanguageExtension telemetry code. r=jandem
--HG--
extra : rebase_source : a5651c0aebdc0f6cc1128e11645b90069e7c6b92
extra : histedit_source : 4e2ec3872ef64a0d43b9379666ea274c008110f9
2018-04-04 20:41:07 +02:00
Benjamin Bouvier 80d19e8b44 Bug 1450795; r=luke
--HG--
extra : rebase_source : 923090f1b2812ca336deaf62e36706de19c74e66
2018-04-03 18:41:07 +02:00
Sebastian Hengst 0084a1b7f1 Bug 1450574 - Remove expressionClosureHandling from Parser: fix leftover merge conflict CLOSED TREE
--HG--
extra : amend_source : 5a347b78e7acc77ffae71f00c11486b60792bf84
2018-04-06 18:17:57 +03:00
Andreea Pavel eed7d2803f Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-06 17:54:45 +03:00
Andreea Pavel 61e8fe34c0 Backed out changeset 67ff53988f4d (bug 1451443) for hazard failures on a CLOSED TREE 2018-04-06 14:00:48 +03:00
Andreea Pavel 7a4b9a3f56 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
extra : rebase_source : 66bd87105d99036ada5008499ff0eaea579b531a
2018-04-06 13:20:21 +03:00
David Teller abfa5517f9 Bug 1437004 - Introducing BinSource parser generator;r=froydnj,jorendorff
This crate contains a parser generator as a Rust crate. The parser generator is used to generate
BinSource-auto.h, BinSource-auto.cpp, BinToken.h. As of this changeset, to limit yak shaving,
the parser generator is not part of the build system. Making it part of the build system
is delegated to bug 1439645.

MozReview-Commit-ID: 1lODDSIsz8W

--HG--
extra : rebase_source : 2b09675167c12e33f5951ea00dc6df54dad11832
2018-04-05 15:21:17 +02:00
David Teller c842c7ba7f Bug 1437004 - Updating tokenizer tests to ast v3;r=arai
MozReview-Commit-ID: BbP6n1CwHvs

--HG--
extra : rebase_source : b5ae6192f7cdde0dbc1eaa0d6284d79c661fe223
2018-02-21 16:24:03 +01:00
David Teller 14b9afe8c3 Bug 1437004 - Porting BinAST to AST v3;r=arai,jorendorff
This patch is a nearly complete reimplementation of BinASTReader, with the following changes:

- Files BinToken.h, BinSource-auto.h (new), BinSource-auto.cpp (new) are now autogenerated by the generator in js/src/frontend/binsouce from the webidl specifications of BinAST and a small
configuration file.
- Optional fields have been removed. Rather, some specific fields may, if so marked in the specifications, contain a Null constant.
- `hasDirectEval` is now checked for consistency (NOT completeness).
- `varDeclaredNames` is now checked for consistency (NOT completeness).
- `lexicallyDeclaredNames` is now checked for consistency (NOT completeness).
- `parameterNames` is now checked for consistency (NOT completeness).
- `capturedNames` is NOT checked.
- Atoms read are now properly expected to be UTF8.

This patch does not implement the entire specifications, but should implement most of ES5. In particular, it is sufficient to parse the source code of:
- Facebook;
- jQuery;
- mootools;
- Underscore;
- Backbone;
- Angular.

MozReview-Commit-ID: HwkVB5dliZv

--HG--
extra : rebase_source : fd7e068343e2af8926c5185e7199ea110a5149bc
2018-02-21 17:07:03 +01:00
David Teller f4523820b7 Bug 1437004 - Fixing null string behavior in BinAST tokenizer;r=arai,jorendorff
MozReview-Commit-ID: AH91BMcoZsB

--HG--
extra : rebase_source : 4ff060e0443d734ff2be8835a29e6d2716b20b4f
2018-02-21 16:27:22 +01:00
Jan de Mooij 1b69f3144f Bug 1451443 - Remove CompilerOutput and simplify Ion code invalidation. r=tcampbell 2018-04-06 10:55:49 +02:00
Tom Schuster 0912a15fe5 Bug 1450574 - Remove expressionClosureHandling from Parser. r=jorendorff
--HG--
extra : rebase_source : ad0fb4129ffc06a7ae76a1677fda3c178c2a5b55
extra : histedit_source : d94f615af149c215de008404b04520cc83731b7a
2018-04-04 20:07:47 +02:00
Tom Schuster 1575d1bf05 Bug 1450574 - Remove NoExpressionClosure FunctionSyntaxKind values. r=jorendorff
--HG--
extra : rebase_source : 95436039d196fead4171ba91efa33ee28e3cfae5
extra : histedit_source : 344857f80c7b6b9a692b6f82f87211f96d9ff432
2018-04-01 18:47:52 +02:00
Noemi Erli e624a263b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-05 13:44:11 +03:00
Noemi Erli ff466e94c1 Merge inbound to mozilla-central. a=merge 2018-04-05 13:02:11 +03:00
Lars T Hansen b3a02fddbc Bug 1451292 - Better payload for arm64 breakpoint instruction. r=sstangl
At least some non-zero payloads confuse GDB and make it iloop on the
breakpoint instruction rather than break to the command line as it
should.  There seems to be no reason not to use a zero payload.

--HG--
extra : rebase_source : 6d6f9aa2911b86b02572f88948d48bc2238c6353
extra : amend_source : 9fed9235d481a9eadafc4a3e0075c9fef8b6050d
2018-04-04 15:48:48 +02:00
Bobby Holley 7068793c78 Bug 1437998 - Remove SimpleGestureEvent and OfflineResourceList from kInterfaceShims. r=bz
MozReview-Commit-ID: HRQ2rux6tcT
2018-04-04 14:57:04 -07:00
Luke Wagner ba40ea72e0 Bug 1450800 - Baldr: don't need HeapPtr for GCVector elements (r=lth)
--HG--
extra : rebase_source : b3770eab295820704ccd21ed64f3325ec906b215
2018-04-04 13:23:03 -05:00
Luke Wagner 1aa7a9218a Bug 1450800 - Add null check to InternalGCPointerPolicy methods (r=sfink)
--HG--
extra : rebase_source : e0e665b0166e89518be6ef851327e503025001f4
2018-04-04 13:21:21 -05:00
André Bargull a7f190d900 Bug 1451251 - Inline more functions used for self-hosting. r=jandem
--HG--
extra : rebase_source : cdcdb73f6b30db36364d6fae1db32194f8b5fee4
2018-04-04 01:55:43 -07:00
Nicolas B. Pierron e9d5b05aa5 Bug 1444473 - Spectre: Add Jit inline caches mitigation for values returned from C++. r=jandem 2018-04-04 13:07:22 +00:00
Margareta Eliza Balazs ca277b407b Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-04 12:51:48 +03:00
Margareta Eliza Balazs 210797c4c1 Merge inbound to mozilla-central. a=merge 2018-04-04 12:43:55 +03:00
Jan de Mooij 0ef48dbae6 Bug 1450790 - Remove redundant poisoning in DEBUG builds in WeakCollection_finalize. r=sfink 2018-04-04 11:11:20 +02:00
Tom Schuster 222dae799c Bug 1083458 - Remove isExprBody from everything but FunctionBox to keep Reflect.parse working. r=Waldo
--HG--
extra : rebase_source : ac4b56efd671a02f6f0f073949c0e2c08d623e6d
extra : histedit_source : 724e8c4f449898adf7a8d5d96ce51cecce7a79c5
2018-04-03 14:18:57 +02:00
Ciure Andrei 5ffac2bcd3 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-04 00:58:50 +03:00
Ciure Andrei 7208a2fee8 Merge inbound to mozilla-central. a=merge 2018-04-04 00:54:16 +03:00
Manish Kumar 11d85fb4e4 Bug 1428468 - JS::GetValueZone(const Value& value) declared but never defined. r=sfink
--HG--
extra : rebase_source : 4b5c7cb639dcfe046f91571b5c8f60f608ac9e44
2018-04-02 19:47:42 +02:00
Ciure Andrei b861d14e56 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-04 00:56:56 +03:00
David Teller 2a14a7fb36 Bug 1437004 - ParseNode::dump() now displays names for ObjectPropertyNames;r=arai,jorendorff
By opposition to the built-in SpiderMonkey parser, the out of tree parser used as part of the BinAST encoder does not make a difference between

```js
{
  foo: 1
}
```

and

```js
{
   "foo": 1
}
```

SpiderMonkey considers that the former example has a literal property name, while the latter has a computed property name. By opposition,
the BinAST encoder considers that both are literal property names.

While the runtime behavior is identical, this caused SpiderMonkey to print different ASTs when text-parsing both source files,
but the same AST when bin-parsing both source files.

This patch addresses the issue by changing the behavior of ParseNode::dump() to display names for ObjectPropertyNames instead of
the string `ObjectPropertyName`.

MozReview-Commit-ID: IPZBl5eglIJ

--HG--
extra : rebase_source : a49469315838f0118206ab4f7cd2881aed8e8bf5
2018-02-15 12:01:47 +01:00
David Teller 1c9382a029 Bug 1437004 - Tests for BinAST v3 (data);r=arai
This patch ports the existing data files for testing BinAST to the WIP 3rd version of the specifications.

Also:
- data files have been reorganized in subdirectories;
- adding data files for hand-crafted tests;
- adding data files for a few existing frameworks.

MozReview-Commit-ID: JlABWNkRZFY

--HG--
extra : rebase_source : 017e650498863d536d9c72635d774608943ccb40
2018-02-21 16:24:33 +01:00
Andrew McCreight e80864c94c Bug 1438688, part 3 - Remove XPT files from the packaging process. r=glandium
Now that XPT files are not loaded from files at runtime, code for
packaging XPT files can be removed.

This means that a couple of test XPIDL interfaces will get shipped in
builds to users that weren't before, but I don't think that matters
much.

This also puts XPT files into the local objdir for the XPIDL makefile,
instead of dist/bin, because they are no longer part of the
distribution.

MozReview-Commit-ID: 7gWj8KWUun3

--HG--
extra : rebase_source : 65bac47c2cd1a20b3c675a01b44a25a1d2d3ab7a
2018-03-05 14:27:29 -08:00
Dorel Luca f24505d99e Backed out 7 changesets (bug 1438688) for android xpcshell failures on builds/worker/workspace/build/tests/bin/components/test_necko.xpt
Backed out changeset 8786eabb61a4 (bug 1438688)
Backed out changeset e05ec1e08b46 (bug 1438688)
Backed out changeset 4c437ba9d984 (bug 1438688)
Backed out changeset 2f243bca1af3 (bug 1438688)
Backed out changeset 4da0e1839353 (bug 1438688)
Backed out changeset 186f916dcc7a (bug 1438688)
Backed out changeset 08b1a5f904e4 (bug 1438688)
2018-04-03 02:30:53 +03:00
Andrew McCreight fc09560f06 Bug 1438688, part 3 - Remove XPT files from the packaging process. r=glandium
Now that XPT files are not loaded from files at runtime, code for
packaging XPT files can be removed.

This means that a couple of test XPIDL interfaces will get shipped in
builds to users that weren't before, but I don't think that matters
much.

This also puts XPT files into the local objdir for the XPIDL makefile,
instead of dist/bin, because they are no longer part of the
distribution.

MozReview-Commit-ID: 7gWj8KWUun3

--HG--
extra : rebase_source : 6f7d4fd1d6cdea2c14866705a2dc972eb5f43382
2018-03-05 14:27:29 -08:00
Dorel Luca a7d5a65268 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-03 01:00:11 +03:00
Matthew Gaudet fc96c057b9 Bug 1449975 - Name CacheIR stub type when spewing. r=tcampbell 2018-03-29 11:38:22 -04:00
Dragan Mladjenovic 44417b17cf Bug 1450221 - [MIPS] Fix ProfilingFrameIterator unwinding when pc is in FarJumpIsland; r=bbouvier 2018-03-30 12:00:13 +02:00
Csoregi Natalia 0a851c299c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-31 14:07:52 +03:00
Steve Fink 935ce004cb Bug 1449066 - Annotate more func<AllowGC::NoGC> as not being able to GC, r=jonco
--HG--
extra : rebase_source : 495beb5dd82729098e5e1a717f0711218c7b6a47
2018-03-28 20:59:03 -07:00
Felipe Gomes 7d1da2c7e5 Bug 1429178 - Policy: Implement website blocklist/allowlist. r=mixedpuppy
MozReview-Commit-ID: EAX0VwxlggK

--HG--
extra : rebase_source : d795b96a0318e7b2bb21bf24c15413111628aa73
2018-03-28 09:29:17 -05:00
Yan Or 88e41a5817 Bug 1445969 - removed obsolete code related to b2g r=sylvestre
MozReview-Commit-ID: Hs3lI1nSKWi

--HG--
extra : rebase_source : 9ef7401a80a6433e63bd1aef8e8cd62678bedf7e
2018-03-20 14:25:54 -07:00
Luke Wagner e26e162acf Bug 1449189 - Baldr: remove ExclusiveData indirection (r=bbouvier)
--HG--
extra : rebase_source : bd835c07bcc577fcd6118ae27345db1acf69874d
2018-03-30 11:16:52 -05:00
Luke Wagner 6874e6698e Bug 1449189 - Don't lock in ~ExclusiveData (r=fitzgen)
--HG--
extra : rebase_source : 32530438cb669c134be6e2b8ebf44787fb04debf
2018-03-30 11:16:24 -05:00
Jan de Mooij 5ccd9308c1 Bug 1448589 part 2 - Add memory sanitizer instrumentation to GC and JIT allocators. r=jonco 2018-03-30 16:58:04 +02:00
Tom Schuster 72acf485fb Bug 1255800 - Make computeThis return a boolean for easier error handling. r=jorendorff
--HG--
extra : rebase_source : 1b4d227aba2fd0e1a458849addb634df9d72111c
extra : histedit_source : 29e8c520ae4d3644131b05794a447a0e7a32796f
2018-03-23 13:09:04 +01:00
Jeff Walden ca78e29895 Bug 1449051 - Move JS::Value::layout's members into JS::Value, make JS::Value a union, and apply correct code style to the union fields. r=sfink
--HG--
extra : rebase_source : 6a13e636b90c06419b89942b2848be92b21c4020
2018-03-27 20:20:43 -07:00
Jeff Walden e5512cfdf4 Bug 1449051 - Further minifications to JS::Value's internal structure. r=jandem
--HG--
extra : rebase_source : c6bdffdf5ac4dabd19d44092fdc40887495aa0ba
2018-03-27 17:13:08 -07:00
Jeff Walden 31d839ee30 Bug 1437533 - Properly declare JSTracer respecting JS_PUBLIC_API to avoid compile errors about visibility mismatch in non-unified builds. r=jorendorff
--HG--
extra : rebase_source : 3279dcead6c1c254661939c4fee9f1c8532333ad
2018-03-12 12:56:39 -07:00
André Bargull 9a6b5da848 Bug 1433909 - Part 3: Rename TokenStream::undoGetChar for clarity. r=Waldo
--HG--
extra : rebase_source : 38442029923125d20e94c0e372e09bedcf586d1c
extra : histedit_source : fd0fcd8b0788238448eb28e5c92ba7c298642597
2018-03-29 06:21:56 -07:00
André Bargull 780fa12108 Bug 1433909 - Part 2: Fix indentation and directly use String for template strings in firstCharKinds. r=Waldo
--HG--
extra : rebase_source : 62a72bf3ef31c9ae0abbec18938db69ed6e8a428
extra : histedit_source : 3b1e9cc07cc214f3332177b7cf4f2f4d9900a39a
2018-03-29 06:21:56 -07:00
André Bargull cacd6ad075 Bug 1433909 - Part 1: Use (un)getCharIgnoreEOL in more cases in TokenStream. r=Waldo
--HG--
extra : rebase_source : f865f286ef676bf88b22fe34a9c99a4057554b89
extra : histedit_source : 8758de7277c5c472a785a570d4478b10032fb967
2018-03-29 06:21:56 -07:00
Boris Zbarsky 6c499a3613 Bug 1448414. Remove the DOM_OBJECT classinfo bit. r=kmag 2018-03-28 22:46:23 -04:00
Boris Zbarsky 448fab1f17 Bug 1389581 part 2. Remove the now-unused getComponentsForScope API. r=kmag 2018-03-28 22:46:23 -04:00
Boris Zbarsky 50af44ded2 Bug 1389581 part 1. Remove the DOM_OBJECT flag from various Components classinfo. r=kmag
Components and friends should not be exposed to content anyway.

MozReview-Commit-ID: 4kCeBcIf9nt
2018-03-28 22:46:22 -04:00
Jon Coppeard e0820d72b0 Bug 1449511 - Fix exclusive access check from helper threads r=jandem 2018-03-29 17:11:41 +01:00
Benjamin Bouvier 12c3f9f227 Bug 1449213: Create WebAssembly.Global objects for imported globals that received a primitive; r=luke
--HG--
extra : histedit_source : 89c921ca195814b992b9f3a0e09a3d6e3b07bfe9%2C98d3ade79462e054c7ee2984182d47771a3b4cd2
2018-03-27 18:07:06 +02:00
Jan de Mooij 76ddd6f74d Bug 1448589 part 1 - Refactor nursery poisoning a bit; poison chunk trailer after sweeping. r=jonco 2018-03-29 17:45:39 +02:00
André Bargull d5b21d4bed Bug 1445465 - Part 3: Update tests. r=Waldo
--HG--
extra : rebase_source : 44d12655f8fc29d255f442a82234c733b0426cdf
2018-03-27 07:40:40 -07:00
Coroiu Cristina 1def775e1b Backed out changeset 538ce8ca4b13 (bug 1449213) for spidermonkey build bustage at js/src/jit-test/tests/asm.js/testCall.js on a CLOSED TREE 2018-03-29 14:35:02 +03:00
Benjamin Bouvier d211fa52fc Bug 1449213: Create WebAssembly.Global objects for imported globals that received a primitive; r=luke
--HG--
extra : rebase_source : d8de7d632392a26b1d96175c043b9401c34dd930
2018-03-27 18:07:06 +02:00
Jon Coppeard 019a6a6581 Bug 1449506 - Clarify AtomMarking locking r=sfink 2018-03-29 11:06:42 +01:00
Coroiu Cristina 94b06cd525 Backed out changeset 4d4d373e1619 (bug 1389581) mochitest failures Permission denied to create wrapper for object of class XPCComponents_Interfaces on a CLOSED TREE 2018-03-29 12:21:52 +03:00
Coroiu Cristina 4fbfa44b5b Backed out changeset 9349d1b031c9 (bug 1389581) for mochitest failures Permission denied to create wrapper for object of class XPCComponents_Interfaces on a CLOSED TREE 2018-03-29 12:21:28 +03:00
Coroiu Cristina 29fa060fbe Backed out changeset 9e41e9c653f2 (bug 1448414) for mochitest failures Permission denied to create wrapper for object of class XPCComponents_Interfaces on a CLOSED TREE 2018-03-29 12:21:00 +03:00
Jan de Mooij 77a473cd66 Bug 1449571 - Re-enable JS_CRASH_DIAGNOSTICS on ASan builds. r=ehsan 2018-03-29 09:14:11 +02:00
Boris Zbarsky 05346e7ec6 Bug 1448414. Remove the DOM_OBJECT classinfo bit. r=kmag 2018-03-28 22:46:23 -04:00
Boris Zbarsky c14bfdc5d9 Bug 1389581 part 2. Remove the now-unused getComponentsForScope API. r=kmag 2018-03-28 22:46:23 -04:00
Boris Zbarsky 78682d0160 Bug 1389581 part 1. Remove the DOM_OBJECT flag from various Components classinfo. r=kmag
Components and friends should not be exposed to content anyway.

MozReview-Commit-ID: 4kCeBcIf9nt
2018-03-28 22:46:22 -04:00
Gurzau Raul 8d268c6ce7 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : toolkit/components/extensions/ext-permissions.js => toolkit/components/extensions/parent/ext-permissions.js
2018-03-29 01:00:42 +03:00
Gurzau Raul d117255a14 Merge inbound to mozilla-central. a=merge 2018-03-29 00:55:16 +03:00
Jon Coppeard c5619778b2 Bug 1449541 - Don't hold script data lock while calcuating hash r=jandem 2018-03-28 16:41:16 +01:00
Jon Coppeard b8bf9f960f Bug 1449153 - Handle errored module in GetModuleNamespace() r=anba 2018-03-28 16:40:17 +01:00
Jan de Mooij f8619a591f Bug 1445235 followup - Add some blank lines to appease masm style checker. r=red 2018-03-28 16:27:27 +02:00
Jan de Mooij b82103f0d5 Bug 1445235 part 6 - Use spectreBoundsCheck32 for more stores in JIT code. r=nbp 2018-03-28 16:09:04 +02:00
Jan de Mooij f9a2b1497d Bug 1445235 part 5 - Refactor spectreBoundsCheck32 to work without a scratch register. r=nbp 2018-03-28 16:07:11 +02:00
Jan de Mooij dc9c29ce20 Bug 1445235 part 4 - Remove RegisterOrInt32Constant. r=nbp 2018-03-28 16:07:10 +02:00
Jan de Mooij 920f8ad45f Bug 1445235 part 3 - Use Spectre-safe bounds check for LStoreTypedArrayElementHole. r=nbp 2018-03-28 16:07:10 +02:00
André Bargull 07683220db Bug 1448839: Remove unused native version of Object.defineProperty. r=till
--HG--
extra : rebase_source : fe9afb47142134c6195c120fae1822915aef3165
2018-03-26 05:40:17 -07:00
André Bargull d963ea0581 Bug 1448837: Remove code to handle already set name now that parse nodes can no longer be emitted twice. r=arai
--HG--
extra : rebase_source : baf617f95b6fe7abf2699c02c2afb11dcbb9a95c
2018-03-28 05:45:21 -07:00
André Bargull 61f80eae24 Bug 1448838: Add native version for CopyDataProperties. r=jandem 2018-03-27 13:56:20 -07:00
André Bargull e7a7eb2bdf Bug 1448582: Don't assert when overwriting the atom of cloned singleton functions. r=jorendorff 2018-03-27 09:20:58 -07:00
André Bargull 6394c4f568 Bug 1448836: Call NumberToAtom when argument is double value. r=jorendorff 2018-03-26 05:39:04 -07:00
André Bargull 0da51c0360 Bug 1448835: Remove scope chain walk unused since object parents removal. r=Waldo 2018-03-26 05:38:39 -07:00
Tom Ritter 449237fc51 Bug 1378552 - Reduce the liklihood of inadvertently misusing NullPrincipal::Create(). r=ckerschb
NullPrincipal::Create() (will null OA) may cause an OriginAttributes bypass.
We change Create() so OriginAttributes is no longer optional, and rename
Create() with no arguments to make it more explicit about what the caller is doing.

MozReview-Commit-ID: 7DQGlgh1tgJ
2018-03-22 13:36:20 -05:00
Cosmin Sabou 6e054fe297 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-28 12:52:57 +03:00
Cosmin Sabou b25da47eb2 Merge inbound to mozilla-central. a=merge 2018-03-28 12:49:56 +03:00
Jan Henning 8404f212bd Bug 1449254 - Use vsnprintf for formatting DebugDump() output on Windows, too. r=mrbkap
Since VS2015, vsnprintf is supposed to be C99-compliant on Windows, too and will
especially always null-terminate the string written into the given buffer.

In addition, the build define we were using was misspelled and therefore not
working anyway, so might we as well remove it now.

MozReview-Commit-ID: 44ERI6TUz1B

--HG--
extra : rebase_source : cdbcf6e20033fd94fb96319c7dc35f4aabce5b3f
2018-03-27 19:26:04 +02:00
Jan Henning 380d398020 Bug 1448693 - Make DumpJSStack() output appear somewhere visible on Android. r=mrbkap
... by additionally writing it to the logcat.

MozReview-Commit-ID: CvaUOhlNFQ1

--HG--
extra : rebase_source : aae760f7730b148fba12d3a97777568a47adc707
2018-03-25 19:37:58 +02:00
Tom Ritter 51a8daef9d Bug 1446466 Crash if moz_dispose_arena is called, and comment out all callers r=glandium
Bug 1364359 is to fix a leaked arena. Until that is fixed; it is unsafe to
call moz_dispose_arena more than once.

MozReview-Commit-ID: KIby1RLtrPK

--HG--
extra : rebase_source : 6ea41001e9f0c4d5eb24ee678d6c1c0218991ac3
2018-03-21 20:49:35 -05:00
Margareta Eliza Balazs adebb06ac1 Merge inbound to mozilla-central. a=merge 2018-03-28 00:48:11 +03:00
Andreea Pavel 2e9ae472f6 Backed out changeset d1e979715ac1 (bug 1439342) for build bustages at builds/worker/workspace/build/src/obj-spider/dist/include/js/ProfilingStack.h:18 on a CLOSED TREE
--HG--
extra : rebase_source : 62447b0e6065c284531baaca1b4981cdde96762b
2018-03-27 19:44:32 +03:00
Jeff Walden 7434b2e835 Bug 1449051 - Consolidate the definition of JS::Value::layout to be more readable/understandable and to common up the parts that are common across endianness/word size. r=jandem
--HG--
extra : rebase_source : d0f10087ed1c8e98403966ea3070da720adc6300
2018-03-27 12:26:10 -07:00
Jeff Walden 5ad04f03a4 Bug 1447475 - Rip out support code for setting MOZ_ICU_DATA_ARCHIVE and shipping ICU data in a file outside the binary. r=ted
--HG--
extra : rebase_source : 95ab9cd884297ed36b419d872110cee9be887bff
2018-03-20 18:30:16 -07:00
Xidorn Quan 1962625a79 Bug 1448728 part 1 - Make popular headers not include nsWindowSizes.h. r=njn
MozReview-Commit-ID: EC5J9Im3gfu

--HG--
extra : source : 9fa9209aeeb00009143c5c21f21210c93184e61f
2018-03-28 10:44:49 +11:00
Steve Fink 5af788458a Bug 1449296 - Make gdb/run-tests.py runnable with either Python 2 or 3, r=jorendorff
--HG--
extra : rebase_source : 048fcba426a4cd5b8a8cfc064d2d9bf220f02821
2018-03-27 12:35:49 -07:00
Steve Fink 4ef6270c7e Bug 1449285 - Fix path handling in gdb run-tests.py script, r=Waldo
--HG--
extra : rebase_source : 516fadb6633b4de2ca081d814b56afd6e95cb037
2018-03-27 11:39:26 -07:00