Commit Graph

58 Commits

Author SHA1 Message Date
Jon Coppeard
ddd906f3a1 Bug 650161 - We don't need an objectMoved hook for global objects r=terrence 2014-09-29 09:50:17 +01:00
Terrence Cole
e7ebd76a55 Bug 1064346 - JSFunction's extended attributes expect POD-style initialization. r=billm 2014-09-10 15:42:36 -07:00
Jeff Walden
f5477c2a39 Bug 896116 - Morph the dependent-JSProtoKey system to explicitly store a JSProtoKey, rather than relying on a system where a single class represents the parent and dependent both. Also convert error objects (Error, RangeError, &c.) to be represented by multiple classes, not a single one. r=bholley, r=till
--HG--
extra : rebase_source : 1d1913c49ae58be86e991077bda96684c6afb941
2014-09-18 20:06:32 -07:00
Lars T Hansen
1b8f15631b Bug 1054882 - Rollup patch. r=till, r=sstangl, r=jorendorff 2014-09-16 18:45:31 +02:00
Eric Faust
9b8255f0c4 Bug 966518 - Part 0: Make proxy callability into a trap, rather than a class check. (r=bholley, r=djvj, r=peterv) 2014-09-10 15:52:36 -07:00
Chris Peterson
b3b77faddd Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Jon Coppeard
d8d02056fe Bug 650161 - Add a class hook that's called when an object is moved r=terrence 2014-09-02 11:07:22 +02:00
Bobby Holley
1fdb7585c8 Bug 1050340 - Handle object and array. r=luke 2014-08-18 14:18:39 -07:00
Bobby Holley
601fef2922 Bug 1050340 - Handle maps and sets. r=luke 2014-08-18 14:18:39 -07:00
Bobby Holley
93348157b7 Bug 1050340 - Handle boxed values with a new proxy trap. r=luke 2014-08-18 14:18:39 -07:00
Birunthan Mohanathas
f475f7189b Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Jason Orendorff
736717218a Bug 1017067 - Merge deleteProperty/deleteElement ops back into a single deleteGeneric op. r=bhackett. 2014-06-05 13:19:23 -04:00
Bobby Holley
3d73ba55f1 Bug 992958 - Add support for prototype JSPropertySpecs on ClassSpec. r=luke 2014-05-23 16:53:03 -07:00
Bobby Holley
e5d175a98e Bug 992958 - Streamline __proto__ getter and setter definitions into a JSPropertySpec. r=luke
We don't need the nativeCall bits anymore.
2014-05-23 16:53:02 -07:00
Jan de Mooij
31fdf5f09e Bug 964915 part 1 - Remove cx argument from innerObject hook. r=efaust 2014-05-08 15:00:36 +02:00
Boris Zbarsky
bec6a79bcc Bug 1006718. Add some sanity static asserts about DOM object slot counts. r=peterv,jorendorff 2014-05-07 22:28:57 -04:00
Jason Orendorff
b4e94a9f46 Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo. 2014-04-25 16:11:02 -05:00
Jason Orendorff
40e61296e0 Bug 547140, part 1 - Remove JSRESOLVE_ASSIGNING. r=Waldo. 2014-04-25 16:11:00 -05:00
Boris Zbarsky
b146a467b0 Bug 822442. Keep track of DOM proxies in TI, like other DOM objects, so we can do the same call/get/set optimizaations with them. r=efaust 2014-04-15 22:58:45 -04:00
Jason Orendorff
0b5b4fd344 Bug 980016 - Remove SpecialId. r=njn. 2014-03-10 16:32:21 -05:00
Jim Blandy
582f932872 Bug 969273: Move JSPrincipals-related types and functions to their own header. r=mrbkap
JSSubsumesOp seems to have gotten dragged into Class.h somehow, but it's
not a metaobject protocol type at all. It belongs with JSSecurityCallbacks
and friends, which together form a chunk that could be neatly abstracted.
2014-03-07 11:50:41 -08:00
Nathan Froyd
0150dd2940 Bug 970498 - remove unnecessary padding in JSClass and js::Class; r=Waldo 2014-02-24 15:20:38 -05:00
Nathan Froyd
57de223160 Bug 970504 - make JS_CLASS_MEMBERS useful in more places; r=jorendorff 2014-02-24 15:08:57 -05:00
Chris Peterson
41e56b2e41 Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke 2014-02-17 22:24:15 -08:00
Daniel Holbert
84283bddce back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage. 2014-02-19 00:15:51 -08:00
Chris Peterson
966ea39163 Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke 2014-02-17 22:24:15 -08:00
Kannan Vijayan
0f22f62a83 Bug 952891 - Add PIC fast-path for ForOfIterator iteration over arrays. r=jimb r=jorendorff DONTBUILD 2014-02-13 14:29:00 -05:00
Kannan Vijayan
3d75a41155 Backed out changeset 45f374858666 (bug 852891) for bad commit message referencing wrong bug. DONTBUILD 2014-02-13 14:24:37 -05:00
Kannan Vijayan
9bd121838b Bug 972087 - Add PIC fast-path for ForOfIterator iteration over arrays. r=jimb r=jorendorff 2014-02-13 14:20:27 -05:00
Bobby Holley
9e65275dc6 Bug 959013 - Create storage for declarative class bootstrapping information on js::Class. r=luke 2014-02-04 07:51:54 -08:00
Eric Faust
f142659bfe Bug 924720 - Part 1: Implement IsProxy() using new JSClass flag. (r=jwalden) 2014-01-29 17:20:15 -08:00
Eric Faust
131ceafd59 Bug 924720 - Part 0: Free up spare JSClass flags. (r=jwalden) 2014-01-29 17:20:15 -08:00
Chris Peterson
6fcb2b7947 Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke 2014-01-24 20:14:56 -08:00
Bobby Holley
094cd93292 Bug 957688 - Kill off checkAccess. r=mrbkap 2014-01-24 16:08:26 -08:00
Jeff Walden
0b49543b89 Bug 948227 - Add code to warn when the __proto__ setter is called that it's very slow and shouldn't be used. (Don't use it yet, tho, because it requires the second part of bug 948583 to land first. Once that lands, fully enabling this just requires some uncommenting.) r=efaust
--HG--
extra : rebase_source : 87d320edcc99b6ef7df98c2470c78d4085aa4f99
2013-12-11 16:04:07 -08:00
Jon Coppeard
5c8646a2e7 Bug 959683 - Use rooting typedefs consistently in our public API r=sfink 2014-01-15 10:31:00 +00:00
Luke Wagner
7db5895601 Bug 924905 - Do a subsumes check inside the stack iterator. r=jandem
--HG--
extra : rebase_source : ff8407c4f79fd3e2264470379470c526a751e45f
2014-01-03 10:32:56 -06:00
Ivan Jibaja
6103f039ae Bug 946042 - Add all SIMD functions to the interpreter. r=till 2013-12-18 16:28:32 -05:00
Wes Kocher
a8ec671341 Backed out changeset ef0eeaec74a8 (bug 949183) on the theory that it somehow broke every single b2g test on a CLOSED TREE 2013-12-16 18:27:43 -08:00
Sean Stangl
0a79faf943 Bug 949183 - Fix jsid static constructor explosion. r=Waldo 2013-12-16 14:40:05 -08:00
Tom Schuster
153ffc1fbc Bug 697343 - Introduce a slice hook to allow optimizing Array.prototype.slice for Proxies etc. r=jandem,bz 2013-12-05 20:07:24 +01:00
Tom Schuster
f24c8c5b90 Bug 697343 - Remove getElementIfPresent. r=Waldo 2013-12-05 20:07:24 +01:00
Nicholas D. Matsakis
e126da2e0d Bug 933760 - Track a type object for each type representation, associate with the type descriptor r=bhackett 2013-11-01 11:10:47 -04:00
Ryan VanderMeulen
33d0976fb1 Backed out changesets 22770b30545b, 0809370fabdb, 4ef4764c1b55, and bfe768b87464 (bug 697343) due to Gaia UI test bustage.
CLOSED TREE
2013-12-05 16:19:47 -05:00
Tom Schuster
ee31489fb4 Bug 697343 - Introduce a slice hook to allow optimizing Array.prototype.slice for Proxies etc. r=jandem,bz 2013-12-05 20:07:24 +01:00
Tom Schuster
24a3fda1a8 Bug 697343 - Remove getElementIfPresent. r=Waldo 2013-12-05 20:07:24 +01:00
Jeff Walden
04e9645fc3 Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
--HG--
extra : rebase_source : 58dc71e7e58208a2cfa12b265adca7b189e5e5bd
2013-10-29 16:39:09 -07:00
Ryan VanderMeulen
9d31989c15 Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures. 2013-11-07 16:10:21 -05:00
Jeff Walden
39bee2a91f Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
--HG--
extra : rebase_source : b5bae3832b7718b579abb7c09f36c9c46907d7cc
2013-10-29 16:39:09 -07:00
André Bargull
0108f0ae11 Bug 928508 - Change String.prototype.@@iterator to iterate over code points. r=jorendorff. 2013-10-23 11:42:25 -05:00