Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Eddy Bruel
36436d48e3
Bug 703537 - Add IndirectProxyhandler; r=bholley,jorendorff
2012-05-17 13:19:37 +02:00
Eddy Bruel
8266662238
Bug 703537: Removing the fix trap r=jorendorff@mozilla.com
2012-04-27 17:09:32 -04:00
Boris Zbarsky
a3e1420cf0
Bug 726949. Instead of using the given proto for the sandbox directly, use a proxy that forwards to the given proto but rebinds all getters/setters/methods to use the given proto, not the sandbox global, as this. r=bholley, a=tracking-firefox
...
The code in XPCQuickStubs.h just moved from XPCQuickStubs.cpp.
2012-04-19 14:19:41 -04:00
Ed Morley
8043672933
Backout 3e24a0ebd104 (bug 726949) for M-oth orange; a=backout
2012-04-19 12:28:43 -07:00
Boris Zbarsky
757816f10d
Bug 726949. Instead of using the given proto for the sandbox directly, use a proxy that forwards to the given proto but rebinds all getters/setters/methods to use the given proto, not the sandbox global, as this. r=bholley, a=tracking-firefox
...
The code in XPCQuickStubs.h just moved from XPCQuickStubs.cpp.
2012-04-19 14:19:41 -04:00
Bobby Holley
d3e1c85a70
Bug 745422 - Factor fundamental traps into js::AbstractWrapper. r=gal
2012-04-15 16:43:14 -07:00
Bobby Holley
8189f58fdd
Bug 667388 - Handle wrappers during structured clone. r=mrbkap
...
We also remove the declared-but-never-implemented JSObject::getWrapperHandler.
2012-03-23 14:59:27 -07:00
Bobby Holley
f8fe97314f
Bug 667388 - Introduce the PUNCTURE wrapper action. r=mrbkap
2012-03-23 14:59:27 -07:00
David Mandelin
0be0db4666
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
Luke Wagner
fa63b057b8
Bug 726595 - Do a better job guarding RegExpShared objects against GC (r=cdleary)
...
--HG--
extra : rebase_source : f4b28fd9dc0ad762d483e0a11fba450bdd8bd32f
2012-02-23 13:51:19 -08:00
Bobby Holley
b038453297
Bug 717113 - Make js::IsWrapper fully inline-able. r=luke
2012-02-21 10:31:35 -08:00
Jason Orendorff
e1d9162904
Bug 699565 - Part 3 - for-of loops on wrappers. r=bhackett.
2012-02-07 12:57:16 -06:00
Luke Wagner
864734648c
Bug 688069 - fix String.prototype.{replace,match,search,split} for transparently wrapped RegExp arguments (r=cdleary)
...
--HG--
extra : rebase_source : 52e43bfbd134f8afcff15b354fcb777d9b0e71ba
2012-02-01 13:36:48 -08:00
Blake Kaplan
2718588789
Bug 723111 - Add an option to js::UnwrapObject so that it doesn't stop at outer windows when unwrapping. This is useful for cases where we are trying to find the wrapped native for a security wrapper. r=bzbarsky
2012-01-26 14:55:27 +01:00
Phil Ringnalda
23ca89ddfb
Back out 9aac714775b9 (bug 723111) for make check orange
2012-02-01 10:25:04 -08:00
Blake Kaplan
7cce8db259
Bug 723111 - Add an option to js::UnwrapObject so that it doesn't stop at outer windows when unwrapping. This is useful for cases where we are trying to find the wrapped native for a security wrapper. r=bzbarsky
...
--HG--
extra : rebase_source : 51216cf21b63554e50633c89f393c5888241dee2
2012-01-26 14:55:27 +01:00
Ms2ger
51f59f0021
Bug 713645 - Remove superfluous inclusions of jscntxt.h; r=luke
2012-01-02 19:05:19 +01:00
Jeff Walden
4f3f8250ea
Bug 704127 - Move C++ attribute support out of mozilla/Types.h and into mozilla/Attributes.h so that it can be used by code that's not yet compatible with the full mfbt experience. r=cjones
...
--HG--
extra : rebase_source : 7b653358a73f222c055f5139e33ca470475f88c9
2011-11-20 12:22:51 -08:00
Jeff Walden
e15cf47cfd
Bug 702437 - Implement MOZ_OVERRIDE to encapsulate support for the contextual override keyword on virtual member functions. r=cjones
2011-11-14 10:31:46 -08:00
Luke Wagner
5d4b516710
Bug 690825 - Add a SecurityWrapper base between JS transparent wrappers and XPConnect security wrappers (r=mrbkap)
...
--HG--
extra : rebase_source : c3b2057a725ddda79f2f9f8f1d8ef6a4c8581124
2011-10-04 10:50:25 -07:00
Brian Hackett
e89780c40d
Remove jsobj.h from installed headers, bug 690943. r=luke
2011-10-04 07:06:54 -07:00
Luke Wagner
46803bb586
Bug 683361 - Fix part 6: add and call Proxy::objectClassIs (r=waldo)
...
--HG--
extra : rebase_source : b387bc288a45fc985df06ce2ca84823cf45803b3
2011-09-28 08:48:16 -07:00
Luke Wagner
2ca10ad65e
Bug 683361, part 5 - Handle transparent proxies correctly in [[Class]] == "X" queries (r=waldo)
...
--HG--
extra : rebase_source : 42d32c87f8cffc765649bbb5890009edfb4a4807
2011-09-20 16:48:50 -07:00
Luke Wagner
d8b2ca4ce3
Bug 683361, part 3 - add ProxyHandler::nativeCall (r=mrbkap)
...
--HG--
extra : rebase_source : 4494ddfc1e3f76bf550013c199a3f3b17a5e941f
2011-09-08 21:06:41 -07:00
Luke Wagner
7ff16e4820
Bug 683361, part 1 - Strip JS prefix from proxy names since they are already in namespace js (r=gal)
...
--HG--
extra : rebase_source : 5eded8e02c36991322c94fca1092970910c2ceea
2011-09-08 20:29:15 -07:00
Brian Hackett
06268c9f02
Merge MC -> JM
2011-08-14 19:51:16 -07:00
Jason Orendorff
fbb0edbd8d
Merge jsdbg2 to mozilla-inbound. See bug 672829.
2011-08-13 13:29:18 -05:00
Jason Orendorff
671bbf0bb1
Merge mozilla-central to jsdbg2.
2011-07-18 10:58:56 -05:00
Brian Hackett
89a7a7eac5
Merge MC -> JM
2011-07-15 14:40:15 -07:00
Jason Orendorff
7d92fa02e5
Add Debugger.Object.prototype.defineProperties and a few extra defineProperty tessts.
2011-07-13 06:46:23 -05:00
Jason Orendorff
12e082d98d
Backed out changeset 93533be00e3e due to failing jstests.
2011-07-13 10:41:09 -05:00
Jason Orendorff
ef3cb9f6dc
Add Debugger.Object.prototype.defineProperties and a few defineProperty tests.
2011-07-13 06:46:23 -05:00
Brian Hackett
dee99963bb
Merge TM -> JM
2011-07-01 16:24:32 -07:00
Bill McCloskey
a47ecc892e
Bug 671080 - Assert on unexpected cross-compartment pointers in opt builds (r=mrbkap)
2011-07-14 12:12:30 -07:00
Bill McCloskey
2a3d5215a6
Bug 662646 - GC topcrash diagnostics [needs backout before Aurora merge!] (r=dmandelin)
2011-07-07 17:31:24 -07:00
Brian Hackett
020c4d8bac
Merge TM -> JM
2011-06-06 16:47:40 -07:00
Brian Hackett
1e358b51f6
Merge TM -> JM
2011-05-22 08:59:06 -07:00
Brian Hackett
c930c3e982
Merge TM -> JM
...
--HG--
rename : js/src/GlobalObject.cpp => js/src/vm/GlobalObject.cpp
2011-05-09 09:49:48 -07:00
Brian Hackett
838352f9db
Merge TM -> JM
2011-04-28 13:02:47 -07:00
Chris Jones
6fd4cbff2d
Bug 642381, part 2: Rename LazilyConstructed to Maybe. r=luke
2011-04-28 17:48:51 -05:00
Brian Hackett
3756228559
[INFER] Use both inline and dynamic slots for objects other than dense arrays, bug 648321.
2011-04-08 19:51:40 -07:00
Jeff Walden
9d216339ba
Bug 646129 - [[DefaultValue]] on Date objects is wrong when called with no hint. r=luke
2011-04-01 15:24:21 -07:00
Blake Kaplan
96c422f69a
Bug 662114 - Don't use DummyFrameGuard directly to avoid Windows DLL-linkage warnings. r=luke
...
--HG--
extra : rebase_source : 8ef14ff1cecaa7f426adc55b3a1ad205f00d0b8c
2011-06-07 19:43:18 -04:00
Luke Wagner
05d2002b66
Bug 644074 - Simplify and consolidate VM stack code into js/src/vm/Stack*
2011-04-13 09:27:37 -07:00
Andreas Gal
37635547a6
Bug 633879 - Stop wrappers from holding old scopes alive. r=mrbkap@gmail.com,jst@mozilla.com, a=blocker
2011-02-14 14:19:36 -08:00
Jim Blandy
de75b9fa19
Bug 537873: Add a 'strict' argument to C++ property setter functions. r=brendan
...
This changes the type of setters to JSStrictPropertyOp, which is just like
JSPropertyOp except that it takes a 'JSBool strict' argument. Most of the
patch is introducing distinct types and using the appropriate stubs.
The following are left for subsequent patches:
x Similar fixes to the browser outside SpiderMonkey.
x Actually *using* the newly available strictness information. This patch
should have no user-visible effect. I didn't want the interesting stuff
to get lost in this noise.
2011-02-09 11:31:40 -08:00
Bill McCloskey
d80b33e02c
Bug 677773 - Allow JS crash diagnostics to be disabled; simplify them (r=dmandelin,ted)
2011-08-12 06:57:45 -07:00
Matt Brubeck
5a6712b2b5
Back out cd7f694c9f2f (bug 677773) because of build failures
2011-08-12 07:35:31 -07:00
Bill McCloskey
b6af04e6bb
Bug 677773 - Allow JS crash diagnostics to be disabled; simplify them (r=dmandelin,ted)
2011-08-12 06:57:45 -07:00