André Bargull
b6f7f2b210
Bug 1389752 - Throw TypeError if [[OwnPropertyKeys]] of scripted proxies contains duplicates. r=till
2017-08-23 23:56:40 +02:00
Alexander J. Vincent
ee81e0046b
Bug 1383630 - ScriptedProxyHandler should report which first property a TypeError is thrown for. r=jandem
2017-08-03 13:33:02 -07:00
Jan de Mooij
87a9dd501c
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
e959a1182a
Bug 1379461 - Refactor code to return RegExpShared* directly instead of using bool + outparam. r=evilpie,sfink
2017-07-11 11:31:12 +02:00
Carsten "Tomcat" Book
0603cbc370
Backed out changeset 3a0a2ffe803b (bug 1379461) for hazard failure
2017-07-11 12:59:09 +02:00
Jan de Mooij
a2a13185d4
Bug 1379461 - Refactor code to return RegExpShared* directly instead of using bool + outparam. r=evilpie
2017-07-11 11:31:12 +02:00
Jan de Mooij
6ad0a86b42
Bug 1237504 - Refactor proxy slot layout to allow proxies to have more than 2 slots. r=bz,jonco
...
The patch makes the following proxy changes:
* The number of slots in ProxyValueArray is now dynamic and depends on the number of reserved slots we get from the Class.
* "Extra slots" was renamed to "Reserved slots" to make this clearer.
* All proxy Classes now have 2 reserved slots, but it should be easy to change that for proxy Classes that need more than 2 slots.
* Proxies now store a pointer to these slots and this means GetReservedSlot and SetReservedSlot can be used on proxies as well. We no longer need GetReservedOrProxyPrivateSlot and SetReservedOrProxyPrivateSlot.
And some changes to make DOM Proxies work with this:
* We now store the C++ object in the first reserved slot (DOM_OBJECT_SLOT) instead of in the proxy's private slot. This is pretty nice because it matches what we do for non-proxy DOM objects.
* We now store the expando in the proxy's private slot so I removed GetDOMProxyExpandoSlot and changed the IC code to get the expando from the private slot instead.
2017-04-28 14:12:28 +02:00
Jon Coppeard
1690b0506c
Bug 1345177 - Remove use of RegExpGuard r=sfink
2017-03-27 10:38:29 +01:00
Jon Coppeard
f2dc766532
Backed out changesets e66f564d9749 and 0380d914ad39 (bug 1345177) for rooting hazards
2017-03-27 11:09:54 +01:00
Jon Coppeard
08352c6c76
Bug 1345177 - Remove use of RegExpGuard r=sfink
2017-03-27 10:38:29 +01:00
Tooru Fujisawa
392b3d8036
Bug 774744 - Clarify the parameter name or role of the value in some NOT_NONNULL_OBJECT error. r=jwalden
2017-03-07 19:54:23 +09:00
Tooru Fujisawa
5513387244
Bug 1289050 - Part 9: Use Latin1 variant of JS_ReportErrorNumber after encoding in Latin1. r=jandem
2016-08-15 23:05:08 +09:00
Tooru Fujisawa
a0fab7f564
Bug 1289050 - Part 8: Use ASCII or UTF8 variant of JS_ReportErrorNumber in non-simple cases. r=jwalden
2016-08-15 23:05:04 +09:00
Tooru Fujisawa
99a84178bc
Bug 1289050 - Part 7: Use ASCII variant of JS_ReportErrorNumber when parameters are all static string. r=jwalden
2016-08-15 19:21:05 +09:00
Tooru Fujisawa
62bfd3045f
Bug 1289050 - Part 6: Use ASCII variant of JS_ReportErrorNumber in simple case. r=jwalden
2016-08-14 20:39:29 +09:00
Tom Schuster
3ff40228b1
Bug 1114580 - Implement ES6 Symbol.toStringTag. r=jorendorff
2016-08-31 00:13:10 +02:00
Tom Schuster
b9fa8d6f2c
Bug 1293995 - Remove proxy OwnPropertyKeys error with duplicate keys. r=Waldo
2016-08-11 14:16:38 +02:00
Oriol
e2072b8368
Bug 1288515 - Rename GetScriptedProxyHandlerObject to ScriptedProxyHandler::handlerObject and make it public. r=jimb
2016-07-22 10:39:00 -04:00
Tom Schuster
88135ce2c1
Bug 1114580 - Change ESClassValue to an enum class. r=jorendorff
2016-06-30 00:04:56 +02:00
Tom Schuster
72586e63f5
Bug 1279366 - Handle @@hasInstance correctly for proxies. r=mrrrgn
2016-06-10 22:41:08 +02:00
Jeff Walden
b4b3deaac2
Bug 1270977 - Replace a bunch of CallReceiver uses with CallArgs. r=efaust
2016-05-26 12:52:36 -07:00
Jeff Walden
58ad8fe36c
Bug 1269928 - Rename ScriptedDirectProxyHandler to ScriptedProxyHandler now that DPH is gone (and SDPH hasn't even inherited from DPH in ages). r=efaust
2016-05-03 17:29:51 -07:00