Commit Graph

266 Commits

Author SHA1 Message Date
Bill McCloskey
b30e41fd01 Bug 787856 - Use lazy protos for cross-compartment wrappers (r=bholley) 2012-09-03 16:42:22 -07:00
Nicholas Nethercote
b7796202d5 Bug 793588 (part 2) - Exactly root jsiter.{cpp,h}. r=sfink.
--HG--
extra : rebase_source : ffdd302bbad433d6a67e7b7ff8b631600c4a3594
2012-09-23 20:53:27 -07:00
Eddy Bruel
bff8be71da Bug 720619 - Attempt a puncture for the [[DefaultValue]] trap; r=bholley 2012-09-11 21:42:01 +02:00
Terrence Cole
31c3a732a8 Bug 787580 - Root all jsval at the API surface; r=sfink sr=dmandelin
--HG--
rename : layout/reftests/text-decoration/underline-select-2-ref.html => layout/reftests/text-decoration/underline-button-1-ref.html
rename : layout/reftests/text-decoration/underline-select-2.html => layout/reftests/text-decoration/underline-button-1.html
extra : rebase_source : 008f2bab76a005947a4c0bd10b6d9ea8531ea6d0
2012-09-04 16:40:12 -07:00
Steve Fink
0a326b110d Bug 785167 - Root while allowing cx to be NULL for some typed array APIs. r=terrence
--HG--
extra : rebase_source : 41565e76dc534deb75e10ef65429e5bb9793f47f
2012-08-29 12:29:18 -07:00
Steve Fink
0d275b48a9 Backed out changeset c505e38af094 for burning the build 2012-08-31 09:05:25 -07:00
Steve Fink
21135419bd Bug 785167 - Root while allowing cx to be NULL for some typed array APIs 2012-08-29 12:29:18 -07:00
Luke Wagner
94264a0bc8 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Luke Wagner
18c0268620 Bug 625199 - kill dummy frames (r=mrbkap)
--HG--
extra : rebase_source : df4e3bddabf20cdc5b9122370fa62b40e64177c7
2012-08-17 18:05:06 -07:00
Bobby Holley
3ad4456011 Bug 778085 - Add simple withPrototype versions of DirectWrapper and CrossCompartmentWrapper. r=ejpbruel
These are helpful for testing, and will also be useful in XPConnect. Note that the Wrapper
and Proxy hierarchy will soon be merged.

