Commit Graph

483 Commits

Author SHA1 Message Date
Bobby Holley
9fd42fa057 Bug 975042 - Implement resolveOwnProperty and enumerateNames trap. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
85995ef95b Bug 975042 - Make enumerateNames trap virtual. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
04d245f751 Bug 975042 - Implement getPrototypeOf. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
6cf87e81b6 Bug 975042 - Implement createHolder. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
207741fcb7 Bug 975042 - Implement the easy trait hooks. r=peterv 2014-03-20 23:47:23 -03:00
Bobby Holley
f45fd0bd80 Bug 975042 - Basic Xray infrastructure and boilerplate. r=peterv
All of this machinery asserts if it actually get used. But it won't be used at
present, because we have an empty whitelist of JSProtoKeys.
2014-03-20 23:47:23 -03:00
Jon Coppeard
d6bc187672 Bug 959787 - Handlify some friend and debug APIs r=sfink r=bholley 2014-03-17 16:17:58 +00:00
Bobby Holley
bcb2b82645 Bug 976938 - Add a way to identify the Xray parent (if any) of a given function. r=bz 2014-03-04 10:05:07 -08:00
Bobby Holley
f5910ec532 Bug 975277 - Move the wrappedJSObject getter out of getPropertyDescriptor. r=gabor
The current setup is kinda wrong, and doesn't work with HasPrototype Xrays.
This change requires us to manually munge the holder, but that's probably ok
for now.
2014-02-21 16:03:08 -08:00
Bobby Holley
339b021f16 Bug 975277 - Clean up the XPCWN XrayHolder a bit. r=gabor 2014-02-21 15:55:31 -08:00
Peter Van der Beken
ba38cfb6da Bug 975277 - Pass the real receiver when using HasPrototype. r=bholley 2014-02-21 15:55:31 -08:00
Peter Van der Beken
344d8a5c45 Bug 975277 - Add some machinery to allow Traits to specify whether they want to use hasPrototype or not. r=bholley,efaust 2014-02-21 15:55:30 -08:00
Bobby Holley
04be2cfa1a Bug 973780 - Hook Xrays up to the new expando map. r=bz 2014-02-21 11:35:48 -08:00
Luke Wagner
05c3cb3e42 Bug 797126 - Remove tinyid/shortid/userid (r=terrence) 2014-02-21 10:24:26 -06:00
Phil Ringnalda
c32d79bbf7 Back out 0f5f58d5d410:8db4d719f5f8 (bug 973780) for debug WinXP mochitest-3 assertions
CLOSED TREE
2014-02-20 20:46:50 -08:00
Bobby Holley
c91f1b5338 Bug 973780 - Hook Xrays up to the new expando map. r=bz 2014-02-20 18:24:09 -08:00
Bobby Holley
518ec04b50 Bug 956382 - Remove usage of explicit *IgnoringDomain variants. r=mrbkap 2014-02-13 18:57:36 -08:00
Bobby Holley
381dd891ce Bug 965981 - Wrap ids in XPCWrappedNativeXrayTraits::enumerateNames. r=mccr8 2014-02-13 10:54:08 -08:00
Bobby Holley
3078a4ce84 Bug 965901 - Add an ENUMERATE policy action. r=gabor sr=mrbkap 2014-02-13 10:54:08 -08:00
Bobby Holley
a97872700c Bug 965901 - Track and assert the policy action in AutoEnterPolicy/assertEnteredPolicy. r=gabor sr=mrbkap 2014-02-13 10:54:07 -08:00
Bobby Holley
e82895955c Bug 959012 - Clean up and separate the semantics of js_{Get,Find}Class{Prototype,Object}. r=jorendorff 2014-01-30 07:45:16 -08:00
Boris Zbarsky
f0007386d8 Bug 965144. Make the Window-specific bits of XrayWrapper work with WebIDL windows. r=bholley 2014-01-29 22:34:25 -08:00
Bobby Holley
b77799f3e8 Bug 965082 - Only run the {get,set}PrototypeOf override for non-SecurityWrappers. r=mrbkap,r=gabor 2014-01-29 13:07:13 -08:00
Bobby Holley
3384677eae Bug 794943 - Followup bustage fix. r=me CLOSED TREE 2014-01-16 16:11:25 -08:00
Bobby Holley
e17b0edaa3 Bug 794943 - Make window.controllers [ChromeOnly], and remove nsISecurityCheckedComponent from nsXULControllers. r=bz 2014-01-16 15:45:40 -08:00
Terrence Cole
5403e658ff Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink 2014-01-16 09:48:58 -08:00
Terrence Cole
4a53feb64b Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 2; r=sfink 2014-01-14 17:19:07 -08:00
Boris Zbarsky
2535e5558f Bug 959695 part 3. Make ReportIsNotFunction take a Handle. r=terrence 2014-01-14 21:46:44 -05:00
Wes Kocher
4e742eeab0 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
4a839043a9 Bug 949183 - Fix jsid static constructor explosion. r=Waldo 2013-12-16 14:40:05 -08:00
Eric Faust
28e1fab1d7 Bug 926012 - Part 3: Convert wrappers to using dynamic prototype hooks. (r=bholley) 2013-12-13 12:01:30 -08:00
Jacek Caban
ac802e75ba Bug 944444 - Fix js/ compilation on mingw. r=Waldo 2013-12-05 10:56:22 +01:00
Bobby Holley
f2359347ce Bug 933681 - Resolve canonical eval() onto Xrayed globals. r=jorendorff 2013-11-22 10:55:43 -08:00
Bobby Holley
ca99f82b3c Bug 933681 - Add lookups for standard classes in XrayWrapper. r=jorendorff 2013-11-22 10:55:42 -08:00
Tom Schuster
faba4d7d1c Bug 930782 - Handlify JS_WrapValue. r=terrence 2013-10-26 18:19:05 +02:00
Steve Fink
7f062815f0 Bug 925916 - Handlify various things in XPConnect, r=bholley 2013-10-11 22:02:39 -07:00
Tom Schuster
b6ee9f1bce Bug 8844105 - Handlify JS_WrapObject. r=terrence 2013-10-15 20:02:23 -04:00
Birunthan Mohanathas
88f7db9737 Bug 784739 - Switch from NULL to nullptr in js/xpconnect/; r=ehsan 2013-10-10 16:35:53 -04:00
Bobby Holley
4818902938 Bug 856437 - Remove same-compartment permissive Xray machinery. r=gabor 2013-09-11 11:28:21 -07:00
Dan Gohman
94cd9b8531 Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Ehsan Akhgari
41784ed79f Bug 913851 - Minimize the #includes in js/xpconnect; r=bholley
X-Git-Commit-ID: 78e6843063b303780a7dd2695dd2824a0a9c9a3c
2013-09-09 23:14:10 +02:00
Nicholas Nethercote
9fc605b8f3 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm. 2013-08-17 15:50:18 -07:00
Ms2ger
a5a300481d Bug 903849 - Use MOZ_ASSERT consistently in XPConnect; r=bholley 2013-08-14 09:00:34 +02:00
Jon Coppeard
247e4f0b6c Bug 903352 - Handlify remaining PropertyDescriptor APIs r=terrence r=bholley r=smaug 2013-08-12 12:09:14 +01:00
Nicholas Nethercote
63c6a36db3 Bug 898263 (part 7) - Remove jsprvtd.h from EXPORTS. r=jorendorff. 2013-07-25 22:52:59 -07:00
Terrence Cole
f3b496ba3b Bug 862115 - Use Rooted<JSPropertyDescriptor> in favor of JSPropertyDescriptor::AutoRooter r=terrence r=smaug r=bholley 2013-04-30 10:29:40 -07:00
Nicholas Nethercote
f7d6f07d24 Bug 898914 (part 1) - Remove JSBool. 2013-08-08 15:53:04 -07:00
Nicholas Nethercote
966f6b5ff2 Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz. 2013-08-02 00:41:57 -07:00
Jon Coppeard
28abf58d87 Bug 900979 - Change JS_DeleteProperty APIs to use a boolean out param rather than a value r=waldo r=bz 2013-08-05 14:01:53 +01:00
Jon Coppeard
9275cd7c1a Bug 899973 - GC: Convert the rest of the JS property API to use MutableHandleValue for out params - browser changes r=bz 2013-08-02 13:15:39 +01:00