Commit Graph

125628 Commits

Author SHA1 Message Date
Ms2ger
a8c82dfff1 Bug 845374 - Part d: Create a new nsContentListDeclarations.h that doesn't include the world; r=khuey 2013-03-17 08:55:10 +01:00
Ms2ger
776e780f7e Bug 845374 - Part c: Stop including nsHtml5StringParser.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:09 +01:00
Ms2ger
bf24250ade Bug 845374 - Part b: include nsAutoPtr.h in nsDOMCSSValueList.cpp; r=khuey 2013-03-17 08:55:08 +01:00
Ms2ger
a649b47c77 Bug 845374 - Part a: Sort includes and forward declarations in nsContentUtils.{h,cpp}; r=khuey 2013-03-17 08:55:08 +01:00
Robert Strong
fc1f55f77d Windows stub installer only - compiled plugin - Bug 850110 - Download server IP address is sometimes reported as a single digit. r=bbondy 2013-03-17 00:09:45 -07:00
Robert Strong
2216d19db9 Windows stub installer only - plugin code - Bug 850110 - Download server IP address is sometimes reported as a single digit. r=bbondy 2013-03-17 00:09:35 -07:00
Mike Hommey
a408486d94 Bug 851002 - Adjust Elf headers before adding filler segment in elfhack. r=nfroyd 2013-03-17 08:03:06 +01:00
Mike Hommey
5c8b7a047e Bug 850643 - Check "cc" before "gcc" for host compiler when cross-compiling. r=ted 2013-03-17 08:03:05 +01:00
Mike Hommey
6de4add0cd Bug 850332 - Use jemalloc inside mozglue. r=kats,r=mwu 2013-03-17 08:03:05 +01:00
Mike Hommey
ae7aab6793 Bug 849497 - Enable getUserMedia in xulrunner. r=bsmedberg 2013-03-17 08:03:05 +01:00
Mike Hommey
d71c84f8b9 Bug 648407 - Fold NSPR, NSS and SQLite libraries all together on B2G, Android, OSX and Windows. r=blassey,r=cjones,r=bsmedberg 2013-03-17 08:02:54 +01:00
Mike Hommey
b38b1ef9de Bug 648407 - Support loading the folded library on Android. r=blassey 2013-03-17 08:02:35 +01:00
Mike Hommey
d6babd6685 Bug 648407 - Allow to fold NSPR, NSS and SQLite libraries all together. r=ted 2013-03-17 07:53:39 +01:00
Mike Hommey
90d6c70d7c Bug 648407 - Support expandlibs_exec.py --extract on windows. r=ted 2013-03-17 07:44:57 +01:00
Mike Hommey
20c634cb74 Bug 462463 - Stop using mddepend.pl. r=ted 2013-03-17 07:43:35 +01:00
Bobby Holley
5bc91d7db4 Bug 658909 - Tests. r=mrbkap 2013-03-16 22:58:17 -07:00
Bobby Holley
d550f0d79d Bug 658909 - Port tearoff-handling guts of GWNOJO to XPCCallContext and remove GWNOJO. r=mrbkap 2013-03-16 22:58:17 -07:00
Bobby Holley
874f086851 Bug 658909 - Remove GWNOJO from PreserveWrapper. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
0c3ff053c2 Bug 658909 - Remove GWNOJO from nsDOMClassInfo. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
d8cb9aeca4 Bug 658909 - Remove GWNOJO from AccessCheck. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
d0cd3ac168 Bug 658909 - Remove GWNOJO from nsXPConnect. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
3d757075f3 Bug 658909 - Remove GWNOJO from XPCVariant. r=mrbkap
The old code seems to be deciding whether we have a double-wrapped object by
checking _either_ the rv of GWNOJO _or_ the potential slim wrapper. This is
nonsensical, because double-wrapped objects are never slim wrappers.
Furthermore, that variable here is named 'proto', which further suggests
that this code is nonsensical. So let's just check for WNs.

Also, it seems pretty wack to be innerizing here before storing the jsval,
but I'm going to leave that for now.
2013-03-16 22:58:16 -07:00
Bobby Holley
8e8f39d378 Bug 658909 - Remove GWNOJO from XPCJSID. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
a8c785d855 Bug 658909 - Remove GWNOJO from JSValToXPCException. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
e2dd3437b4 Bug 658909 - Remove GWNOJO from JSObject2NativeInterface. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
5d5d5bcfac Bug 658909 - Remove GWNOJO for helper stubs. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
acebe495da Bug 658909 - Remove GWNOJO from MarkWrappedNative. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
d09761116c Bug 658909 - Add a new, much simpler API for getting WNs from JS objects. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
d18489beb3 Bug 658909 - Stop doing all the crazy stuff in GetWrappedNativeOfJSObject. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
0517579b24 Bug 658909 - Add a hack to support calling nohelper XPCWN methods without the proper |this|. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
35d97256a4 Bug 658909 - Use JS_{,Strict}PropertyOp instead of null when defining value props in nsDOMClassInfo. r=mrbkap
Using JSPropertyOp means a null shape getter, whereas null means that the shape
uses the class getter. This means that stuff like window.top, which is defined
as a non-configurable |own| property in nsDOMClassInfo, was getting set up with
XPC_WN_Helper_GetProperty as its get operation. But this confused
SandboxProxyHandler, which explicitly avoids rebinding class getters/setters,
which in turn meant that our sandboxPrototype feature was relying on the crazy
prototype-climbing behavior of GetWrappedNativeOfJSObject to make stuff like
|this.top| work. We're removing this behavior, so we need to fix nsDOMClassInfo
here.

