Commit Graph

55225 Commits

Author SHA1 Message Date
Andreas Gal
04c3f3cf48 bug 599503 - Return true compartment info from JSObject::getCompartment(). r=jorendorff/gregor/gal 2010-09-27 13:49:09 -07:00
Blake Kaplan
7f03dba33e 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
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
420eda056d bug 580128 - Make xpcconvert trust cx->compartment when called from JS. r=peterv 2010-09-22 16:35:10 -07:00
Blake Kaplan
03cb31a09c 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
19e59ef574 bug 580128 - .wrappedJSObject returns a wrapper that pushes principals. r=gal 2010-09-20 14:47:15 -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
34ecff9986 bug 580128 - Make compartment warnings real. 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
c878f8f2a9 bug 580128 - Don't allow fast getting of nsGlobalWindow's wrapper cache. r=peterv 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
2ce9a1fca4 bug 580128 - Propagate whether we're getting or setting to getPropertyDescriptor. r=gal 2010-09-17 14:54:41 -07:00
Blake Kaplan
b232404c93 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
bd717288e6 bug 580128 - Make evalInSandbox work with the new wrappers. r=peterv 2010-09-17 14:54:41 -07:00
Blake Kaplan
ce1fec34f5 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
b9ceb8ebe5 bug 580128 - Prepare objects for wrapping. r=peterv 2010-09-17 14:54:41 -07:00
Blake Kaplan
a55f43f1f0 bug 580128 - Allow calling functions cross origin. r=gal 2010-09-17 14:54:40 -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
Blake Kaplan
c0cb068948 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
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
cfd8caf51b 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
2316129cdc bug 580128 - Make AccessCheck work (fixing bad calls/missing assumptions). r=gal/peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan
0d477e8a1f 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
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
cfc2a1a543 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
365ba05975 Bug 580128 - Make the system principal consistent over the strings it gives out. r=peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan
3c355b8fa0 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
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
Blake Kaplan
a34f91e879 Fix hiding warnings. r=peterv 2010-09-17 14:54:39 -07:00
Luke Wagner
07202b774d Remove unnecessary padding from JSStackFrame 2010-10-08 22:58:33 -07:00
Robert Sayre
ba8adf47b3 Merge mozilla-central to tracemonkey. 2010-10-08 21:56:00 -04:00
Ian Gilman
e82a24870f merge panorama-central to mozilla-central [a=blocking, dietrich] 2010-10-08 10:35:04 -07:00
Dave Townsend
1f39aacf71 Bug 595656: Add-ons view rounded border corners sometimes cut off by content. r=Unfocused, a=blocks-final 2010-10-08 10:12:09 -07:00
Ben Hearsum
284d3e7b2f bug 485860: change automation to also post en-US xpi, just like any other locale -- don't override PKG_LANGPACK_PATH when generating en-US langpack. r=ted, a=bsmedberg/approval2.0+ 2010-10-08 13:00:28 -04:00
Jim Mathies
0a31580bbd bustage fix for 128d7ea8ebfc. a=bustage 2010-10-08 11:43:55 -05:00
Ehsan Akhgari
f588e54d24 Fix a non-libxul accessibility build bustage (regression from bug 598238); r=davidb a=bustagefix 2010-10-08 12:15:53 -04:00
Bas Schouten
7093f0f17d Bug 600941: Follow-up to properly process review comment, typo. r=vlad a=blocking-betaN 2010-10-08 18:13:47 +02:00
Bas Schouten
d3a7e174bd Bug 600909: Use OptimalFillOperator() for drawing some images. r=joedrew a=blocking-betaN 2010-10-08 18:02:58 +02:00
Bas Schouten
69868a0008 Bug 600909: Optimize DrawPath for working with D2D surfaces. r=vlad a=blocking-betaN 2010-10-08 18:02:56 +02:00
Bas Schouten
50d248afd4 Bug 601928: Check result of create texture for tmpTexture. r=jrmuizel a=blocking-beta8 2010-10-08 18:02:53 +02:00
Bas Schouten
4fe7e27b52 Bug 601785: Use true pointer size for x64 builds. r=vlad a=approval2.0 2010-10-08 18:02:41 +02:00
Bas Schouten
9f234ad045 Bug 601053: Prevent DXGI from handling alt+enter. r=vlad a=blocking-beta8 2010-10-08 18:02:39 +02:00
Bas Schouten
db79503410 Bug 600045: Reftest for canvas transformed strokes using 'lighter'. r=jrmuizel a=blocking-betaN 2010-10-08 18:02:36 +02:00
Bas Schouten
e90cf9539d Bug 600045: Fix problems with non-over operator and transformed strokes. r=jrmuizel a=blocking-betaN 2010-10-08 18:02:29 +02:00