--HG--
extra : rebase_source : c9c846871a0bba4c9574eb5274dfe22f24d183b0
2012-08-10 13:55:55 +02:00
Luke Wagner
bfd1b26a81 Bug 780712 - CrossCompartmentWrapper needs to handle regexp_toShared (r=billm)
--HG--
extra : rebase_source : 5b96cf124a0227c8a147a2c1b2306358473a8bf0
2012-08-07 09:50:52 -07:00
Terrence Cole
f9cf9a58c5 Bug 772303 - Add missing roots for analysis builds; r=bhackett
--HG--
extra : rebase_source : 2a644e24073fa5c7a655e3322c5379009b2f7181
2012-08-03 09:41:00 -07:00
Andrew McCreight
ef0c42917e Bug 752764 - Nuke wrapped reflector during transplant. r=bholley 2012-08-04 08:15:04 -07:00
Ed Morley
bba173e66e Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Andrew McCreight
894b032a95 Bug 752764 - Nuke wrapped reflector during transplant. r=bholley 2012-08-04 08:15:04 -07:00
Steve Fink
4e52b260b2 Bug 777219 - Prepare SpiderMonkey for a fully rooted API; r=bhackett
--HG--
extra : rebase_source : a6a66d9e41932055e4529550d204d4098f32e37e
2012-07-23 13:37:31 -07:00
Brian Hackett
ffc948bbbe Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Steve Fink
3d6d6246c4 Bug 777956 - With CPG, AutoCompartment no longer needs to store the target object. r=luke 2012-07-26 18:27:08 -07:00
Bobby Holley
ace73859e6 Bug 773962 - Fix windows linkage bustage. r=me 2012-07-23 17:57:39 +02:00
Bobby Holley
7416947043 Bug 773962 - Add some asserts in the brain transplant code. r=billm
This catches the crash when the naughtiness happens, rather than later on.
2012-07-23 15:51:18 +02:00
Jason Orendorff
4f50c05dd0 Bug 725907 - for-of improvements, part 1: minor C++ refactoring, rename Iterator to PropertyIteratorObject. r=Waldo. 2012-07-03 16:34:40 -05:00
Justin Lebar
54df485268 Bug 773980 - Add Components.utils.isDeadWrapper. r=bholley
--HG--
rename : js/xpconnect/tests/Makefile.in => js/xpconnect/tests/browser/Makefile.in
2012-07-19 12:39:43 -04:00
Bobby Holley
13029dbed8 Bug 774245 - Factor out single-level checked unwrapping into a helper function. r=mrbkap 2012-07-18 13:51:28 +02:00
Gabor Krizsanits
eb91f1fcc5 Bug 769273 - part4: avoiding innerization in NukeCrossCompartmentWrappers. r=bholley 2012-07-17 17:51:21 +02:00
Gabor Krizsanits
616ba55d88 Bug 769273 - part2: Refactoring NukeChromeCrossCompartmentWrappersForGlobal. r=bholley 2012-07-17 17:36:15 +02:00
Gabor Krizsanits
cab55a782f Bug 769273 - part1: Prep for refactoring NukeChromeCrossCompartmentWrappersForGlobal. r=bholley 2012-07-17 15:38:53 +02:00
Jeff Walden
2a28626ad6 Bug 773850 - Refactor method guarding to be able to work for methods that must be able to accept a |this| which is a proxy. r=luke
--HG--
extra : rebase_source : 1a015ffd3faa9fa6c82426c94058bce026602f8c
2012-07-03 17:44:22 -07:00
Eddy Bruel
aeda49b01d Bug 771908 - Get rid of Wrapper::leave; r=bholley, sr=mrbkap 2012-07-11 14:01:10 +02:00
Eddy Bruel
560a0f014c Bug 703537: Rename AbstractWrapper to IndirectWrapper + adding comments; r=bholley 2012-07-08 19:04:14 +02:00
Luke Wagner
953c6a1d7f Bug 770407 - Remove overzealous assert in CrossCompartmentWrapper::nativeCall (r=waldo)
--HG--
extra : rebase_source : 3ba26a72d57b6af9854814a7ccca5c66dad2a597
2012-07-03 18:51:02 -07:00
Bill McCloskey
2100b10524 Bug 770759 - Add mutable handles (r=bhackett) 2012-07-04 11:12:16 -07:00
Ehsan Akhgari
79bbc5eb24 Backout changeset 3a488b71b69a (bug 725907 part 1) under the suspicion of breaking Linux32 mochitest-chrome without framepointers 2012-07-04 19:26:42 -04:00
Ehsan Akhgari
b7c1969ac5 Backout changeset 20b0bce4c165 (bug 703537) under the suspicion of breaking Linux32 mochitest-chrome without framepointers 2012-07-04 19:24:04 -04:00
Bobby Holley
73a191f725 Bug 655649 - Introduce an API to recompute wrappers based on various filters. r=billm 2012-07-04 12:13:01 +02:00
Bobby Holley
c9ff4f3d72 Bug 655649 - Move/Rename RemapWrappers. r=billm
Simple rename/move. Renamed some parameters, and switched from manual iteration to CompartmentsIter.
2012-07-04 12:13:01 +02:00
Bobby Holley
ac86e9959c Bug 655649 - Hoist machinery for remapping a single wrapper into a separate function. r=billm
Aside from some renaming, no functionality has been changed.
2012-07-04 12:13:01 +02:00
Eddy Bruel
62517a803b Bug 703537 - Rename AbstractWrapper to IndirectWrapper; r=bholley 2012-07-04 01:20:35 +02:00
Jason Orendorff
4c97069c17 Bug 725907 - for-of improvements, part 1: minor C++ refactoring, rename Iterator to PropertyIteratorObject. r=Waldo.
--HG--
extra : rebase_source : 22a88c4169eba37b61a96dd1ff8507b82765b53e
2012-07-03 16:34:40 -05:00
Luke Wagner
18656f0a0a Bug 768446 - Remove StackIter::sp_ (r=dvander)
--HG--
extra : rebase_source : 4a2e40e8cc8d8bddcefd2a2687354b5dacd3f248
2012-06-29 10:34:09 -07:00
Eddy Bruel
5c153e7fe6 Bug 703537: Inherit DirectWrapper from DirectProxyHandler; r=bholley 2012-06-29 16:43:16 +02:00
Eddy Bruel
ea3e60175e Bug 70357 - Add Wrapper base class; r=bholley 2012-06-28 04:10:37 +02:00
Jeff Walden
9eb451a896 Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : d42f8bcf462de54ff6cc7d9054b2561bdd67686a
2012-06-14 19:13:27 -07:00
Ed Morley
712c4f68c8 Backout 1c5a8d617bff (bug 765990), 617cb36ead59, b3067d05a76a (bug 760995), 79f9a61a1e43 (bug 426163) for bustage 2012-06-21 10:00:36 +01:00
Jeff Walden
5202bce28f Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke 2012-06-14 19:13:27 -07:00
Bobby Holley
d93e3043a0 Bug 753162 - Don't assume that we end up in the same compartment as we started in CrossCompartmentWrapper. r=mrbkap 2012-06-21 09:53:49 +02:00
Jeff Walden
af77cfc42f Back out 2fe1b4d570df for obvious browser-build bustage, less-obvious shell build bustage. r=ಠ_ಠ 2012-06-20 15:49:56 -07:00
Jeff Walden
4261b23151 Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : 5623e436f6cd03a90ba0a188ee5d2fa8f8577766
2012-06-14 19:13:27 -07:00
Bill McCloskey
660a304ec3 Bug 742841 - Store Debugger.X objects in the cross-compartment map (r=jorendorff) 2012-06-10 16:00:09 -07:00
Luke Wagner
dc990a1b61 Bug 761439 - Make IndirectProxyHandler::nativeCall indirect (r=sfink)
--HG--
extra : rebase_source : 453c3b3711c71a75243d65e4646cfd8e02a60131
2012-06-04 16:34:45 -07:00
Eddy Bruel
2812b28407 Bug 703537 - Followup: fix conflicts. 2012-06-01 13:19:06 +02:00