Commit Graph

55721 Commits

Author SHA1 Message Date
Andreas Gal
1d93b82d53 bug 580128 - Allow proxies to answer the "hasInstance" question. r=mrbkap 2010-10-10 15:39:26 -07:00
Peter Van der Beken
9779e115ec bug 580128 - Allow NewResolve to set properties on wrappers. r=gal 2010-10-10 15:39:23 -07:00
Andreas Gal
133adc68a7 bug 580128 - Allow access when both sites have set document.domain. r=mrbkap 2010-10-10 15:39:19 -07:00
Johnny Stenback
c74184af3e Bug 580128. Use JS_WrapObject() in xpcJSWeakReference::Get() since it's the right API to use here. r=mrbkap@gmail.com 2010-10-10 15:39:17 -07:00
Ben Turner
d21a4b0755 Bug 580128. Fix plugin stream test to work with the new wrappers. r=jst@mozilla.org 2010-10-10 15:39:14 -07:00
Ben Turner
db39907b38 Bug 580128. Add cross compartment JSObject clone hooks. r=jst@mozilla.org 2010-10-10 15:39:11 -07:00
Andreas Gal
ff566b632b Bug 580128. Don't let script access only wrappers be passed to C++ code. r=peterv@propagandism.org 2010-10-10 15:39:08 -07:00
Andreas Gal
bce6505f32 bug 580128 - Fix wrapping of jsval parameters. r=peterv 2010-10-10 15:39:04 -07:00
Peter Van der Beken
b7e152241c Bug 580128 - Fix XPCVariant::VariantDataToJS to properly rewrap, r=gal. 2010-10-10 15:39:02 -07:00
Blake Kaplan
bba79011e0 bug 580128 - Make the XPCNativeWrapper constructor work to actually construct XrayWrappers. r=jst 2010-10-10 15:38:56 -07:00
Blake Kaplan
eed8d1aacc bug 580128 - Deal better with compartments around the xray holder object. r=gal 2010-10-10 15:38:39 -07:00
Blake Kaplan
e05232ec8b bug 580128 - Try to make test_wrappers-2.xul work a little better.
--HG--
rename : js/src/xpconnect/tests/chrome/file_wrappers-2.html => js/src/xpconnect/tests/mochitest/file_wrappers-2.html
2010-10-10 15:38:24 -07:00
Andreas Gal
b656a2c951 Bug 580128. Add more asserts to the interpreter to check that we're on the right compartment. r=mrbkap@gmail.com 2010-10-10 15:38:13 -07:00
Peter Van der Beken
90e114e435 Bug 580128. Call JS_ClearScope on the holder object for XrayWrappers around windows when navigating. r=mrbkap 2010-10-10 15:38:10 -07:00
Blake Kaplan
454d48e5fe bug 580128 - Bad attempt to make .wrappedJSObject on raw windows only apply to chrome. Fixed later r=nobody I hope! 2010-10-10 15:38:04 -07:00
Blake Kaplan
1b571f0ac4 bug 580128 - Attempt to make the XPCNativeWrapper constructor create XrayWrappers. r=jst 2010-10-10 15:37:44 -07:00
Johnny Stenback
41120f4b7c Bug 580128. Fix various mochi chrome tests to work with the new wrappers. r=mrbkap@gmail.com 2010-10-10 15:37:28 -07:00
Andreas Gal
96223bbef4 Make functions per compartment, and deep copy instead of clone them if needed (584789, r=mrbkap). 2010-09-29 23:17:29 -07:00
Andreas Gal
3d567b4e1a Bug 580128 - Small cleanups in XrayWrapper and first stab at enumeration. r=mrbkap 2010-10-10 15:37:22 -07:00
Blake Kaplan
a44ad43150 bug 580128 - Fix more compartment warnings. Work of multiple people. r=gal/peterv/jst 2010-10-10 15:37:19 -07:00
Blake Kaplan
9cc00701e9 bug 580128 - Add a test about double wrapped native objects in security wrappers. r=jst 2010-10-10 15:36:59 -07:00
Andreas Gal
c48124ac98 bug 580128 - Clean up our passing from JS-into-C++ story. r=peterv/mrbkap 2010-10-10 15:36:41 -07:00
Blake Kaplan
c563e195ac 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
e2809794f9 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
c3afb44113 bug 580128 - Implement XrayWrapper::toString. r=jst 2010-10-10 15:36:32 -07:00
Blake Kaplan
41aa9a74c8 bug 580128 - Use the shiny new API for finding XrayWrappers. r=jst 2010-10-10 15:36:20 -07:00
Andreas Gal
c6e9365a24 bug 580128 - Give XrayWrappers a flag they can query for. r=mrbkap 2010-10-10 15:36:04 -07:00
Blake Kaplan
0b191e8ccd bug 580128 - Find the true caller through the wrappers. r=jst 2010-10-10 15:36:01 -07:00
Blake Kaplan
9d0588387a bug 580128 - Allow unwrapping XrayWrappers via XPCNativeWrapper.unwrap. r=jst 2010-10-10 15:35:54 -07:00
Blake Kaplan
d5907b5ac9 bug 580128 - Enter the right compartment when calling toString. r=jst 2010-10-10 15:35:51 -07:00
Blake Kaplan
adcddf1716 bug 580128 - Stop returning the old wrappers from their constructors. r=jst 2010-10-10 15:35:48 -07:00
Jason Orendorff
2885319d0b Bug 580128 - Some more compartment fixes. r=gal 2010-10-10 15:35:46 -07:00
Ben Turner
b264d08919 Bug 580128 - Make IndexedDB work with compartments. r=jst 2010-10-10 15:35:42 -07:00
Peter Van der Beken
3dae0dceb9 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
26f851aa87 bug 580128 - Make the component loader work for content scripts with UniversalXPConnect. r=mrbkap 2010-09-29 10:00:52 -07:00
Johnny Stenback
9ddf730c9d bug 580128 - Deal with null principals (for e.g. dom worker compartments). r=mrbkap 2010-09-29 10:00:52 -07:00
Blake Kaplan
d01df23560 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
0148dfb36c Fix dom/tests/mochitest/general/file_frameElementWrapping.html to deal with proxies. r=mrbkap 2010-09-28 17:02:43 -07:00
Johnny Stenback
c9ad413f3a bug 580128 - Forward to outer in AreDialogsBlocked. r=mrbkap 2010-09-28 17:02:43 -07:00
Blake Kaplan
b592545085 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
9b63ed2490 bug 580128 - Fix bugs dealing with transplanting when navigating. r=gal 2010-09-28 17:02:43 -07:00
Blake Kaplan
2d6d64441c bug 580128 - Wrap values in the array. r=jst 2010-09-27 20:40:27 -07:00
Blake Kaplan
8df12eab59 bug 580128 - Make js_DumpStackFrame deal with dummy frames. r=jst 2010-09-27 19:52:15 -07:00
Jason Orendorff
e71e7e1578 bug 580033 - Make JS_Save/RestoreFrameChain set cx->compartment. r=mrbkap 2010-09-27 18:24:24 -07:00
Sean Dunn
6a599f1040 Bug 597499 - Expand stack icon moves incorrectly and isn't centered [r=dolske, a=blocking]
--HG--
extra : rebase_source : 71892e360038861c49a1806e75aec2223cff2ac9
2010-09-27 14:04:00 -07:00
Dave Townsend
03d6403130 Bug 568251: Pending installs/upgrades are lost when upgrading to the new add-ons manager. r=robstrong, a=blocks-betaN 2010-10-13 12:28:52 -07:00
Dave Townsend
6b13c2bf29 Bug 595081: Don't allow changes to be made to AddonManager and AddonManagerInternal. r=robstrong, a=dtownsend 2010-10-12 14:31:52 -07:00
Neil Deakin
71674132a2 Bug 554937 - Implement arrow panels and use them for some notifications, r=gavin, a=betaN+ 2010-10-13 15:41:37 -04:00
Chris Jones
b51dfd9724 Bug 604058: Shadowable layers might not have shadows. r=joe a=blocking-betaN 2010-10-13 14:22:17 -05:00
Wesley Johnston
8afc004885 Bug 600300 - Save helper app downloads to downloads directory on Android [r=blassey a=blocking-fennec] 2010-09-28 12:22:00 -04:00