Here are some DefineProperty cases that I left with null getters/setters:
* nsDOMClassInfo::ResolveConstructor
* The child window stuff at the bottom of nsWindowSH::NewResolve
* Named item resolution in nsNamedArraySH::NewResolve
* document.all stuff (scary!)
* nsHTMLDocumentSH::NewResolve
* nsHTMLFormElementSH::NewResolve
* nsStorage2SH::NewResolve
2013-03-16 22:58:14 -07:00
Bobby Holley
6db2f10d4c Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
0ac4a08fc8 Bug 658909 - Set args at XPCCallContext construct time in XPC_WN_GetterSetter. r=mrbkap
It's not clear to me why it's done this way, but it confuses our ability to
determine during wrapper lookup whether we're doing a set or a get. This aligns
the behavior with XPC_WN_CallMethod, including passing JSID_VOID for the name
(which is safe because XPCCallContext explicitly special-cases JSID_VOID and
doesn't call SetName in that case).
2013-03-16 22:58:13 -07:00
Bobby Holley
3e05c5d01b Bug 658909 - Initialize the same fields in both XPCCallContext constructors. r=mrbkap
This is a huge footgun. XPCCallContext is hot, but it's not too hot to be safe
here. Garbage XPCWN and JSObject pointers are bad.
2013-03-16 22:58:13 -07:00
Bobby Holley
7d252db9d9 Bug 658909 - Remove unnecessary ccx param. r=mrbkap 2013-03-16 22:58:13 -07:00
Bobby Holley
98ec54a6bc Bug 658909 - Make isSafeToUnwrap pseudo-dynamic for SOWs. r=mrbkap
This can go away as soon as XBL scopes are no longer behind a pref.
2013-03-16 22:58:13 -07:00
Bobby Holley
b2282e03e7 Bug 658909 - Force |this| computation in SandboxCallableProxyHandler::call when using Xrays. r=bz
Comment says it all.
2013-03-16 22:58:12 -07:00
Daniel Holbert
fbb0c25aed Bug 848159: In jsopcode.cpp, cast formalIndex to be unsigned when comparing it against another unsigned value, since we've already asserted it's nonnegative. r=jandem 2013-03-16 21:38:06 -07:00
Bill McCloskey
bfa3037d1f Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Phil Ringnalda
835396f6b3 Back out 9bfca2900825 (bug 694254) for incompetent review 2013-03-16 20:35:53 -07:00
Nicolas B. Pierron
6af702a0f4 Bug 849014 - Check type inference before optimizing regexp calls. r=sstangl 2013-03-16 20:05:46 -07:00
Trevor Saunders
063ecdc9fb bug 694254 - disable test_focus_browserui.xul on win 7/8 to see if it fixes the leak rs=philor 2013-03-16 22:10:32 -04:00
Brian R. Bondy
65b9cefed5 Bug 849342 - Remember passwords preference does not take effect immediately. r=mbrubeck. 2013-03-16 22:12:09 -04:00
Chris Lord
15c14b3e12 Bug 850789 - Pin the dynamic toolbar on screen when the tabs tray is open. r=kats 2013-03-17 01:53:41 +00:00
Chris Lord
c59a4feed2 Bug 850154 - Fix alignment of find-in-page bar after bug 716403. r=sriram
Use the RelativeLayout.LayoutParams instead of LinearLayout.LayoutParams to
make sure the find-in-page bar is aligned to the bottom of the page.
2013-03-17 01:53:40 +00:00
Chris Lord
2ea639cdcb Bug 850724 - Don't hide toolbar on load, or pin while loading. r=kats
UX decisions have been made to not hide the toolbar after the page has finished
loading, and not to pin the toolbar during page loading. These decisions fix
this bug.
2013-03-17 01:53:40 +00:00
Phil Ringnalda
be75725f52 Merge inbound and m-c 2013-03-16 15:09:36 -07:00
Brian Hackett
1bef51ca40 Backout 04695ce03bb6 (bug 836968) for topcrashing on a CLOSED TREE 2013-03-16 15:57:39 -06:00
Ehsan Akhgari
61554acae7 Bug 851814 - Do not clobber the high word of SharedLibrary addresses/offset on Win64; r=jrmuizel
--HG--
extra : rebase_source : 9bf7d5cd3dd71e0e1b315059bce4836663bc3a65
2013-03-16 15:05:32 -04:00
Ms2ger
d1bfe8e9c1 Merge backout on a CLOSED TREE. 2013-03-16 11:09:58 +01:00