Commit Graph

121072 Commits

Author SHA1 Message Date
Dão Gottwald
ead6f8d4da Bug 825804 - Popup notifications shouldn't persist across page reloads. r=gavin 2013-02-08 15:51:54 +01:00
Mike Conley
250427e507 Bug 838855 - Fix "ele is null" exception being thrown on OSX on titlebar update. r=dao. 2013-02-08 11:42:06 -05:00
Mike Conley
5e836d9f38 Bug 839073 - Titlebar is collapsed in private browsing windows on OSX. r=dao. 2013-02-08 10:43:17 -05:00
Timothy Nikkel
85592e4e9d Bug 827946. GCC 4.5 with PGO miscompiles the ConvolveHorizontally function, so add an annotation to tone down the optmization on that function with GCC 4.5 only. r=joe 2013-02-08 10:39:16 -06:00
Ed Morley
779c83ee18 Bug 813577 - Use try/finally in checkForCrashes() to ensure minidump temp directories do not linger; r=gps 2013-02-08 16:32:07 +00:00
Andrea Marchesini
f6e4c4ef39 Bug 839439 - Convert HTMLAreaElement to WebIDL. r=Ms2ger 2013-02-08 11:34:48 -05:00
Andrea Marchesini
dbdee6119e Bug 839439 - Rename nsHTMLAreaElement to HTMLAreaElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLAreaElement.cpp => content/html/content/src/HTMLAreaElement.cpp
rename : content/html/content/src/nsHTMLAreaElement.cpp => content/html/content/src/HTMLAreaElement.h
2013-02-08 11:34:48 -05:00
Andrea Marchesini
df416443da Bug 839056 - Convert HTMLOptGroupElement to WebIDL. r=Ms2ger 2013-02-08 11:34:48 -05:00
Andrea Marchesini
01f03b4f30 Bug 839056 - Rename nsHTMLOptGroupElement to HTMLOptGroupElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLOptGroupElement.cpp => content/html/content/src/HTMLOptGroupElement.cpp
rename : content/html/content/src/nsHTMLOptGroupElement.h => content/html/content/src/HTMLOptGroupElement.h
2013-02-08 11:34:48 -05:00
Andrea Marchesini
0a9bd0e10e Bug 839105 - Convert HTMLFieldSetElement to WebIDL. r=Ms2ger 2013-02-08 11:34:48 -05:00
Andrea Marchesini
60ac13739c Bug 839105 - Rename nsHTMLFieldSetElement to HTMLFieldSetElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLFieldSetElement.cpp => content/html/content/src/HTMLFieldSetElement.cpp
rename : content/html/content/src/nsHTMLFieldSetElement.h => content/html/content/src/HTMLFieldSetElement.h
2013-02-08 11:34:47 -05:00
Andrea Marchesini
596e176e0b Bug 838172 - Convert AudioChannelManager to WebIDL. r=peterv 2013-02-08 11:34:47 -05:00
Marco Castelluccio
c311a835f2 Bug 838821 - Don't use file.exists() when not necessary (browser/components). r=gavin 2013-02-08 11:34:47 -05:00
Julien Wajsberg
7b7adccadc Bug 838561 - If we try to start a download or check for updates but we are already downloading, ignore the call. r=fabrice 2013-02-08 10:40:52 +01:00
Julien Wajsberg
aa76b15890 Bug 838337 - Set downloading to true when we get an appcache progress event. r=fabrice 2013-02-07 20:36:14 +01:00
Kan-Ru Chen (陳侃如)
306b434ae7 Bug 836505 - We don't care about the active count but only the active state. r=fabrice 2013-02-08 11:34:47 -05:00
Marco Castelluccio
d49d52fc79 Bug 811514 - Social panels shouldn't consume outside clicks. r=jaws 2013-02-08 11:34:46 -05:00
Ryan VanderMeulen
d4a2a8e070 Merge m-c to inbound. 2013-02-08 11:34:44 -05:00
Joel Maher
4e7372f4e2 Bug 834716 - test_resize_move_windows.xul fails on an ubuntu 12.04 VM, causes 45 other failures. r=mounir 2013-02-08 10:54:33 -05:00
Boris Zbarsky
25613db785 Bug 839116 followup. Stop depending on <html> elements having a content-visible QueryInterface in the poor CLOSED TREE. r=mrbkap 2013-02-08 15:03:07 +00:00
Justin Lebar
9d51477c3d Bug 838615 - Add missing process-priority nice values to b2g.js. r=cjones
This sets background_perceivable's nice at 10 and
background{,_homescreen}'s nice at 20.  I'm a bit worried that this will
de-prioritize background_perceivable so much that music players may
start skipping.  But we need to test.

