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

22781 Коммитов

Автор 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 495c22a549 bug 580128 - Allow unwrapping XrayWrappers via XPCNativeWrapper.unwrap. r=jst 2010-10-10 15:35:54 -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
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
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 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 528d99c21c bug 580128 - Make compartment warnings real. 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 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 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 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
Blake Kaplan 00a12e0549 bug 580128 - Create a proxy for the outer window and use it. Note: this turns on new wrappers for all objects. r=peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan ae216df4c3 bug 580128 - Don't assume that we have a wrapped native object here. r=gal 2010-09-17 14:54:40 -07:00
Blake Kaplan ab73110726 bug 580128 - Give API consumers a way to perform "brain transplants" on an object. r=gal 2010-09-17 14:54:40 -07:00
Blake Kaplan d12851a0a4 Bug 580128 - Give objects a way to inform XPConnect that they implement their own JS object in a way that does not involve wrapped natives. r=peterv 2010-09-17 14:54:40 -07:00
Luke Wagner 49d0db2f76 Remove unnecessary padding from JSStackFrame 2010-10-08 22:58:33 -07:00
Robert Sayre a2321e9216 Merge mozilla-central to tracemonkey. 2010-10-08 21:56:00 -04:00
Luke Wagner f8a700471e Bug 578916 - Cache results of Math.sin() (r=waldo) 2010-10-06 12:13:20 -07:00
Luke Wagner cbc93d3be3 Bug 601296, part 3 - speedup FindReplaceLength - inline JS_GetEmptyStringValue (r=cdleary) 2010-10-04 11:45:56 -07:00
Luke Wagner 9c46e2d712 Bug 601296, part 2 - speedup FindReplaceLength - don't copy RegExpStatics (r=cdleary) 2010-10-04 11:45:34 -07:00
Luke Wagner cb2f158edb Bug 601296, part 1 - speedup FindReplaceLength - inline js_ValueToString (r=cdleary) 2010-10-04 11:45:34 -07:00