Commit Graph

222 Commits

Author SHA1 Message Date
Andy Wingo
7d559ef8c3 Bug 1527860 - Remove ENABLE_BIGINT #ifdef r=jandem,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19766

--HG--
extra : moz-landing-system : lando
2019-02-14 15:03:44 +00:00
André Bargull
6b7d6152d7 Bug 1522465 - Part 3: Remove remaining users of JSCLASS_IS_ANONYMOUS. r=jorendorff 2019-01-24 05:46:03 -08:00
Steve Fink
10953d54c2 Bug 1513108 - Remove the separate class extension hook for getting a weakmap key delegate, r=jonco
Replace with just unwrapping the key, since there are no users that return anything else for a delegate.

--HG--
extra : rebase_source : e72b825121ca3493364c9347f65e5dddd1ef53e0
2018-12-07 14:38:01 -08:00
André Bargull
564dc6c495 Bug 1435829 - Part 1: Implement String.prototype.matchAll proposal. r=jorendorff 2018-12-13 08:04:00 -08:00
Tooru Fujisawa
7983faeb5d Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
Benjamin Bouvier
a7f1d173a0 Bug 1511383: Update vim modelines after clang-format; r=sylvestre
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)

--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01:00
Sylvestre Ledru
265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Tom Schuster
2838fc8779 Bug 1496475 - Object.defineProperty needs to be able to return false when trying to define a non-configurable property on a WindowProxy. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D12948

--HG--
extra : moz-landing-system : lando
2018-11-27 11:38:28 +00:00
Jan de Mooij
e39a94637e Bug 1509010 - Fix some clang-format comment issues in js/public. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D12535

--HG--
extra : moz-landing-system : lando
2018-11-21 18:12:57 +00:00
Jan de Mooij
bccfe7c569 Bug 1508065 - Change JS_PUBLIC_{API,DATA} and JS_FRIEND_{API,DATA} to be more like similar macros to avoid confusing clang-format. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D12256

--HG--
extra : moz-landing-system : lando
2018-11-19 17:02:47 +00:00
Tom Schuster
0d00659591 Bug 1317422 - Implement JavaScript globalThis proposal. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D11322

--HG--
extra : moz-landing-system : lando
2018-11-14 15:57:03 +00:00
Jan de Mooij
0811112d77 Bug 1489242 - Add {} to example code in comments. r=jorendorff
I didn't change some similar comments that were pseudo code or JS code.

Differential Revision: https://phabricator.services.mozilla.com/D7590

--HG--
extra : moz-landing-system : lando
2018-10-03 14:41:29 +00:00
Logan F Smyth
486d98a2d8 Bug 888390 - Expose a get/setProperty function on Debugger.Object instances. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D5915

--HG--
extra : moz-landing-system : lando
2018-09-21 22:14:31 +00:00
Jan de Mooij
ab644b087f Bug 1488698 - Always use braces for if/for/while statements in js/public. r=jandem
--HG--
extra : rebase_source : 075f0747c9256fee67925853b501b7a3549cebba
2018-09-06 12:11:07 +02:00
Boris Zbarsky
4af64d8709 Bug 1479793. Throw when someone tries to define an accessor property with an integer name on a DOM proxy with an indexed setter. r=qdot,jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D2571

--HG--
extra : moz-landing-system : lando
2018-08-10 17:04:58 +00:00
Tom Schuster
9aeac2c930 Bug 1329321 - Add a soft-fail mechanism for JS ObjectOpResult. r=jorendorff
--HG--
extra : rebase_source : 168a0a678d62879dce0075ecedb8fb0703ceb8c1
2018-05-16 22:11:25 +02:00
Robin Templeton
d94dd48d6f bug 1366287 - Part 3: Define the BigIntObject class for BigInt wrapper objects. r=jwalden
--HG--
extra : rebase_source : 13c0fad1858df84252c4a796fcf3c2d2e08009a6
2018-05-11 19:43:45 -07:00
Jon Coppeard
65b2944794 Bug 1461751 - Simplify module resolve hook to be a function pointer r=luke r=baku 2018-05-16 11:59:09 +01:00
Ciure Andrei
a7fbf22348 Backed out 11 changesets (bug 1457560, bug 1366287) for causing Linux build bustages CLOSED TREE
Backed out changeset e71da1f3c048
Backed out changeset 971159738904 (bug 1366287)
Backed out changeset 68fae6784ebe (bug 1366287)
Backed out changeset a18120245eb7 (bug 1366287)
Backed out changeset 3bbd03d726e5 (bug 1366287)
Backed out changeset f80aac2c702a (bug 1366287)
Backed out changeset c834c0c12a7f (bug 1366287)
Backed out changeset dd19d38a2b1c (bug 1366287)
Backed out changeset 76fdbe405fbd (bug 1366287)
Backed out changeset b424782cd5d1 (bug 1366287)
Backed out changeset e4fd5393d398 (bug 1457560)
2018-05-12 08:00:13 +03:00
Robin Templeton
5483d5185c bug 1366287 - Part 3: Define the BigIntObject class for BigInt wrapper objects. r=jwalden 2018-05-11 19:43:45 -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
Jon Coppeard
a9547048d9 Bug 1441988 - Simplify AutoVector definitions by making this a template r=sfink 2018-03-01 14:47:29 +00:00
Jon Coppeard
7a796ccffb Bug 1417123 - Move high level GC APIs to public/GCAPI.h r=sfink 2017-11-16 12:21:07 +00:00
Jan de Mooij
b4503bfe8c Bug 1083482 part 1 - Remove SpiderMonkey support for legacy generators. r=arai 2017-11-01 10:48:10 +01:00
Tom Schuster
7a6aff2c7e Bug 638054 - Remove watch class-hook and proxy trap r=jorendorff,bz 2017-10-24 20:48:14 +02:00
Zibi Braniecki
c14c88b4c3 Bug 1270140 - Add Intl.RelativeTimeFormat. r=Waldo
MozReview-Commit-ID: GqetnVVmXXL

