Граф коммитов

459 Коммитов

Автор SHA1 Сообщение Дата
Bobby Holley 1c600e7056 Bug 956382 - Remove usage of explicit *IgnoringDomain variants. r=mrbkap 2014-02-13 18:57:36 -08:00
Bobby Holley 2b33b064b7 Bug 956382 - Consider document.domain when computing security wrappers. r=mrbkap 2014-02-13 18:57:35 -08:00
Bobby Holley e0f33e6e2e Bug 956382 - Add AccessCheck::subsumesConsideringDomain and clean up other implementations. r=mrbkap
We now assert that we have a principal when we enter the wrap callback, and we
now have a convenient overload defined in nsIPrincipal.idl.
2014-02-13 18:57:34 -08:00
Bobby Holley 74dced0ef3 Bug 965981 - Wrap ids in XPCWrappedNativeXrayTraits::enumerateNames. r=mccr8 2014-02-13 10:54:08 -08:00
Bobby Holley 26295823eb Bug 965901 - Add an ENUMERATE policy action. r=gabor sr=mrbkap 2014-02-13 10:54:08 -08:00
Bobby Holley cab18b5855 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 331a1f6c7b 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
Bobby Holley 8b2a3c8d5b Bug 959012 - Remove unused cx parameter from JS_IdentifyClassPrototype. r=jorendorff 2014-01-30 07:45:16 -08:00
Boris Zbarsky 0ec24be88b 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 4261137095 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 6a1e0258a1 Bug 965082 - Unify duplicate bits of state of proxies. r=mrbkap,r=gabor
Conceptually, these all boil down to "is this a security wrapper?"
2014-01-29 13:07:13 -08:00
Tom Schuster 18397aa440 Bug 958119 - Some cleanup for XPConnect. r=gabor 2014-01-22 18:50:32 +01:00
Bobby Holley 44cd3fcb36 Bug 958324 - Remove same-compartment security wrappers for WNs. r=peterv,r=mrbkap
We've fixed Components, and SOWs are new-binding only. Youpie!
2014-01-21 08:26:40 -08:00
Bobby Holley 18dab24d3d Bug 794943 - Followup bustage fix. r=me CLOSED TREE 2014-01-16 16:11:25 -08:00
Bobby Holley aca56744a1 Bug 794943 - Make window.controllers [ChromeOnly], and remove nsISecurityCheckedComponent from nsXULControllers. r=bz 2014-01-16 15:45:40 -08:00
Terrence Cole 6beccf2363 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Terrence Cole aa7ab27af5 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 2; r=sfink
--HG--
extra : rebase_source : e36c89af9c362e781d9ca9aceee42779258328b5
2014-01-14 17:19:07 -08:00
Tom Schuster f39e81815a Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Boris Zbarsky 1b7f303480 Bug 959695 part 3. Make ReportIsNotFunction take a Handle. r=terrence 2014-01-14 21:46:44 -05:00
Bobby Holley 78a5768df9 Bug 951948 - Remove Components wrappers. r=mrbkap
We fix up the tests here to test the new behavior, and fix some bugs in the test
while we're at it.
2014-01-14 18:49:30 -08:00
Andrew McCreight 194d76d7e9 Bug 956455, part 3 - Remove the holder argument to nsXPConnect::WrapNativeToJSVal. r=gabor 2014-01-06 11:54:43 -08:00
Ms2ger 561cae4a0e Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
Wes Kocher 51be634cd2 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 59305924cb Bug 949183 - Fix jsid static constructor explosion. r=Waldo 2013-12-16 14:40:05 -08:00
Eric Faust 46a65bdd10 Bug 926012 - Part 3: Convert wrappers to using dynamic prototype hooks. (r=bholley) 2013-12-13 12:01:30 -08:00
Boris Zbarsky abefb320a5 Bug 946067 part 2. Generate Window's access checks in XPConnect based on WebIDL access annotations. r=bholley,peterv 2013-12-09 10:34:03 -05:00
Boris Zbarsky 5a1836271c Bug 946289. Make GetNativeForGlobal work for WebIDL globals. r=peterv 2013-12-09 10:34:03 -05:00
Jacek Caban c9efa74885 Bug 944444 - Fix js/ compilation on mingw. r=Waldo 2013-12-05 10:56:22 +01:00
Ehsan Akhgari 656e1c1b05 Bug 939608 - Part 2: Build xpconnect in unified mode; r=bholley 2013-11-20 11:35:34 -05:00
Bobby Holley 76193870ea Bug 933681 - Resolve canonical eval() onto Xrayed globals. r=jorendorff 2013-11-22 10:55:43 -08:00
Bobby Holley bdc983a462 Bug 933681 - Add lookups for standard classes in XrayWrapper. r=jorendorff 2013-11-22 10:55:42 -08:00
Ehsan Akhgari b86497683d Backed out changeset 5993d8ad664c (bug 939608) because bug 941450 was backed out
Landed on a CLOSED TREE
2013-11-22 11:22:49 -05:00
Jon Coppeard d8c217e468 Bug 941767 - Fix rooting hazard in GetNativeForGlobal() r=bholley 2013-11-22 06:58:32 -08:00
Ehsan Akhgari 64bc15535e Bug 939608 - Part 2: Build xpconnect in unified mode; r=bholley
--HG--
extra : rebase_source : d4baf7ddb95bb0217357b9eb9fabd2e08d37548a
2013-11-20 11:35:34 -05:00
Terrence Cole 6936f37dc7 Bug 940505 - Handlify GetXrayWaiver; r=bholley
--HG--
extra : rebase_source : 1812e79207fccdcf479b14637b67b2510d2f317b
2013-11-19 10:12:10 -08:00
Ehsan Akhgari 69ecdab690 Bug 939608 - Part 1: Code changes required to build xpconnect in unified mode; r=bholley
--HG--
extra : rebase_source : e691b361737fbb233a0b33ed7fc6aa97ae172223
2013-11-19 15:03:40 -05:00
Carsten "Tomcat" Book 30de6cc6d3 Backed out changeset 161bfee3f57a (bug 939608) PGO build issue 2013-11-19 14:13:15 +01:00
Mike Hommey 2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Ehsan Akhgari e91814a204 Bug 939608 - Build xpconnect in unified mode; r=bholley 2013-11-18 00:47:30 -05:00
Tom Schuster 127ebf3721 Bug 930782 - Handlify JS_WrapValue. r=terrence 2013-10-26 18:19:05 +02:00
Mike Hommey b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Steve Fink 700a8bf156 Bug 925916 - Handlify various things in XPConnect, r=bholley
--HG--
extra : rebase_source : d6b2697f043d56e6c96e5addc7e6192d067a068c
2013-10-11 22:02:39 -07:00
Bobby Holley 2dcd8b769e Bug 922009 - MOZ_CRASH when trying to transplant objects with SCSWs. r=mrbkap 2013-10-17 10:00:02 +02:00
Tom Schuster 1faae39271 Bug 8844105 - Handlify JS_WrapObject. r=terrence 2013-10-15 20:02:23 -04:00
Birunthan Mohanathas 0b51035eb5 Bug 784739 - Switch from NULL to nullptr in js/xpconnect/; r=ehsan 2013-10-10 16:35:53 -04:00
Bobby Holley d75591e16f Bug 921454 - Invert faulty assertion. r=jonco
This assertion is pretty clearly bogus, and only exists because, as it turns
out, we never had any test coverage for transplanting SCSW objects with
waivers. Even in the world when this stuff landed (bug 773962, which was well
before the removal of Location SCSWs in bug 808608 and the conversion of Nodes
to new bindings), we apparently never tested the waiver path. :-(
2013-10-04 13:29:36 +02:00
Bobby Holley b5e276f1c5 Bug 921454 - Skip unwrap safety assertion for cross-compartment SOWs. r=mrbkap
Currently this stuff just asserts when you pass NAC across compartments. And
the logic for this stuff is complicated enough that we don't gain a whole
lot from duplicating it.
2013-10-04 13:29:35 +02:00