--HG--
extra : rebase_source : e759ffb5bb58b89838c1dafdc49f737832593961
2013-02-08 14:32:24 +00:00
Justin Lebar
1c3c24b55e Bug 838616 - Eliminate a process-priority race condition around preallocated process creation. r=cjones
Previously, it was possible to return a dead preallocated process.  This
patch eliminates or at least significantly reduces the likelihood of
this race.

--HG--
extra : rebase_source : f51022581edbdee8b72a8a56e296b6706bf1d165
2013-02-08 14:32:23 +00:00
Justin Lebar
b6ea2ca2fe Bug 838616 - Boost preallocated process's priority sooner after we decide to transform it into an app process. r=cjones
--HG--
extra : rebase_source : 011d56c6e06bda680d073ae420b84d42e8a37257
2013-02-08 14:32:23 +00:00
Justin Lebar
839fec2a80 Bug 838620 - Eliminate the ChildOSPrivileges typedef in favor of base::ChildPrivileges. r=cjones
--HG--
extra : rebase_source : 9b8a8628d0e5ba75989d6d3eeacbf55a2796b27d
2013-02-08 14:32:23 +00:00
Justin Lebar
0d683ee58a Bug 838625 - Add hal::ProcessPriorityToString and use it in ProcessPriorityManager logging. r=cjones
--HG--
extra : rebase_source : 0a9ecf848a9c6c3ba37acafa24c775154ccb417f
2013-02-08 14:32:23 +00:00
Justin Lebar
ace6d5e0a7 Bug 838625 - Add logcat logging to ProcessPriorityManager. r=cjones
The logging is placed behind an #if 0 guard.

--HG--
extra : rebase_source : 9105e7225a2e64138c4d6fb2ea62209fc7f29ca2
2013-02-08 14:32:23 +00:00
Jonathan Watt
e580dc7fe6 Bug 836326 - Add pref for enabling/disabling <input type=range>. r=mounir. 2013-02-08 14:33:01 +00:00
Bobby Holley
0adeaf24aa Bug 821850 - Tests. r=bz 2013-02-08 14:24:22 +00:00
Bobby Holley
14d553647e Bug 821850 - Clone XBL into the XBL scope's compartment. r=bz 2013-02-08 14:24:22 +00:00
Bobby Holley
a9cbc7eea3 Bug 821850 - Dynamically waive Xray for field access by XBL script on bound nodes. r=bz 2013-02-08 14:24:22 +00:00
Bobby Holley
2be0c8d31e Bug 821850 - Expose XBL members via Xray wrappers. r=bz 2013-02-08 14:24:21 +00:00
Bobby Holley
54afaf16b6 Bug 821850 - Add API to lookup implementation members on XBL bindings. r=bz 2013-02-08 14:24:21 +00:00
Bobby Holley
ca473ac78b Bug 821850 - Make XBL prototype setup tamper-proof for Xrays. r=bz
We make the class object readonly/non-configurable, as well as all the properties
and methods on the class object.
2013-02-08 14:24:21 +00:00
Bobby Holley
28c75be525 Bug 821850 - Unwrap |callee| before passing it to InstallXBLField. r=bz
InstallXBLField knows how to handle cross-compartment |callee|. However,
The current value will always be wrapped. We need to unwrap said wrappers,
otherwise we'll end up with objects that aren't functions.
2013-02-08 14:24:21 +00:00
Bobby Holley
fdf4f109ca Bug 821850 - Install XBL field accessors on prototype objects at setup time, and nuke XBLResolve. r=bz 2013-02-08 14:24:21 +00:00
Bobby Holley
98ba7459d0 Bug 821850 - Hoist Field machinery into nsXBLProtoImplField. r=bz
This is a pure cut/paste except for removing |static| from XBLResolve.
XBLResolve will go away soon, so there's no need to put it in a header.
2013-02-08 14:24:21 +00:00
Bobby Holley
a332edb8a1 Bug 821850 - Remove unused arguments from InstallMember and simplify calling convention. r=bz
Let's just pass a JSContext and do Requests/Compartments in the caller.
2013-02-08 14:24:21 +00:00
Bobby Holley
61955f5559 Bug 821850 - Store a strong ref to the JSClass in nsXBLBinding. r=bz 2013-02-08 14:24:20 +00:00
Bobby Holley
43ec35d571 Bug 821850 - Make DoInitJSClass unconditionally fill in aClassObject. r=bz
Right now, DoInitJSClass only returns non-null if the class object is new
(and thus needs to have members installed on it). The code then goes and
unconditionally tries to install the members, null-checking and aborting
each time.

