Commit Graph

119300 Commits

Author SHA1 Message Date
Siddartha P
a02186b10c Bug 827831 - Part 3: [B2G STK]: Marionette test case. r=allstars.chh 2013-01-09 17:13:16 +01:00
Siddartha Pothapragada
0ba7fcfa3d Bug 827831 - Part 2: [B2G STK]: Support variable timeout for GET INKEY. r=allstars.chh
From d4f98c2a3b0debfd13747602104a7530b0f999e9 Mon Sep 17 00:00:00 2001
---
 dom/system/gonk/ril_worker.js |    7 +++++++
 1 file changed, 7 insertions(+)
2013-01-09 05:49:47 -08:00
Siddartha Pothapragada
ae2183f784 Bug 827831 - Part 1: [B2G STK]: Decode Comprehension-TLV tag Duration, to support variable timeout for GET INKEY. r=allstars.chh sr=sicking
From 8ae86db8de8199a9fe77c672ed7ace8ec4e26c2d Mon Sep 17 00:00:00 2001
---
 dom/icc/interfaces/SimToolKit.idl |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
2013-01-22 18:21:32 -08:00
Bobby Holley
86175f16d4 Bug 832041 - Actually push code for the followup. r=doh 2013-01-23 07:18:51 +01:00
Bobby Holley
5227cfbe94 Bug 832041 - Followup addressing review comments that was accidentally left out. r=me 2013-01-23 07:15:53 +01:00
Bobby Holley
cec2ed5339 Bug 832041 - Remove nsJSContext::CompileEventHandler and move consumers to nsJSUtils::CompileFunction. r=bz 2013-01-23 07:12:50 +01:00
Kartikaya Gupta
cbdad1477a Bug 828126 - Enable ifdef'd code on Fennec now that dependent bugs have been fixed. r=avih 2013-01-23 00:52:19 -05:00
Matt Woodrow
f40488f317 Bug 832641 - Invalidate popups when they become visible rather than handling invalidations while they are hidden. r=roc 2013-01-23 18:46:36 +13:00
Robert O'Callahan
37796928cc Backed out changeset e3ee71614172 (bug 830192)
--HG--
extra : rebase_source : d72290552011b539b8d9cc0a7a59dad4e585aa06
2013-01-23 18:19:45 +13:00
Doug Turner
b973459612 Bug 833178 - Increase Stream Transport thread pool max threads. r=bsmith 2013-01-22 21:26:00 -08:00
Doug Turner
42acefb0e6 No Bug - Bumping uuid of nsIStreamTransportService just in case. r=dougt 2013-01-22 21:25:50 -08:00
Doug Turner
4b5aa24eca Backout part of Bug 726593 (cset 48918f0df283) that uses bug 757511. r=bsmith 2013-01-22 21:25:38 -08:00
Doug Turner
c762739c43 Backout of Bug 757511 (cset 36e938e51481). r=bsmith 2013-01-22 20:39:58 -08:00
Bobby Holley
b7fb048ffe Bug 823348 - Tests. r=mrbkap
We tack these onto the tests from bug 812415, adding coverage for
nsExpandedPrincipal and making sure that the waivers are deep.

We also take the opportunity to check the asymmetric security
relationship between a principal and its corresponding nsEP.
2013-01-23 06:04:39 +01:00
Bobby Holley
f20eabe075 Bug 823348 - Stop checking for Xray waivers in the Xray machinery. r=mrbkap
All the casese where we want to waive should now be going through WaiveXrayWrapper.
2013-01-23 06:04:39 +01:00
Bobby Holley
c82ae67593 Bug 823348 - Replace security wrapper enumeration with a more rule-based approach. r=mrbkap 2013-01-23 06:04:39 +01:00
Bobby Holley
4b3c0f19a3 Bug 823348 - Hoist special cases to the top of WrapperFactory::Rewrap. r=mrbkap
This paves the way for more rule-based selection of wrappers in the common case.
2013-01-23 06:04:39 +01:00
Bobby Holley
6284ce3329 Bug 823348 - Move COW prototype remapping out of wrapper selection. r=mrbkap
It's pretty orthogonal, and makes the critical block more complicated than it
needs to be.
2013-01-23 06:04:39 +01:00
Bobby Holley
39970d33e6 Bug 823348 - Precompute various parameters in Rewrap. r=mrbkap
This is generally cleaner, and avoids potentially calling these functions
multiple times when we start moving this stuff around.
2013-01-23 06:04:39 +01:00
Bobby Holley
7124dc509b Bug 823348 - Use GetXrayType for content->chrome Xray wrappers. r=mrbkap
There's no reason to do this any different than we do for XOWs and such. The
only thing this might conceivably support would be certain chrome XPWNs-as-COWs.
But that would require that they forced a parent in precreate without being
flagged as DOM objects in classinfo. And it's not clear why we'd want to support
that. And we're generally moving away from COWs anyway.
2013-01-23 06:04:39 +01:00
Bobby Holley
1aedd25af4 Bug 823348 - Use EnsureCompartmentPrivate In Rewrap and stop checking for null. r=mrbkap 2013-01-23 06:04:39 +01:00
Bobby Holley
72ddba04a7 Bug 823348 - Flip off the wantXrays for chrome sandboxes. r=mrbkap
wantXrays means that the sandbox wants Xray wrappers even when accessing same-
origin content. The default is true, which Blake says has something to do with
GreaseMonkey and days of old.

