Nicolas Auvray
14b610298a
Bug 1285909 - Add JS::IsMapObject and JS::IsSetObject. r=jorendorff
2016-11-09 00:01:57 +01:00
Tom Schuster
d275b29717
Bug 1175823 - Import test262 mapped arguments tests. r=anba
2016-11-22 23:11:39 +01:00
Tom Schuster
6e42fa9706
Bug 1175823 - Implement [[DefineOwnProperty]] for mapped arguments object. r=arai
2016-11-22 23:11:15 +01:00
Tom Schuster
c7f2d3dba2
Bug 1213341 - Tests. r=arai
2016-11-22 20:53:39 +01:00
Tom Schuster
1c6223fdb4
Bug 1213341 - Add TI for error properties assigned by the initial shape. r=jandem
2016-11-22 20:53:38 +01:00
Tom Schuster
f5ca1e8eea
Bug 1213341 - Simplify Error Xray code. r=bholley
2016-11-22 20:53:38 +01:00
Tom Schuster
1044228316
Bug 1213341 - Handle the now ordinary error prototype object in stack. r=arai
2016-11-22 20:53:38 +01:00
Tom Schuster
493b990e35
Bug 1213341 - Use ordinary objects for Error prototypes. r=arai
2016-11-22 20:53:38 +01:00
Luke Wagner
8c96526d8b
Bug 1319084 - Baldr: improve instantiation-time signature-mismatch error message (r=bbouvier)
...
MozReview-Commit-ID: okuupC22Oo
--HG--
extra : rebase_source : 9a429617ee6957710081649998ac72f25e6e8ac5
2016-11-21 17:14:34 -06:00
Tom Schuster
78e10f98ab
Bug 755821 - Parse arguments of Function constructor properly. r=shu
2016-10-15 11:47:00 +09:00
Pip Cet
14b8b0f5fe
Bug 1318926 - constant-fold asm.js RSh expressions again. r=nbp
...
--HG--
extra : rebase_source : 7ac6438095eafb116ffeaf217d8dc07270bebf58
2016-11-20 23:16:00 +01:00
David Major
6b3b6c1ece
Bug 1263595
followup: define MOZ_STACKWALKING in the JS configure. r=glandium
2016-11-22 09:52:59 -06:00
David Major
e06e8f5a86
Bug 1316816: Refactor {load,pop}{I64,F32,F64} to avoid testing src.kind() twice. r=lth
...
This makes the code follow the same pattern as loadI32/popI32.
2016-11-22 09:45:56 -06:00
Ehsan Akhgari
7009c0e03a
Bug 1318768 - Part 2: Make nsIURIClassifier::Classify() available in the content process; r=gcp,baku
2016-11-22 08:17:26 -05:00
Benjamin Bouvier
bf072808d3
Bug 1297901: Fix ordering of taking mutexes for the shell tasks; r=jonco
...
MozReview-Commit-ID: 66AhMF35BBE
--HG--
extra : rebase_source : 0f10c9190cfed3fc3b3d036b4e9a088fd0830e16
2016-11-14 18:20:44 +01:00
Jon Coppeard
24db0368ff
Bug 1318384 - Add AbortReason::CompartmentRevived so repeated GCs don't get counted under NonIncrementalRequested r=billm
2016-11-22 10:32:11 +00:00
Jon Coppeard
be58faf0d2
Bug 1318384 - Don't collect all scheduled zones when repeating a GC to collect dead compartments r=billm
2016-11-22 10:32:11 +00:00
Jon Coppeard
a2b4b57418
Bug 1318384 - Always allocate into fresh arenas while marking r=billm
2016-11-22 10:32:11 +00:00
Tooru Fujisawa
376e2ae67c
Bug 1197230 - Handle non-BMP identifier. r=shu
2016-11-22 16:47:29 +09:00
Tooru Fujisawa
7391d5b54f
Bug 1318815 - Remove ClassSpec delegation and point target ClassSpec directly from prototype class. r=jandem
2016-11-22 16:47:29 +09:00
Sean Stangl
a2e45117d7
Bug 1319232 - Correctly set cacheInvalidatedBySignalHandler_. r=luke
...
--HG--
extra : rebase_source : f71b6f34cb2b59ed0c2183ee4e4fb131244af102
2016-11-21 14:39:00 -05:00
André Bargull
8a555a2bfd
Bug 1303091 - Share static Intl data across compartments. r=Waldo, r=jonco
...
--HG--
rename : js/src/builtin/IntlTzData.js => js/src/builtin/IntlTimeZoneData.h
extra : rebase_source : 558f4fba32efdee429423055f3786e1dc09e4d68
2016-11-17 14:40:18 -08:00
André Bargull
574e5e9365
Bug 1318017 - Call GetPrototypeFromConstructor for generator, async function, and Intl constructors. r=arai
...
--HG--
extra : rebase_source : 414591c8db50bc57a0ae5fb11294ceb8864af23c
2016-11-21 06:26:02 -08:00
Jan de Mooij
185a2c7da0
Bug 1040402 - Fix handling of |undefined| args in typed array view constructor. r=anba
2016-11-21 13:36:45 +01:00
Jon Coppeard
6802f12fbc
Bug 1316150
- Make profiler frame labels a GC hazard and make shell profiling function copy them r=djvj
2016-11-21 10:26:33 +00:00
Jon Coppeard
5cd9e63353
Backout changeset 093a7b8b7285 (bug 1297360) for causing bug 1316150
2016-11-21 10:26:31 +00:00
Benjamin Bouvier
b1840b3633
Bug 1317675: Check that phis are not guards before removing them; r=h4writer
...
MozReview-Commit-ID: DO4BWhaTPev
--HG--
extra : rebase_source : cf6663951a345d7b047cf38fde23ed56952c8cd9
2016-11-15 18:54:57 +01:00
Benjamin Bouvier
a53239598d
Bug 1317033: Fix no-ion builds; r=luke
...
MozReview-Commit-ID: 5lmLNZP38bX
--HG--
extra : rebase_source : 750375c31aafffb01a2269d0893399997a91a429
2016-11-16 15:54:38 +01:00
Tooru Fujisawa
62e286f0d5
Bug 1293305 - Part 1.7: Remove already disabled test that uses for-each. r=bholley
2016-11-21 15:03:35 +09:00
Tooru Fujisawa
03954ab603
Bug 1293305 - Part 1.4: Fix jit-test to enable for-each. r=evilpie
2016-11-21 15:03:34 +09:00
Tooru Fujisawa
e6e13122b0
Bug 1293305 - Part 1.3: Enable for-each in jstests for js1.x. r=evilpie
2016-11-21 15:03:33 +09:00
Tooru Fujisawa
5e18fa857c
Bug 1293305 - Part 1.2: Add need-for-each flag to jit-test that uses for-each. r=evilpie
2016-11-21 15:03:32 +09:00
Tooru Fujisawa
2191544da4
Bug 1293305 - Part 1.1: Add need-for-each flag to jit-test harness. r=evilpie
2016-11-21 15:03:30 +09:00
Tooru Fujisawa
b396364775
Bug 1293305 - Part 1: Disable non-standard for-each on Nightly and add testing function to enable/disable it. r=evilpie
2016-11-21 15:03:26 +09:00
Makoto Kato
48a2c42b58
Bug 1310067 - VS2017 doesn't require JS_DEPENDENT_TEMPLATE_HINT workaround. r=jonco
...
MozReview-Commit-ID: DuDDyP6tpc8
2016-11-21 11:14:44 +09:00
Iris Hsiao
defb095265
Backed out changeset e5164f497e42 (bug 1310067) for bustage
...
CLOSED TREE
2016-11-21 11:14:16 +08:00
Makoto Kato
0b47186ed3
Bug 1310067 - VS2017 doesn't require JS_DEPENDENT_TEMPLATE_HINT workaround. r=jonco
...
MozReview-Commit-ID: DuDDyP6tpc8
--HG--
extra : rebase_source : b503bdb2ce19f5bd87fcb0c114765e5a5de1c35d
2016-11-21 11:14:44 +09:00
Sean Stangl
857bd2ce22
Bug 1285074 - Make ICacheMap manipulation signal-safe. r=luke
...
--HG--
extra : rebase_source : d4c23fdf84c72ae0e9c68021dcd23daa8dc1a2d8
2016-11-18 14:29:00 -05:00
Ehsan Akhgari
4a7e1635a3
Bug 1318875 - Stop using nsIPrincipal.APP_STATUS_INSTALLED in test_xpcwn_tamperproof.js; r=baku
...
Instead of the principal object, we use the command line object which is
another XPCOM object with classinfo that has an attribute, a method and
a constant.
2016-11-20 11:20:56 -05:00
Jan de Mooij
e472d96785
Bug 1317943 - Fix ThrowReadOnlyError to pass the index instead of the object to the error reporter. r=nbp
2016-11-19 11:14:13 +01:00
Jan de Mooij
29aef77ff6
Bug 1318634 - Fix AddCacheIRGetPropFunction to add the receiver after doing other checks. r=h4writer
2016-11-19 11:13:04 +01:00
Jeff Walden
3c318225d8
Bug 1309851 - Fix unified builds. r=bustage
...
--HG--
extra : rebase_source : a326de11a73864eb75539488b37cc92050981d04
2016-11-18 17:32:42 -08:00
Jeff Walden
fbd57c7dd3
Bug 1309851 - Use proper mutices to protect local time zone adjustment data and the up-to-dateness of ICU's cached local time zone. r=sfink, r=fitzgen
...
--HG--
extra : rebase_source : f6e7055fc7779eb4105fe8c7cf7411d01db5c4c0
2016-11-11 20:34:56 -08:00
Jeff Walden
873a735b10
Bug 1296814 - Report errors for bad increment/decrement operands using explicitly-specified offsets. r=anba
...
--HG--
extra : rebase_source : e3b2895fb9f2b8c7aaabb93bc432902185385a59
2016-11-14 14:59:26 -08:00
Jeff Walden
b97bff3170
Bug 1296814 - Simplify checking of targets within destructuring patterns. r=anba
...
--HG--
extra : rebase_source : 884c343c765819d09ea7725d0b3c4b6ff2d8cf01
2016-11-14 14:50:07 -08:00
Jeff Walden
547ffa5275
Bug 1296814 - Simplify increment/decrement operand checking. r=anba
...
--HG--
extra : rebase_source : 8c813b7e14d0d932b250c698da8a23f8a8459094
2016-11-14 14:05:11 -08:00
Jeff Walden
c97fa5e795
Bug 1296814 - Inline Parser::checkAssignmentToCall into its one caller for clarity. r=anba
...
--HG--
extra : rebase_source : a62c7b4144dae39b74cd7f9259296204b725129e
2016-11-14 12:53:38 -08:00
Jeff Walden
39872acbcd
Bug 1317379 - Disallow generator functions and async functions as direct children of if/else. r=arai
...
--HG--
extra : rebase_source : 826984a7028e57b2eccd66623a24f495e3461999
2016-11-14 18:04:47 -08:00
Tom Schuster
9ecd567697
Bug 1155700 - Enable Map/Set Xrays. r=bz
2016-11-19 01:17:53 +01:00
Tom Schuster
4a506eb986
Bug 1155700 - Change Map/Set to use ClassSpec. r=arai
2016-11-19 01:17:53 +01:00
Benjamin Bouvier
f4ed6903f6
Bug 1316634: Use CheckedInt before checking against maximum limits; r=luke
...
MozReview-Commit-ID: J6AEd0sZk3o
--HG--
extra : rebase_source : 8058c7458d39b350cf0aae6b7470081396038c0c
2016-11-18 17:07:35 +01:00
Benjamin Bouvier
863402e536
Bug 1316634: Implement efficient WebAssembly.validate; r=luke
...
MozReview-Commit-ID: JsMz8qghq1H
--HG--
extra : rebase_source : 839e72010b66092426c5de080731ea5f8ffbd0da
2016-11-17 19:18:05 +01:00
Benjamin Bouvier
77ee808364
Bug 1316634: Move function validation to WasmBinaryFormat.h/cpp && rename it WasmValidate; r=luke
...
MozReview-Commit-ID: KetNpyZd1J7
--HG--
extra : rebase_source : a36927478437e48a202e27c67424bc41f6a8224b
2016-11-17 18:51:44 +01:00
Benjamin Bouvier
de03598e32
Bug 1316634: Use ModuleEnvironment in the FunctionDecoder; r=luke
...
MozReview-Commit-ID: 39Ry3kh32Rb
--HG--
extra : rebase_source : 2b36401fa5b05b9f016608ff2336db112e702471
2016-11-17 18:32:22 +01:00
Benjamin Bouvier
9e832f6dff
Bug 1317319: Account imported globals when checking against the maximum number of globals; r=luke
...
MozReview-Commit-ID: EfaQKNWHqVw
--HG--
extra : rebase_source : fbe8402289635451a09adb65ea036c5b634dcbe6
2016-11-17 17:03:40 +01:00
Benjamin Bouvier
5de8b7cc2d
Bug 1317319: Embed most section decoding under DecodeModuleEnvironment; r=luke
...
MozReview-Commit-ID: 2bUlV7Rb0Lb
--HG--
extra : rebase_source : 2bea21ccad536e6ddf731fd2dab30c19aa76306d
2016-11-18 18:06:58 +01:00
Benjamin Bouvier
5f4669c3db
Bug 1317319: Rename ModuleGeneratorData to ModuleEnvironment; r=luke
...
(and move it to WasmBinaryFormat.h)
MozReview-Commit-ID: BPJgldAPafe
--HG--
extra : rebase_source : 0d1a74786d32d559643445e601d5e9eb4c7eb514
2016-11-17 14:23:07 +01:00
Benjamin Bouvier
9dbd428f1f
Bug 1317319: Fix BinaryToAST function validation; r=luke
...
MozReview-Commit-ID: HeZsbyx4Bg9
--HG--
extra : rebase_source : 266f89e33d652523d52a81e2e6af04a248bca937
2016-11-16 18:17:42 +01:00
Luke Wagner
8c5fff9cfe
Bug 1318039 - Better fix for asm.js cache build-id mismatches (r=bbouvier)
...
MozReview-Commit-ID: HpDsEoMPM2T
--HG--
extra : rebase_source : 0e972cfe45e4faded329c775b68d3a958ca7e95c
2016-11-18 11:50:01 -06:00
Tooru Fujisawa
8bd7324ff0
Bug 1317555 - Report jsapi-tests crash in autospider.py. r=glandium
2016-11-19 01:13:19 +09:00
Tooru Fujisawa
094b5da9d7
Bug 1180306
- Part 3: Close iterator after error in Promise.{all,race}. r=till
2016-11-19 01:13:08 +09:00
Tooru Fujisawa
19dd1ec954
Bug 1180306
- Part 2: Close iterator after error in Array.from. r=evilpie
2016-11-19 01:13:08 +09:00
Tooru Fujisawa
e3c8309e68
Bug 1180306
- Part 1: Close iterator after error in {Map,Set,WeakMap,WeakSet} constructors. r=evilpie
2016-11-19 01:13:08 +09:00
Tooru Fujisawa
f679a4767c
Bug 1317153 - Provide better error message when errornous syntax possibly match "await SOMETHING" outside async function. r=till
2016-11-18 05:51:41 +09:00
Jon Coppeard
72039bc43f
Bug 1318384 - Don't trigger pre barrier in WrapperAnswer::RecvDropObject r=billm
2016-11-18 13:18:09 +00:00
Jon Coppeard
3dd2a5d1fe
Bug 1318384 - Don't trigger pre barrier in WatchpointMap::markAll r=jandem
2016-11-18 13:18:09 +00:00
Carsten "Tomcat" Book
1926c317eb
Backed out changeset 4e8c181309b1 (bug 1318017) for j1 test failures
...
--HG--
extra : rebase_source : d5decfefa03d25fa3d66c3fe4d243c3e1524880a
2016-11-18 13:16:26 +01:00
André Bargull
fbed2f7f0d
Bug 1318017: Call GetPrototypeFromConstructor for generator, async function, and Intl constructors. r=arai
2016-11-17 11:20:55 -08:00
André Bargull
bc0ae795cd
Bug 1317389: Change property attributes for generator and async functions to match ES2015/2017. r=Waldo
2016-11-17 10:09:02 -08:00
Phil Ringnalda
e3b53628aa
Merge m-c to m-i
...
MozReview-Commit-ID: GwBaSZdoAZK
2016-11-17 20:33:59 -08:00
Phil Ringnalda
61baa2aa9a
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: A3wgReQAalj
2016-11-17 19:21:20 -08:00
Brian Hackett
dea06b8fe2
Bug 1315596 - Don't evict bundles which won't help with allocating the target bundle, r=sunfish.
...
--HG--
extra : rebase_source : 56c3bf52de7f048c039546340cf5568458d407ea
2016-11-16 13:09:44 -07:00
Luke Wagner
df477675a5
Bug 1318252
- Baldr: Serialize Import's DefinitionKind (r=bbouvier)
...
MozReview-Commit-ID: FsUMnRJsLdV
2016-11-17 09:16:21 -06:00
Luke Wagner
7b992ea537
Bug 1318039 - Baldr: Make preamble of asm.js cache entries word-size-invariant (r=bbouvier)
...
MozReview-Commit-ID: GbIeV6JRYkG
2016-11-17 09:15:32 -06:00
Luke Wagner
724e0cf4c7
Bug 1317967 - Baldr: Fix x86 float32 stack argument passing (r=bbouvier)
...
MozReview-Commit-ID: 2NZPFZQZPcI
2016-11-17 09:15:30 -06:00
Carsten "Tomcat" Book
6b449c42cb
Backed out changeset 1daa455a877d (bug 1285074) for spidermonkey bustage
...
--HG--
extra : rebase_source : 68e71978de09db3191b65cd22f938f2f569ae3c6
2016-11-17 15:26:00 +01:00
André Bargull
af66848eae
Bug 1314920 - Update tzdata in ICU data files to 2016i. r=Waldo
...
--HG--
extra : rebase_source : 3c3b0fa19d7d8f8a47148afaea4290fe6d9b6e65
2016-11-07 10:10:21 -08:00
Ryan VanderMeulen
85a696c413
Bug 1318195 - Only build RegisterXPCTestComponents if tests are enabled. r=froydnj
...
--HG--
extra : rebase_source : b02e7acb1299a816be1f182fc7c1821f1d566ee7
2016-11-17 12:48:23 -05:00
Mike Shal
ad4478f15e
Bug 1183613 - Cross compile universal OSX builds in Taskcluster; r=froydnj,ted
...
MozReview-Commit-ID: HNTqiVF9gov
--HG--
extra : rebase_source : 3e02cd433e45f4bb5759f093aaccade2d49745c3
2016-10-21 13:54:10 -04:00
André Bargull
1b5ddd7d54
Bug 1317387: The intrinsic %ThrowTypeError% function should be frozen. r=till
2016-11-16 08:27:51 -08:00
André Bargull
fb41301b0b
Bug 1317306: Length property of %TypedArray% is zero in ES2016. r=evilpie
2016-11-14 12:27:30 -08:00
Georg Kilzer
9d001f6f2b
Bug 1316079 - Mark JS::PropertyDescriptor as JS_PUBLIC_API to fix linking. r=luke
...
Don't import JS::PropertyDescriptor into the js:: namespace, to work around
GCC emitting a warning for the attribute specification on a forward decl,
after the definition was already seen.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39159 .
2016-11-15 19:31:58 +01:00
Robin Templeton
a34e46e54f
Bug 1188586 - Fix exponentiation of non-primitive values. r=jandem
...
--HG--
extra : rebase_source : a76c03fa57b1da59f190120a7ff63d7c3eff0bdc
2016-11-16 23:38:00 +01:00
Sean Stangl
4fb677b7e6
Bug 1285074 - Make ICacheMap manipulation signal-safe. r=luke
...
--HG--
extra : rebase_source : 1008782cffe6b8b66bc0acee5c4de89991bc3263
2016-11-14 16:07:00 +01:00
Taahir Ahmed
06af5e9e9c
Bug 1294042 - Implement constant folding for MPow r=h4writer
...
Fold MPow instructions that have constant `x` and `p` arguments.
--HG--
extra : rebase_source : 73d5ba820651b947e804a31be9cc94fe3352c9cd
2016-11-14 09:52:00 +01:00
Lars T Hansen
1893c0826c
Bug 1317678 - don't unconditionally unroll stack probe loop. r=luke
...
--HG--
extra : rebase_source : a0b627304d438e82d76c023f47d85fc6edf0339a
2016-11-16 12:28:52 +01:00
Benjamin Bouvier
45a60b933d
Bug 1317319: Tweak AstDecodeFunctionBody; r=luke
...
MozReview-Commit-ID: 1L4vvX2hZVw
--HG--
extra : rebase_source : 0a70ac8a0d83e2151d5d5d306566f816ead3c43f
2016-11-16 17:47:57 +01:00
Benjamin Bouvier
3d4a1e30bc
Bug 1317319: Move sections decoding around to follow their order in the binary; r=luke
...
MozReview-Commit-ID: 5XVYSjsrG88
--HG--
extra : rebase_source : 86898b1df21a784c0029af21d0af91624fd5cb32
2016-11-16 16:36:56 +01:00
Benjamin Bouvier
7adf0b58f0
Bug 1317319: Factor out Elem section decoding; r=luke
...
MozReview-Commit-ID: BAYTHtquTNB
--HG--
extra : rebase_source : 777055ca18695fad104d2c41ba97beed879e26ce
2016-11-16 16:21:31 +01:00
Benjamin Bouvier
0047ed0903
Bug 1317319: Factor out Start section decoding; r=luke
...
MozReview-Commit-ID: AkPEzwKMFrk
--HG--
extra : rebase_source : c901f1c84b4f92d8aed7a46a1695f3ecbc93dbfb
2016-11-15 21:02:47 +01:00
Benjamin Bouvier
f59f5c58b0
Bug 1317319: Factor out Export section decoding; r=luke
...
MozReview-Commit-ID: 34Fh7lPklN1
--HG--
extra : rebase_source : 3b035f45fe70302839d295e3982d2c6e53ec4cc7
2016-11-15 20:33:34 +01:00
Benjamin Bouvier
a1b8e76ed3
Bug 1317319: Factor out Global section decoding; r=luke
...
MozReview-Commit-ID: 2kIKnu4BAQN
--HG--
extra : rebase_source : 3f2da9458f3ee63d1dddd64d99e74dda551561c6
2016-11-14 17:40:56 +01:00
Benjamin Bouvier
c27ec0f4da
Bug 1317319: Factor out Table section decoding; r=luke
...
MozReview-Commit-ID: LGioDvK655t
--HG--
extra : rebase_source : 6c061d1cfccd8fc1be0f2ee6ea77e9a37f99a327
2016-11-14 16:44:21 +01:00
Jan de Mooij
3aca311a38
Bug 1310125 part 3 - Fix IsCacheableGetPropCallScripted perf regression. r=h4writer
...
--HG--
extra : rebase_source : 79d0d2960fb5186d613d5450e9ba1c61fe30c305
2016-11-17 12:00:15 +01:00
Jan de Mooij
0fb423f312
Bug 1289610 - Don't discard Baseline code in ~AutoClearTypeInferenceStateOnOOM. r=bhackett
2016-11-17 10:30:49 +01:00
Tooru Fujisawa
2e362c67db
Bug 1317824 - Check debugger resumption value of generator and async function. r=jimb
2016-11-17 14:19:51 +09:00
Wes Kocher
a3307e8f09
Merge m-c to inbound, a=merge CLOSED TREE
2016-11-16 17:17:05 -08:00
Wes Kocher
f9e9d69899
Merge inbound to m-c a=merge CLOSED TREE
2016-11-16 17:07:26 -08:00
Tooru Fujisawa
451cb4e41a
Bug 1318076 - Move Async Functions tests to js/src/tests/ecma_2017 directory. r=till
...
--HG--
rename : js/src/tests/ecma_7/AsyncFunctions/BoundNames.js => js/src/tests/ecma_2017/AsyncFunctions/BoundNames.js
rename : js/src/tests/ecma_7/AsyncFunctions/EarlyErrors.js => js/src/tests/ecma_2017/AsyncFunctions/EarlyErrors.js
rename : js/src/tests/ecma_7/AsyncFunctions/arguments_callee.js => js/src/tests/ecma_2017/AsyncFunctions/arguments_callee.js
rename : js/src/tests/ecma_7/AsyncFunctions/async-contains-unicode-escape.js => js/src/tests/ecma_2017/AsyncFunctions/async-contains-unicode-escape.js
rename : js/src/tests/ecma_7/AsyncFunctions/clone.js => js/src/tests/ecma_2017/AsyncFunctions/clone.js
rename : js/src/tests/ecma_7/AsyncFunctions/constructor.js => js/src/tests/ecma_2017/AsyncFunctions/constructor.js
rename : js/src/tests/ecma_7/AsyncFunctions/identity.js => js/src/tests/ecma_2017/AsyncFunctions/identity.js
rename : js/src/tests/ecma_7/AsyncFunctions/length.js => js/src/tests/ecma_2017/AsyncFunctions/length.js
rename : js/src/tests/ecma_7/AsyncFunctions/methods.js => js/src/tests/ecma_2017/AsyncFunctions/methods.js
rename : js/src/tests/ecma_7/AsyncFunctions/property.js => js/src/tests/ecma_2017/AsyncFunctions/property.js
rename : js/src/tests/ecma_7/AsyncFunctions/semantics.js => js/src/tests/ecma_2017/AsyncFunctions/semantics.js
rename : js/src/tests/ecma_7/AsyncFunctions/syntax-arrow.js => js/src/tests/ecma_2017/AsyncFunctions/syntax-arrow.js
rename : js/src/tests/ecma_7/AsyncFunctions/syntax-modules.js => js/src/tests/ecma_2017/AsyncFunctions/syntax-modules.js
rename : js/src/tests/ecma_7/AsyncFunctions/syntax.js => js/src/tests/ecma_2017/AsyncFunctions/syntax.js
rename : js/src/tests/ecma_7/AsyncFunctions/toString.js => js/src/tests/ecma_2017/AsyncFunctions/toString.js
rename : js/src/tests/ecma_7/AsyncFunctions/yield.js => js/src/tests/ecma_2017/AsyncFunctions/yield.js
2016-11-17 08:17:47 +09:00
David Major
5d73eed001
Bug 1316815
followup build fix on a CLOSED TREE
...
--HG--
extra : amend_source : 613bf0e302fdb284b9f879ecd4dd55a8382cf004
2016-11-16 13:43:30 -06:00
David Major
df94541e18
Bug 1316815
- Make RegI32, RegI64, RegF32, RegF64 inherit from, not wrap, Register, Register64, FloatRegister. r=lth
...
MozReview-Commit-ID: Hz19c0V9Lra
--HG--
extra : rebase_source : f315f076bc93ff2a6d122d4fdd5e3975cf942e0b
2016-11-16 13:11:48 -06:00
Benjamin Smedberg
ef89ac1033
Bug 1314955 part A - Move the binary xpconnect testing components into libxul so that we can remove support for external binary components. Ideally we'd only compile these into the xul-gtest version, but currently we can't run xpcshell tests against that version, so I'm going to put them into the release xul, r=mrbkap
...
MozReview-Commit-ID: Lr6uKtzXdEb
--HG--
extra : rebase_source : d6c813e568ba62bcc7174a0fc990ccf4364717e6
extra : source : c78f97c0b77126fa37c857728192f2e2d0c2d99c
2016-11-16 12:28:57 -05:00
Carsten "Tomcat" Book
e7ca75286b
Merge mozilla-central to inbound
2016-11-16 14:53:15 +01:00
Lars T Hansen
be505bec4e
Bug 1316850 - restore old value stack popping regime, with a twist. r=bbouvier
...
--HG--
extra : rebase_source : 4d4bdb1da6f0262d3fca1743d3b6f4b7bd8280ae
extra : histedit_source : 1c702a6bc64847f3eb052bbbf00d01814cb02020%2C8399b46256e99d79cce4b3f1ef66fbaa4d5b8e9c
2016-11-16 11:36:30 +01:00
Lars T Hansen
e2d9695f53
Bug 1316850 - clean up void handling. r=bbouvier
...
--HG--
extra : rebase_source : 04653cd277f149651d042c266d57381893cb37cf
extra : histedit_source : f57ab16b21fa411f7a8e050a574c4d3a92386eb0%2Ca0f9b3437c726142d81366979eda84880000737e
2016-11-16 11:29:46 +01:00
Lars T Hansen
5c914aed96
Bug 1316850 - reduce code duplication. r=bbouvier
...
--HG--
extra : rebase_source : 4be7102671b33f96281816705479aa61c4e30ecc
extra : histedit_source : f47ace45bec8f31826492ca4cd68ba80622cfbc8
2016-11-15 10:16:05 +01:00
Lars T Hansen
63bf3be32c
Bug 1316850 - make sure we don't fall through into endFunction. r=bbouvier
...
--HG--
extra : rebase_source : 79b84aae64e7a58a6b79d82d424ad21645f6307e
extra : histedit_source : 2aef3ae9bf85f5c4761fb440e1bba1afdb3c287a%2Cef6d9d8ec0593d8b29f471d37fbd0f4da3ba5250
2016-11-16 11:24:34 +01:00
Lars T Hansen
d56a59418c
Bug 1316850 - no need to allow null label in pushControl. r=bbouvier
...
--HG--
extra : rebase_source : e56cd2f4a20212070623d618359c1c54bdc27829
2016-11-14 11:50:06 +01:00
Lars T Hansen
735010de1f
Bug 1316850 - check return from fallible allocator. r=bbouvier
...
--HG--
extra : rebase_source : e340b73e0a1ee8a830fb6a55b5981771aba590f8
2016-11-11 13:55:38 +01:00
Benjamin Bouvier
692e33962a
Bug 1317090: Remove js::FindBody; r=arai
...
MozReview-Commit-ID: EmR0HZEYvW7
--HG--
extra : rebase_source : 6e732474aa0d695f5fa6582d1a882eabcca98bdb
2016-11-15 19:45:37 +01:00
Kan-Ru Chen
f8100451db
Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
...
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.
MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Iris Hsiao
5f1776f800
Backed out changeset c78f97c0b771 (bug 1314955)
2016-11-16 15:19:46 +08:00
Benjamin Smedberg
e6c91228b2
Bug 1314955 part A - Move the binary xpconnect testing components into libxul so that we can remove support for external binary components. Ideally we'd only compile these into the xul-gtest version, but currently we can't run xpcshell tests against that version, so I'm going to put them into the release xul, r=mrbkap
...
MozReview-Commit-ID: Lr6uKtzXdEb
--HG--
extra : rebase_source : 5e9e9d065010b3d772c1795b798530cb00828637
2016-10-26 11:47:52 -04:00
Vladimir Vukicevic
711fd6d172
Bug 1300925 - Change Intl.cpp stubs to an anonymous namespace. r=Waldo
...
MozReview-Commit-ID: 9Ed1gglWsby
--HG--
extra : rebase_source : f15bd828157fa0d68ac975fef305bcb654112afc
2016-11-15 14:08:05 -06:00
Jan de Mooij
fe63cb28aa
Bug 1317402 - Clear the isBigEnoughForAShapeTable cache when removing dictionary shapes. r=jonco
2016-11-15 16:47:14 +01:00
Jan de Mooij
2ae2fb85cd
Bug 1315262 - Don't purge shape tables in the self-hosting zone. r=jonco
2016-11-15 16:46:17 +01:00
Jan de Mooij
f8afc80a70
Bug 1310125 part 2 - Port Baseline scripted getter IC stub to CacheIR. r=h4writer
2016-11-15 15:54:14 +01:00
Jan de Mooij
0146e7a2b0
Bug 1310125 part 1 - Don't use |holder| for own property getters/setters in IonBuilder. r=h4writer
2016-11-15 15:54:12 +01:00
Jan de Mooij
44e40b79ad
Bug 981201 - Stop using JS_IsRunning in PreciseGCRunnable::Run and remove JS_IsRunning. r=bholley
2016-11-15 10:58:30 +01:00
André Bargull
96d41c633a
Bug 1317311: Check for absent instead of undefined argument in TypedArray.prototype.lastIndexOf. r=evilpie
2016-11-14 12:26:23 -08:00
André Bargull
b8d7c0826c
Bug 1317310: Disallow trailing decimal digit after null-escape in character classes in Unicode regular expressions. r=arai
2016-11-14 12:26:59 -08:00
André Bargull
7993c40cc7
Bug 1317309: Throw a TypeError when passing a Symbol value to ToAtom. r=till
2016-11-14 12:28:35 -08:00
André Bargull
9af44ca171
Bug 1317308: Don't match Mongolian vowel separator as white space in regular expressions. r=arai
2016-11-14 12:28:13 -08:00
André Bargull
ae832a8e94
Bug 1317307: Throw a TypeError when attempting to change array.length to accessor property. r=till
2016-11-14 12:27:52 -08:00
Nicolas B. Pierron
6ff62e4d56
Bug 1316830 - Use default value instead of duplicating code. r=bbouvier
2016-11-14 07:27:00 +01:00
Tooru Fujisawa
633454547d
Bug 1317460 - Detect uncatchable exception in AsyncFunctionThrown. r=till
2016-11-15 13:00:50 +09:00
Tooru Fujisawa
6db3eda41a
Bug 1285710 - Add testcase for error message for redeclaration error. r=shu
2016-11-15 13:00:50 +09:00
Jeff Walden
ee8181b148
Bug 1296814 - Specify an explicit offset when reporting an error for a for-of loop whose target is an expression that begins with 'let'. r=arai
...
--HG--
extra : rebase_source : 38ca3e740f323cd121df4c493693618fe7f75661
2016-11-13 20:51:23 -08:00
Jeff Walden
bcbee88857
Bug 1296814 - Simplify checking of the left-hand side of assignment and compound assignment expressions. r=anba
...
--HG--
extra : rebase_source : a4d84f9b9e164dca5dfe23fe60d0fd7a94c0240f
2016-11-13 20:50:54 -08:00
Jeff Walden
4fc1778679
Bug 1296814 - Remove for-in/of loop parsing code that redundantly marks the loop target as assigned -- Parser::forHeadStart already does this. r=anba
...
--HG--
extra : rebase_source : 62a97d9560f32bc692ddcea345c428d788f664c5
2016-11-13 00:33:38 -08:00
Jeff Walden
f746b98c82
Bug 1296814 - Report some errors about invalid left-hand-sides in for-in/of loop heads using much-simpler code with an explicitly computed offset. r=anba
...
--HG--
extra : rebase_source : 43f3577711b4e05965793c8ece056c2c2bedb9b0
2016-11-13 00:33:30 -08:00
Jeff Walden
094a69b699
Bug 1296814 - Report the error for uninitialized const-declaration in for(;;) loop head using an explicit offset. r=anba
...
--HG--
extra : rebase_source : 7f22ef8b9db1676067905a3cfb4fa7a68b69fbe2
2016-11-13 00:12:38 -08:00
Jeff Walden
101a97496d
Bug 1296814 - Introduce Parser::warningAt for warnings at specified offsets. r=arai
...
--HG--
extra : rebase_source : 8860a1c0892bbce10ab367d58d0bf632785821bc
2016-11-13 00:12:28 -08:00
Jeff Walden
75f5a2dd55
Bug 1296814 - Report for-loop-decl-with-initializer errors using a specified offset instead of a node's offset. r=arai
...
--HG--
extra : rebase_source : c2b6fcd8aa21fe747ee2568a8c6d0d38da68db2a
2016-11-13 00:12:28 -08:00
Jeff Walden
29058eaa77
Bug 1296814 - Report bad-class-member errors using a specified offset instead of a node's offset. r=arai
...
--HG--
extra : rebase_source : 68379c893ea8d05b544a045d378e94f1be4b9305
2016-11-13 00:12:28 -08:00
Jeff Walden
e72e3de588
Bug 1296814 - Remove Parser::reportBadReturn and report simpler errors that don't use the offset of a node as location. r=arai
...
--HG--
extra : rebase_source : bb602d66d581b46a5b321137013d05e09ce60350
2016-11-13 00:11:39 -08:00
Jeff Walden
43a9efa314
Bug 1296814 - Introduce Parser::errorAt to reduce reporting an error at a particular offset to its bare essentials. r=anba
...
--HG--
extra : rebase_source : 350bdbf12b6eb64ff262c81765cbd624c8439d80
2016-11-13 00:10:54 -08:00
Jeff Walden
8b088449b9
Bug 1296814 - Inline Parser::checkFunctionDefinition into its sole caller. r=anba
...
--HG--
extra : rebase_source : 8b2176785d79551596bdedca51d81bba78335a79
2016-11-13 00:10:34 -08:00
Jeff Walden
bc4b5f070b
Bug 1296814 - Inline GeneratorKindFromPropertyType and AsyncKindFromPropertyType into their sole caller. r=me as trivial, and/or as response to review comment on previous patch
...
--HG--
extra : rebase_source : b99198bf8c6db1d3a9bfd656145e307bbce3b347
2016-11-13 00:10:08 -08:00
Jeff Walden
2fdbf4afb3
Bug 1296814 - Move the Parser::checkFunctionDefinition call, out of Parser::functionDefinition, into its few Statement-related callers. r=anba
...
--HG--
extra : rebase_source : cfcaa227d7e1d9ae8e4c00313a986a40547f1771
2016-11-13 00:05:10 -08:00
Jeff Walden
e383cddaf8
Bug 1296814 - Move a little bit of Parser::functionDefinition into callers. r=anba
...
--HG--
extra : rebase_source : df7937ee20727126f4e6255afbf1bf2dab2f1584
2016-11-12 21:30:55 -08:00
Jeff Walden
cd0a258caa
Bug 1296814 - Move FunctionDeclaration-as-consequent/alternative handling out of Parser::functionStmt into Parser::consequentOrAlternative. r=anba
...
--HG--
extra : rebase_source : 80a8b7e18a08dd9dfe2e9b95622ef0d80df73db8
2016-11-08 10:35:11 -08:00
Jeff Walden
80e3524951
Bug 1296814 - Track strict mode errors in |for (var i = ... in ...)| correctly when syntax-parsing. r=anba
...
--HG--
extra : rebase_source : a6aaf4e07b9aa9962a38a2eb6adedec320a84a2d
2016-11-07 15:23:19 -08:00
Jeff Walden
94f6d08b5a
Bug 1296814 - Track strict mode errors in unary deletions correctly when syntax-parsing. r=anba
...
--HG--
extra : rebase_source : 61e00449a07bcca21fdf8b10efad43906a119e1d
2016-11-07 15:23:18 -08:00
Jeff Walden
d141fe456e
Bug 1296814 - Specify an explicit offset when warning about "use asm" found in the directive prologue of a script (rather than a function body). r=anba
...
--HG--
extra : rebase_source : 40239791b101a8a53f924d71944e412a0b5dbb31
2016-11-07 15:23:18 -08:00
Jeff Walden
1eb4cc8925
Bug 1296814 - Introduce Parser::error(unsigned errorNumber, ...) to reduce reporting errors at the current offset to its bare essentials. r=arai
...
--HG--
extra : rebase_source : 1990d7abb343aea9b63b90ee22535346d83345c0
2016-11-07 15:23:18 -08:00
Jeff Walden
a89de50724
Bug 1296814 - Introduce Parser::warning. r=anba
...
--HG--
extra : rebase_source : 7f1337a59f5aa5938722e9ac4f1aa42190eac762
2016-11-07 15:23:18 -08:00
Jeff Walden
3867d8ce13
Bug 1296814 - Introduce Parser::extraWarning. r=anba
...
--HG--
extra : rebase_source : a9bee3683754ea661a13a4438d0e79f6b711702b
2016-11-07 15:23:17 -08:00
Jeff Walden
a57eb68e02
Bug 1296814 - Remove the |bool strict| argument from the report-at-current-offset Parser function. r=arai
...
--HG--
extra : rebase_source : f35d5cb3543c93560f563ea23363f6f08ad5bdbc
2016-11-07 15:23:17 -08:00
Jeff Walden
2afe6227ce
Bug 1296814 - Split out Parser::strictError for the two calls that don't pass |bool strict = false|, so that |bool strict| can be removed from the current signature. r=arai
...
--HG--
extra : rebase_source : 061e1d88515399cb8824d3d12857e84c1c0e8b00
2016-11-07 15:23:17 -08:00