Instead, let's use an explicit boolean and one early return. This lets us
get a reference to our JSClass no matter what, which we need.
2013-02-08 14:24:20 +00:00
Bobby Holley
d82e69a6ff Bug 821850 - Remove bogus comment/check and replace with an assert. r=bz
This confused me, because fields are, in fact, exposed via the prototype
via the complicated two-step solution defined in InstallField. As it turns
out, CompilePrototypeMembers throws if mClassObject ends up null.
2013-02-08 14:24:20 +00:00
Bobby Holley
d9a73ac04a Bug 821850 - Pass nsXBLBinding instead of nsIContent during implementation installation. r=bz
This lets us hook up the binding to the JSClass.
2013-02-08 14:24:20 +00:00
Bobby Holley
a2d9d906cb Bug 821850 - Let nsExpandedPrincipal through CheckFunctionAccess. r=bz
Otherwise the whole method borks when it discovers that the principal doesn't
have a URI.
2013-02-08 14:24:20 +00:00
Bobby Holley
fd02fd27ef Bug 821850 - Clean up security wrappers for NAC. r=bz 2013-02-08 14:24:20 +00:00
Bobby Holley
032bee38ff Bug 821850 - Check for XBL scopes in nsContentUtils::IsCallerXBL(). r=bz 2013-02-08 14:24:20 +00:00
Bobby Holley
b757981155 Bug 821850 - Add infrastructure for lazily-created XBL scopes. r=bz 2013-02-08 14:24:19 +00:00
Bobby Holley
966a177f72 Bug 821850 - Make XBL-in-content tests Xray-safe. r=bz
We use XPCNativeWrapper.unwrap rather than .wrappedJSObject so that the tests
are agnostic to whether there's an Xray wrapper or not.

I converted test_tree_column_reorder.xul into a chrome test because it does
all sorts of crazy introspection on the binding, and it really should be
a chrome test anyway.
2013-02-08 14:24:19 +00:00
Bobby Holley
4bbdcf29e8 Bug 821850 - Don't rewrap |this| in nativeCall. r=jorendorff
This generally works with membrane semantics, but breaks when same-compartment
security wrappers are involved. In particular, when Field{Getter,Setter} live
in the XBL scope and operate on NAC via nativeCall, the this object can't be
rewrapped, because otherwise a SOW will appear and break everything.

It's not ideal to hardcode the index of |this|, but there's not really a great
alternative. IIUC the layout isn't changing any time soon, and this code will
hopefully be short-lived anyway, since SCSWs are on their way out.
2013-02-08 14:24:19 +00:00
Bobby Holley
c7dd1dee85 Bug 821850 - Properly propagate |strict| in JSObject::deleteByValue. r=jorendorff 2013-02-08 14:24:19 +00:00
Kartikaya Gupta
88dcc6657a Bug 777468 - Move ownership of TouchEventHandler from LayerView to JavaPanZoomController. r=Cwiiis
This patch has a bunch of semi-independent changes that unfortunately
couldn't be split apart without introducing hacks to make stuff build
on the intermediate patches. The main changes are:
- Moving TouchEventHandler from LayerView to JavaPanZoomController
- Registering the touch interceptor on the LayerView rather than the
  TouchEventHandler
- Moving the Tab:HasTouchListener handler from GeckoApp to JPZC

The net effect of all of this is that the TouchEventHandler is hidden
behind the PanZoomController interface and not accessible to GeckoApp
or GeckoAppShell.

Additionally, some of the JPZC methods were renamed from onXXX to
handleXXX to maintain the convention that onXXX methods are "interface"
methods (i.e. exposed to arbitrary other code) whereas handleXXX
methods are private/package and should only be called in very specific
ways.
2013-02-08 09:13:09 -05:00
Kartikaya Gupta
1a5dcc2958 Bug 777468 - Rename PanZoomController to JavaPanZoomController and extract a new PanZoomController interface. r=Cwiiis
--HG--
rename : mobile/android/base/gfx/PanZoomController.java => mobile/android/base/gfx/JavaPanZoomController.java
2013-02-08 09:12:59 -05:00