This flag never had an effect for chrome, because the chrome->chrome case always
short-circuited to &CrossCompartmentWrapper::singleton. But once we start
respecting the flag as a general-purpose indicator that Xrays should be applied
same-origin, we need to either add a special case in Rewrap or make the flag reflect
reality. The latter seems cleaner and more sane.

However, things are complicated by the fact that there's also a completely different,
orthogonal usage, whereby setting wantXrays to false implicitly waives Xray on the
returned sandbox _and_ on any results returned from evalInSandbox. This is just nuts.
The former can be accomplished by callers manually using .wrappedJSObject, and the
latter by having EvalInSandbox transitively apply waivers from their sandbox arguments.

I've updated the documentation on the MDN page so that it only describes the
reasonable usage. The next step is to get rid of the crazy behavior. I think the
best path of migration is to have wantXrays: false keep implicitly waiving, but
waive return values from EvalInSandbox based on whether the argument was waived. This
patch does that.
2013-01-23 06:04:39 +01:00
Bobby Holley
33983c1d00 Bug 823348 - Make NNXOWs use an explicitly opaque Policy. r=mrbkap
There's no reason to be doing a dynamic check here, given that the JSClasses
will never match. Lets be explicit and safe.
2013-01-23 06:04:38 +01:00
Bobby Holley
165e39b43e Bug 823348 - Do a better job of lying about the holder and make assertions fatal. r=mrbkap
I noticed this nonfatal assertion firing, unrelated to my patches. Leaking
the holder is not so great. Let's fix this for real.
2013-01-23 06:04:38 +01:00
Bobby Holley
ddf7e9edc1 Bug 823348 - Remove broken and unused __scriptOnly__ check. r=mrbkap
__scriptOnly__ is unused on mxr and addons-mxr. Morevoer, the current
implementation is totally broken, because we check for NNXOW, which only
happens when a random content JS object ends up in some other cross-origin
scope (via addons, presumably), whereas chrome objects use ChomeObjectWrapper.

I'm soon going to replace SCRIPT_ACCESS_ONLY with checked unwrapping, and mark
all COWs as unsafe to unwrap (see bug 821573 and bug 658909). So let's just kill
this thing here.
2013-01-23 06:04:38 +01:00
Bobby Holley
d66093b809 Bug 823348 - Don't set universalXPConnectEnabled for chrome compartments. r=mrbkap
There's a browser-chrome test that does this, which means that _all_ subsequent
browser-chrome tests inherit it. So depending on the ordering of cases in
WrapperFactory, we might end up using a CrossCompartmentWrapper rather than an
XrayWrapper, meaning that stuff like nodePrincipal doesn't work anymore.

