Boris Zbarsky
f0aed9ddea
Bug 601247. Don't JSVAL_TO_PRIVATE a random jsval. r=jst, a=jst
2010-10-15 17:55:53 -04:00
Justin Lebar
1e91d0253e
Backing out changesets bb01920c2708 and a4a69aef3cba due to orange.
2010-10-15 16:24:08 -07:00
Boris Zbarsky
77aa754c67
Bug 601247. Don't JSVAL_TO_PRIVATE a random jsval. r=jst
2010-10-15 17:55:53 -04:00
Dão Gottwald
18d8144ca5
Bug 591573 - remove support for general.useragent.vendor & vendorSub. r=dwitte sr=dveditz a=jst
2010-10-15 11:11:19 +02:00
Olli Pettay
8a30203fc4
Bug 603535 - nsIEventListenerService.getEventTargetChainFor failure on TM nightly, r=mrbkap, a=blocking
2010-10-14 17:45:20 +03:00
Blake Kaplan
29e85b9844
Merge mozilla-central into tracemonkey
2010-10-13 17:54:54 -07:00
Jonas Sicking
e7e13b2084
Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner
2010-10-13 16:25:33 -07:00
Peter Van der Beken
51527b16fd
Try to fix orange from d468bf98f7a1 (Fix for bug 603531 ("ASSERTION: bad outer object hook" and crash [@ js::gc::Cell::compartment]), compartments followup.)
...
--HG--
extra : rebase_source : 26ed7548f57836136162e6830034d0e40bf0853b
2010-10-12 17:25:34 -07:00
Peter Van der Beken
6c0a645775
Fix for bug 603531 ("ASSERTION: bad outer object hook" and crash [@ js::gc::Cell::compartment]), compartments followup. r=mrbkap.
2010-10-12 15:03:15 -07:00
Blake Kaplan
cc6236d948
Bug 603533 - We need to hold a strong reference when forwarding to the outer window. r=jst
...
--HG--
extra : rebase_source : e885ff63003bd52d94bb3d2bc7ea0e1c631884b6
2010-10-12 11:59:28 -07:00
Jim Blandy
713b25831a
Bug 601168: Allow nsHTMLPluginObjElementSH::Call to pass through non-Object |this| values to the plugin. r=bz,gal
...
This introduces some new JSAPI C++ entry points, one of which allows
arbitrary jsvals to be passed as the |this| value to a call; this means we
avoid a JSVAL_TO_OBJECT call in the caller, and its corresponding
OBJECT_TO_JSVAL call in the callee.
2010-10-12 11:50:03 -07:00
Andreas Gal
06b37f317b
Bug 580128. Don't preserve the navigator object in cross compartment navigation. r=jst@mozilla.org
2010-10-10 15:46:01 -07:00
Blake Kaplan
7e16afee03
bug 580128 - The window is named Window, not WindowProxy. r=gal
2010-10-10 15:43:01 -07:00
Johnny Stenback
1b772138d9
Bug 580128. Resolve class names on the window's own JS object, not on the passed in object. r=peterv@propagandism.org
2010-10-10 15:42:23 -07:00
Blake Kaplan
4982e8d388
bug 580128 - Distinguish between XOW XrayWrappers and XPCNW XrayWrappers and use the new knowledge in a few places. r=gal
2010-10-10 15:42:18 -07:00
Blake Kaplan
b49f4387f9
bug 580128 - Only expose same-compartment window.wrappedJSObject to chrome callers. r=jst
2010-10-10 15:42:15 -07:00
Peter Van der Beken
6594bfed65
bug 580128 - Remove old wrappers. r=mrbkap
2010-10-10 15:41:40 -07:00
Andreas Gal
4ed857a43e
bug 580128 - Try to allow "XOWs" to see named frames.
2010-10-10 15:41:30 -07:00
Andreas Gal
a9cd5a763d
bug 580128 - Remove vestiges of old wrappers from nsDOMClassInfo. r=mrbkap
2010-10-10 15:41:27 -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
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
0b191e8ccd
bug 580128 - Find the true caller through the wrappers. r=jst
2010-10-10 15:36:01 -07:00
Blake Kaplan
d5907b5ac9
bug 580128 - Enter the right compartment when calling toString. r=jst
2010-10-10 15:35:51 -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
c9ad413f3a
bug 580128 - Forward to outer in AreDialogsBlocked. r=mrbkap
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
11e65685b7
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
cb84d63788
bug 580128 - Pass the right resolve flags to ResolveNativeHandler. r=peterv/jst
2010-09-24 15:30:00 -07:00
Blake Kaplan
964c4a31ef
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
d8815d1675
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
76235d110d
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
ba85ed3a91
bug 580128 - Set nsGlobalChromeWindows' principals to chrome even before they know it. r=jst
2010-09-17 14:54:41 -07:00
Blake Kaplan
b594d291ff
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
8a04a08f4f
bug 580128 - Make the Window constructor be defined on new windows. r=peterv
2010-09-17 14:54:40 -07:00
Blake Kaplan
f981834205
bug 580128 - Give windows a .wrappedJSObject property to help out old consumers of XPCNativeWrappers. r=peterv
2010-09-17 14:54:40 -07:00
Chris Pearce
c22432e72c
Bug 600791 - Correct DOM class info for TimeRanges class. r=jst a=blocking2.0
2010-10-13 14:01:37 +13:00
Blake Kaplan
2c70930a60
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
dab96e4a0d
bug 580128 - Fix code that expects XPConnect to hand outer windows to C++ from JS. r=peterv
2010-09-17 14:54:40 -07:00
Blake Kaplan
5bfbd563c6
bug 580128 - Now that we use a proxy for the outer window, nsOuterWindowSH is unused (except for PreCreate). Nuke it. r=peterv
2010-09-17 14:54:40 -07:00
Blake Kaplan
0e7a7f5511
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
5bc789b070
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
Olli Pettay
78182c2036
Backout Bug 508518, a=regression?
2010-10-12 12:57:32 +03:00
Olli Pettay
05b9ab5a2e
Backout Bug 508518, a=regression?
2010-10-12 12:55:31 +03:00
Olli Pettay
cb6e20ac9b
Bug 508518, Implement nsUITimerCallback with one-shot timer, p=romaxa+me, r=jst, a=blocking-fennec
2010-10-12 11:09:06 +03:00
Honza Bambas
36d86d4adc
Bug 599479 - Accessing window.localStorage with dom.storage.enabled=false causes NS_ERROR_DOM_SECURITY_ERR, r=jst, a2.0=jst
2010-10-07 16:43:18 +02:00
Kyle Huey
7d306fa717
Bug 599966: Null check argument of window.createBlobURL to avoid crashing. r=sicking a=blocking-beta-8
...
--HG--
rename : content/base/test/test_bug543870.html => content/base/test/test_mozfiledataurl.html
extra : rebase_source : 43ce51487370b415340cb18de74e5bf0e718067f
2010-10-02 04:24:41 -04:00
Mike Kristoffersen
b819ceb9ae
Bug 561244 - e10s: forward JS 'crypto' calls from content->chrome (Part 1/3 - Adding unique define to disable crypto object) r=jst a=blocking-fennec
...
--HG--
extra : rebase_source : 4ad7c331127b5fc75aebbad45a6a529aabe4f5e6
2010-09-29 18:56:46 +02:00
Andreas Gal
1649ef6d21
Always create a dummy stack frame when crossing compartment boundaries (bug 600015, r=mrbkap).
2010-09-27 15:55:15 -07:00
Chris Jones
dfe1b316b7
Bug 596969: Allow a document's CSS viewport to be permanently overridden by chrome script. sr=dbaron a=blocking-fennec
2010-09-24 17:41:31 -05:00