--HG--
extra : rebase_source : 131c125e73e2132d6b1abb2489ecf8e96412b8a5
2017-10-06 07:00:08 -07:00
Phil Ringnalda
e4dbaefed7 Backed out changeset 024ce7dd2f65 (bug 1270140) for check_spidermonkey_style.py failures
MozReview-Commit-ID: KyttCEkmYSo
2017-10-09 21:06:15 -07:00
Zibi Braniecki
71799db666 Bug 1270140 - Add Intl.RelativeTimeFormat. r=Waldo
MozReview-Commit-ID: GqetnVVmXXL

--HG--
extra : rebase_source : a9f30e017fe630c36cb560accca067c5859a545c
2017-10-06 07:00:08 -07:00
Jan de Mooij
68e468c3ff Bug 1403136 - Clean up JSSetterOp code now that slotful setters are gone. r=evilpie 2017-09-26 22:26:40 +02:00
Jon Coppeard
1077972535 Bug 1396613 - Update the object moved hook to allow it to be called when tenuring nursery objects r=sfink r=mccr8 2017-09-19 12:31:30 +01:00
Jan de Mooij
a5de55dced Bug 1389510 part 3 - Remove getProperty/setProperty hooks from ClassOps. r=evilpie 2017-08-25 10:12:16 +02:00
Jan de Mooij
ff7f9d6102 Bug 1389510 part 2 - Remove checks for getProperty/setProperty hooks in SpiderMonkey. r=evilpie 2017-08-25 10:11:44 +02:00
Jon Coppeard
abe09f4457 Bug 1362098 - Add source position to requested module information r=till 2017-08-23 17:24:37 +01:00
Tom Schuster
897d12a647 Bug 934669 - Remove the old GlobalObject warnOnce code. r=arai 2017-08-19 21:12:33 +02:00
Jan de Mooij
7e5724db61 Bug 1383775 - Clean up function toString/toSource code, remove remnants of source decompiler. r=anba 2017-07-25 13:22:11 +02:00
Jan de Mooij
e3abce18d2 Bug 627220 part 2 - Finalize external strings in the background. r=sfink 2017-06-26 10:24:08 -07:00
Jan de Mooij
17f7476bee Bug 627220 part 1 - Remove unused Zone* argument from external string finalizers. r=sfink 2017-06-26 10:23:50 -07:00
Jan de Mooij
83f290de99 Bug 1370608 part 1 - Move newEnumerate hook from ObjectOps to ClassOps. r=evilpie,bz 2017-06-14 10:37:44 +02:00
André Bargull
5bb206b75b Bug 1345115 - Part 1: Don't switch compartment when typed array constructor is called with arraybuffer from other compartment. r=Waldo
--HG--
extra : rebase_source : 97867f565d4dfc46519d440304bc8249f7e49966
2017-04-19 06:07:16 -07:00
Nick Fitzgerald
f4ff20cfd0 Bug 1277338 - Part 6: Turn various macro definitions into proper constants; r=sfink 2017-04-13 13:22:20 -07:00
Tooru Fujisawa
0d535229d3 Bug 1331092 - Part 7: Implement Async Generator yield*. r=shu 2017-03-27 23:20:19 +09:00
Tooru Fujisawa
f1ddcc75d7 Bug 1331092 - Part 2: Implement Async Generator except yield*. r=shu 2017-03-27 23:20:17 +09:00
Jan de Mooij
1ea46b80dd Bug 1330593 part 1 - Allow non-flat external strings. r=jwalden,bz 2017-01-26 18:40:41 +01:00
André Bargull
23189400e5 Bug 1328386 - Part 7: Implement legacy constructor semantics for Intl.DateTimeFormat per ECMA-402, 4th edition. r=Waldo 2017-01-23 08:33:47 -08:00
André Bargull
26c8fa8110 Bug 1328386 - Part 6: Implement legacy constructor semantics for Intl.NumberFormat per ECMA-402, 4th edition. r=Waldo 2017-01-23 08:33:43 -08:00
Jon Coppeard
d97a84c06a Bug 1331668 - Fix static build bustage r=me 2017-01-20 16:23:27 +00:00
Jon Coppeard
42c419e02b Bug 1331668 - Add a class to encapsulate the possible results of a property lookup r=jandem 2017-01-20 16:10:16 +00:00
Jeff Walden
ff4fd71576 Bug 1329046 - Simplify creation of DataViews backed by cross-compartment ArrayBuffers. r=sfink
--HG--
extra : rebase_source : e112182f32aa15f9ca512e3512a5f2ddc0948c5a
2016-12-16 15:35:03 -05:00
Nicholas Nethercote
dd6856ca4d Bug 1324330 (part 1) - Mark js::Class and related types as NONHEAP. r=mccr8.
--HG--
extra : rebase_source : 94d5d7fcc5719f59741c7b50750f5beceb6cb08a
2016-12-19 14:18:41 +11:00
Zibi Braniecki
ee5fe1af13 Bug 1270146 - Add PluralRules API. r=Waldo
MozReview-Commit-ID: 2WCcMjiGjwZ

--HG--
extra : rebase_source : 4fa494e35424be579ba3714bab2a4e1932d6404c
2016-12-20 11:54:44 -08:00