The semantics of UniversalXPConnect are now entirely dicatated by what makes
our test suite go green. So let's not force ourselves to bend over backwards
during wrapping to handle this case. And let's fix that stupid test while
we're at it.
2013-01-23 06:04:38 +01:00
Bobby Holley
36a6df18c4 Bug 823348 - Uninline UniversalXPConnect management. r=mrbkap
Every time the layout of CompartmentPrivate changes, I forget to rebuild in
caps/ and spend half an hour wondering what the heck is going on. :-(
2013-01-23 06:04:38 +01:00
Phil Ringnalda
67676812b0 Back out 30b9fbf49c01:c7fc23428c3b (bug 823010) for being rotted by 8 hours
--HG--
extra : rebase_source : 0dde2f719d4963113b578d07a17a8001fb4e0f63
2013-01-22 21:02:58 -08:00
Kartikaya Gupta
8c62bd2eee Bug 803791 - Guard against allocating a zero-capacity direct buffer. r=cpeterson 2013-01-23 00:00:22 -05:00
Robert O'Callahan
a50bd28c0a Bug 830192. Integrate GetFixedContainingBlock into GetAbsoluteContainingBlock and ensure only elements which can be abs-pos containing blocks are turned into fixed-pos containing blocks when transformed. r=bzbarsky
--HG--
extra : rebase_source : 4d9bd92b23b1011a8ffba33d009615eb7f42a8a7
2013-01-23 17:06:12 +13:00
Shian-Yow Wu
905b20956f Bug 817985 - mobile data connection is not disconnected when we are connected to Wifi network. r=vicamo 2013-01-23 12:05:34 +08:00
Anthony Jones
9acfd2c3f3 Bug 831973 - Remove extra scroll compensation code; r=roc 2013-01-22 17:04:41 +13:00
Patrick Wang
6d3cb69b1c Bug 832925 - Use DeactivateDataCallByType to close SUPL connection. r=dougt 2013-01-21 19:30:54 +08:00
Daniel Holbert
6f00bd9662 Bug 833547: Mark extensions/gio and toolkit/system/gnome as FAIL_ON_WARNINGS. r=karlt 2013-01-22 18:15:40 -08:00
Justin Lebar
d57c6b2de7 Bug 833629 - Rebucket memory telemetry histograms. r=njn 2013-01-22 21:10:49 -05:00
Philipp von Weitershausen
cc51fd0082 Bug 823010 - Fix test cases. r=jgriffin 2013-01-22 18:06:23 -08:00
Philipp von Weitershausen
dd5f823e9b Bug 823010 - B2G SMS: We should not ack reception when there's a storage error. r=vicamo, ferjm a=blocking-b2g 2013-01-18 16:30:24 -08:00
Wes Johnston
c26d1095b8 backout 3167daa05ef4 2013-01-22 17:27:01 -08:00
Nick Alexander
8b3456b5bc Bug 833508 - Make GlobalSyncStage construction process two phased. r=rnewman
--HG--
extra : rebase_source : a635e9fd45bff609b1b5ced5b6f54d10b51aecee
2013-01-22 17:23:33 -08:00
Ehsan Akhgari
16e89b722a Bug 833631 - Unprefix mozAudioContext; r=roc
--HG--
extra : rebase_source : 3c477a97ea842a806f6fad6f5c3a81d6e50b27c3
2013-01-22 20:12:21 -05:00
Gina Yeh
a4934c9f16 Bug 827230 - [Bluetooth] [Hfp] Support feature 'Query Operator Selection' (AT+COPS?), r=echou, a=nonlibxul 2013-01-23 09:22:08 +08:00
Wes Johnston
46eec1d2bb Bug 832321 - Use Light Android theme in all of Fennec. r=sriram 2013-01-22 16:40:13 -08:00
Yiming Yang
52666b2528 Bug 830637 - Increase pageload timeout, r=jgriffin 2013-01-22 15:42:07 -08:00
Eddy Bruel
e1f5f5b9e2 Bug 568953 - Fix for build warning; r=Ms2ger 2013-01-21 19:02:41 +01:00
Sunny
80a312a340 Bug 832900 - Fix MathML elements creation tests. r=fredw 2013-01-23 18:30:48 -05:00
Rimas Kudelis
9d79b68a56 Bug 832763 - Update license of the Lithuanian spellchecker dictionary. r=gerv 2013-01-23 18:30:48 -05:00
Steve Singer
76c34d5c83 Bug 832711 - Add header for ElfW(auxv_t) missed by bug 817153. r=jmuizelaar 2013-01-23 18:30:48 -05:00
Joe Drew
12f4aa24df Bug 832446 - Don't use the high-quality downscaler on multipart images. r=jrmuizel 2013-01-21 11:37:54 -05:00
Oleg Romashin
1ef92f8ac6 Bug 832159 - Move internal part of InputData (nsEvent conversion) out from the header. r=drs, r=smaug 2013-01-23 18:30:48 -05:00
Ekanan Ketunuti
f1592931a1 Bug 832139 - Replace '-moz-transition' with 'transition' in browser/. r=dao 2013-01-18 10:29:43 +07:00