Ms2ger
8e3b668e74
Bug 845374 - Part o: Stop including nsIDOMEvent.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:15 +01:00
Ms2ger
772cf802cf
Bug 845374 - Part n: Stop including nsINode.h and nsIDOMNode.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:15 +01:00
Ms2ger
a4fa8a21ff
Bug 845374 - Part m: Move nsContentUtils::PositionIsBefore out of line; r=khuey
2013-03-17 08:55:15 +01:00
Ms2ger
a2173990cc
Bug 845374 - Part l: Stop including nsIDocument.h in nsContentUtils.h and fix two nits; r=khuey
2013-03-17 08:55:15 +01:00
Ms2ger
597a4c9da4
Bug 845374 - Part k: Stop including nsIContent.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:15 +01:00
Ms2ger
8834dd56c9
Bug 845374 - Part j: Stop including nsIXPCScriptable.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:15 +01:00
Ms2ger
7605f09582
Bug 845374 - Part i: Stop including nsNodeInfoManager.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:15 +01:00
Ms2ger
8324213971
Bug 845374 - Part h: Move nsContentUtils::NameChanged out of line; r=khuey
2013-03-17 08:55:14 +01:00
Ms2ger
96307a5c9b
Bug 845374 - Part g: Stop including nsContentSink.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:13 +01:00
Ms2ger
f8e13f3750
Bug 845374 - Part f: Create a new nsDocElementCreatedNotificationRunner.h; r=khuey
...
--HG--
rename : content/base/public/nsContentUtils.h => content/base/public/nsDocElementCreatedNotificationRunner.h
2013-03-17 08:55:12 +01:00
Ms2ger
35ae411e5a
Bug 845374 - Part e: Stop including nsContentList.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:11 +01:00
Ms2ger
61e9484cdd
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
f895b31cb6
Bug 845374 - Part c: Stop including nsHtml5StringParser.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:09 +01:00
Ms2ger
e3693c490b
Bug 845374 - Part b: include nsAutoPtr.h in nsDOMCSSValueList.cpp; r=khuey
2013-03-17 08:55:08 +01:00
Ms2ger
f598c02361
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
c0035e9c16
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
8db300e8f1
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
bb606f0208
Bug 851002 - Adjust Elf headers before adding filler segment in elfhack. r=nfroyd
2013-03-17 08:03:06 +01:00
Mike Hommey
0a18208119
Bug 850643 - Check "cc" before "gcc" for host compiler when cross-compiling. r=ted
2013-03-17 08:03:05 +01:00
Mike Hommey
654c6a346b
Bug 850332 - Use jemalloc inside mozglue. r=kats,r=mwu
2013-03-17 08:03:05 +01:00
Mike Hommey
d7340ad47c
Bug 849497 - Enable getUserMedia in xulrunner. r=bsmedberg
2013-03-17 08:03:05 +01:00
Mike Hommey
9b9ec67a58
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
4b3cad0bf2
Bug 648407 - Support loading the folded library on Android. r=blassey
2013-03-17 08:02:35 +01:00
Mike Hommey
e5f86190e5
Bug 648407 - Allow to fold NSPR, NSS and SQLite libraries all together. r=ted
2013-03-17 07:53:39 +01:00
Mike Hommey
0b83db1463
Bug 648407 - Support expandlibs_exec.py --extract on windows. r=ted
2013-03-17 07:44:57 +01:00
Mike Hommey
48307a4b44
Bug 462463 - Stop using mddepend.pl. r=ted
2013-03-17 07:43:35 +01:00
Bobby Holley
b3729e720f
Bug 658909 - Tests. r=mrbkap
2013-03-16 22:58:17 -07:00
Bobby Holley
7fbc4f2469
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
55e5322189
Bug 658909 - Remove GWNOJO from PreserveWrapper. r=mrbkap
2013-03-16 22:58:16 -07:00
Bobby Holley
1493608251
Bug 658909 - Remove GWNOJO from nsDOMClassInfo. r=mrbkap
2013-03-16 22:58:16 -07:00
Bobby Holley
2261f1ce91
Bug 658909 - Remove GWNOJO from AccessCheck. r=mrbkap
2013-03-16 22:58:16 -07:00
Bobby Holley
2491e8030a
Bug 658909 - Remove GWNOJO from nsXPConnect. r=mrbkap
2013-03-16 22:58:16 -07:00
Bobby Holley
621e6b8496
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
9066876a33
Bug 658909 - Remove GWNOJO from XPCJSID. r=mrbkap
2013-03-16 22:58:15 -07:00
Bobby Holley
9c4d015129
Bug 658909 - Remove GWNOJO from JSValToXPCException. r=mrbkap
2013-03-16 22:58:15 -07:00
Bobby Holley
0d540a32dd
Bug 658909 - Remove GWNOJO from JSObject2NativeInterface. r=mrbkap
2013-03-16 22:58:15 -07:00
Bobby Holley
8a60c09a1f
Bug 658909 - Remove GWNOJO for helper stubs. r=mrbkap
2013-03-16 22:58:15 -07:00
Bobby Holley
5fbd59201c
Bug 658909 - Remove GWNOJO from MarkWrappedNative. r=mrbkap
2013-03-16 22:58:15 -07:00
Bobby Holley
ffb73d345d
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
8160c96d4e
Bug 658909 - Stop doing all the crazy stuff in GetWrappedNativeOfJSObject. r=mrbkap
2013-03-16 22:58:14 -07:00
Bobby Holley
5b8d755b22
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
24a5c2c905
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
b458ef37b2
Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap
2013-03-16 22:58:14 -07:00
Bobby Holley
721351e660
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
e04912b20e
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
a22cc9ffed
Bug 658909 - Remove unnecessary ccx param. r=mrbkap
2013-03-16 22:58:13 -07:00
Bobby Holley
11ee47784a
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
b3038807d1
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
64a1dc01a2
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
a3cea08b3a
Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley)
2013-03-16 20:36:37 -07:00