XPCNativeWrapper::RewrapIfDeepWrapper cares nothing for the return value when obj is a shallow wrapper, thus a XOW come from the wrong scope is not re-wrapped.
Created attachment 421404 [details] testcase This tries to get cookies for www.apple.com. This works on trunk and 1.9.* (and 1.8 since bug 369334 is not fixed on 1.8).
status1.9.1: --- → wanted
Whiteboard: [sg:high] → [sg:high][3.6.x]
Created attachment 421935 [details] [diff] [review] Fix This uses the patch in bug 533600. I'm probably going to end up rolling this patch into my other, larger patch, but this fixes this bug. I have found my new hammer: XPCWrappedNativeScope::GetWrapperFor.
Fixed by bug 533600.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.