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

260457 Коммитов

Автор SHA1 Сообщение Дата
Andreas Gal 84dc68b734 bug 580128 - Clean up our passing from JS-into-C++ story. r=peterv/mrbkap 2010-10-10 15:36:41 -07:00
Blake Kaplan 8fa4142573 bug 580128 - Allow API consumers to pass in a new object altogether before trying to wrap in a security wrapper. r=gal/peterv 2010-10-10 15:36:38 -07:00
Mounir Lamouri 34e9c2a2a2 Bug 580128. Make tests that now need to be chrome tests be chrome tests. r=jst@mozilla.org
--HG--
rename : js/src/xpconnect/tests/mochitest/test_bug484459.html => js/src/xpconnect/tests/chrome/test_bug484459.xul
rename : js/src/xpconnect/tests/mochitest/test_cows.html => js/src/xpconnect/tests/chrome/test_cows.xul
rename : js/src/xpconnect/tests/mochitest/test_wrappers.html => js/src/xpconnect/tests/chrome/test_wrappers-2.xul
2010-09-30 00:14:30 -07:00
Blake Kaplan d4e6fc1d03 bug 580128 - Implement XrayWrapper::toString. r=jst 2010-10-10 15:36:32 -07:00
Blake Kaplan 0a92ad616e bug 580128 - Use the shiny new API for finding XrayWrappers. r=jst 2010-10-10 15:36:20 -07:00
Andreas Gal 5f55c9cf8f bug 580128 - Give XrayWrappers a flag they can query for. r=mrbkap 2010-10-10 15:36:04 -07:00
Blake Kaplan a4b07e2132 bug 580128 - Find the true caller through the wrappers. r=jst 2010-10-10 15:36:01 -07:00
Blake Kaplan 495c22a549 bug 580128 - Allow unwrapping XrayWrappers via XPCNativeWrapper.unwrap. r=jst 2010-10-10 15:35:54 -07:00
Blake Kaplan 664486e7df bug 580128 - Enter the right compartment when calling toString. r=jst 2010-10-10 15:35:51 -07:00
Blake Kaplan f748b13b17 bug 580128 - Stop returning the old wrappers from their constructors. r=jst 2010-10-10 15:35:48 -07:00
Jason Orendorff 227f3c1dfb Bug 580128 - Some more compartment fixes. r=gal 2010-10-10 15:35:46 -07:00
Ben Turner d96b45c677 Bug 580128 - Make IndexedDB work with compartments. r=jst 2010-10-10 15:35:42 -07:00
Peter Van der Beken 42e84b64c0 Bug 580128 - Always wrap Location objects in wrappers, even for same origin. r=mrbkap/gal 2010-09-29 10:00:52 -07:00
Johnny Stenback c455f0ac4d bug 580128 - Make the component loader work for content scripts with UniversalXPConnect. r=mrbkap 2010-09-29 10:00:52 -07:00
Johnny Stenback 751ac646a7 bug 580128 - Deal with null principals (for e.g. dom worker compartments). r=mrbkap 2010-09-29 10:00:52 -07:00
Blake Kaplan 04162da78e bug 580128 - Loosen our policy on what you're to see on cross-origin errors. r=jst 2010-09-29 10:00:52 -07:00
Peter Van der Beken b448cdc455 Fix dom/tests/mochitest/general/file_frameElementWrapping.html to deal with proxies. r=mrbkap 2010-09-28 17:02:43 -07:00
Johnny Stenback 207a1d7d52 bug 580128 - Forward to outer in AreDialogsBlocked. r=mrbkap 2010-09-28 17:02:43 -07:00
Blake Kaplan 20e65225e2 bug 580128 - Outerize in JS instead of in the rewrap hook so the identity in the wrapper map stays constant. r=gal 2010-09-28 17:02:43 -07:00
Blake Kaplan d4dbc19ff6 bug 580128 - Fix bugs dealing with transplanting when navigating. r=gal 2010-09-28 17:02:43 -07:00
Blake Kaplan 85c8778863 bug 580128 - Wrap values in the array. r=jst 2010-09-27 20:40:27 -07:00
Blake Kaplan f60321d27f bug 580128 - Make js_DumpStackFrame deal with dummy frames. r=jst 2010-09-27 19:52:15 -07:00
Jason Orendorff 0b425e3feb bug 580033 - Make JS_Save/RestoreFrameChain set cx->compartment. r=mrbkap 2010-09-27 18:24:24 -07:00
Andreas Gal f56da5a5ac bug 599503 - Return true compartment info from JSObject::getCompartment(). r=jorendorff/gregor/gal 2010-09-27 13:49:09 -07:00
Blake Kaplan 4af43e19cf Bug 580128 - Use compartments instead of global objects to see if we should use slim wrappers. r=peterv 2010-09-24 23:49:58 -07:00
Blake Kaplan 2665901a71 bug 580128 - Avoid using the parent chain of proxies for anything because it's often wrong. r=jst 2010-09-24 18:00:58 -07:00
Blake Kaplan 63dfd76526 bug 580128 - Pass the right resolve flags to ResolveNativeHandler. r=peterv/jst 2010-09-24 15:30:00 -07:00
Blake Kaplan 11e5c41621 bug 580128 - Pass the XrayWrapper itself to scriptable helpers (and related cleanup) since the holder doesn't have enough smarts to do lookups, etc. r=gal 2010-09-23 15:56:28 -07:00
Blake Kaplan bcc2c1c1da Bug 580128 - Fix compartment warnings by entering. r=gal/peterv/jst/mrbkap/jorendorff (and written by all of us too). 2010-09-22 17:34:20 -07:00
Blake Kaplan 3225778966 bug 580128 - Make xpcconvert trust cx->compartment when called from JS. r=peterv 2010-09-22 16:35:10 -07:00
Blake Kaplan 70935f7b8c bug 580128 - Rewrite XrayWrapper so the wrapped object is in the wrapped object slot and the holder goes in an extra slot. r=gal 2010-09-20 14:48:01 -07:00
Blake Kaplan 805a2aaafb bug 580128 - .wrappedJSObject returns a wrapper that pushes principals. r=gal 2010-09-20 14:47:15 -07:00
Blake Kaplan ed96803861 bug 580128 - Make sure nsDOMClassInfo uses the right compartment for objects that it defines on wrappers (both security and not). r=jst 2010-09-17 14:54:41 -07:00
Blake Kaplan 528d99c21c bug 580128 - Make compartment warnings real. r=jst 2010-09-17 14:54:41 -07:00
Blake Kaplan 56e262cc3d bug 580128 - Set nsGlobalChromeWindows' principals to chrome even before they know it. r=jst 2010-09-17 14:54:41 -07:00
Blake Kaplan 2a3b7cc2e2 bug 580128 - Don't allow fast getting of nsGlobalWindow's wrapper cache. r=peterv 2010-09-17 14:54:41 -07:00
Blake Kaplan c087d103c7 bug 603152 - Inner windows principals must remain constant. If we want to change them, change the inner window instead. r=bz 2010-09-17 14:54:41 -07:00
Blake Kaplan f01ca483f0 bug 580128 - Propagate whether we're getting or setting to getPropertyDescriptor. r=gal 2010-09-17 14:54:41 -07:00
Blake Kaplan f746556e55 bug 580128 - Chrome sandboxes cause this assertion to box: use plain cross compartment wrappers when we see them. r=jst 2010-09-17 14:54:41 -07:00
Blake Kaplan f7daf83f96 bug 580128 - Make evalInSandbox work with the new wrappers. r=peterv 2010-09-17 14:54:41 -07:00
Blake Kaplan bb8641798d bug 580128 - Fix a bug in early XrayWrappers that allowed Holders to get in here. r=gal 2010-09-17 14:54:41 -07:00
Blake Kaplan 9effc3a49a bug 580128 - Prepare objects for wrapping. r=peterv 2010-09-17 14:54:41 -07:00
Blake Kaplan edeb6cc86e bug 580128 - Allow calling functions cross origin. r=gal 2010-09-17 14:54:40 -07:00
Blake Kaplan a0d344d742 bug 580128 - Make the Window constructor be defined on new windows. r=peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan 529085f882 bug 580128 - Give windows a .wrappedJSObject property to help out old consumers of XPCNativeWrappers. r=peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan 11ca6cd213 Bug 580128 - Preliminary fixes to make .wrappedJSObject on XrayWrappers work. Overridden by later patches. r=gal 2010-09-03 19:24:23 -07:00
Blake Kaplan 6a34b8b04e Bug 580128 - Fix a leak caused by holding a non-cycle collectable object instead of a cycle-collectable one. r=peterv 2010-09-03 14:15:50 -07:00
Blake Kaplan f2103a50a8 bug 580128 - Temporary fixes to XrayWrapper - note: these were mostly overridden by later patches. r=gal 2010-09-02 16:02:51 -07:00
Blake Kaplan 856533e5bc bug 580128 - Make AccessCheck work (fixing bad calls/missing assumptions). r=gal/peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan 2387aea1a5 bug 580128 - The rewrap hook needs to know what parent to use when creating wrappers. r=gal 2010-09-17 14:54:40 -07:00