Commit Graph

119317 Commits

Author SHA1 Message Date
Matthew Gregan
713be4318b Bug 833578 - Start AudioSegment playing after first write rather than waiting for AudioStream's buffer to fill. r=roc 2013-01-23 18:53:10 +13:00
Philipp von Weitershausen
6edeccb0c9 Bug 823010 - Fix test cases. r=jgriffin 2013-01-23 17:40:48 +08:00
Philipp von Weitershausen
fcd6c80885 Bug 823010 - B2G SMS: We should not ack reception when there's a storage error. r=vicamo, ferjm a=blocking-b2g 2013-01-23 17:40:45 +08:00
Mike Hommey
7be1e0613c Bug 833627 - Change the gcc < 4.4 rejection error text in main configure.in to match js/src/configure.in's. DONTBUILD. r=ted
The change was unfortunately not committed at the time of landing.
2013-01-23 10:17:46 +01:00
Mike Hommey
12c6ad28f8 Bug 833253 - Don't rely on eval during recursive expansion for nsinstall_is_usable. r=ted 2013-01-23 10:13:04 +01:00
Mike Hommey
045aa6ad61 Bug 833627 - Reject gcc < 4.4, and remove a few unused Xcode related variables. r=ted 2013-01-23 10:13:02 +01:00
Edgar Chen
6b8c8e3fb4 Bug 809726 - Part 3: Exporting contacts to SIM. r=allstars.chh 2012-12-28 11:11:36 +08:00
Edgar Chen
75a4d1f061 Bug 809726 - Part 2: Support update command. r=allstars.chh 2013-01-21 18:04:27 +08:00
Edgar Chen
ae3ddc99da Bug 809726 - Part 1: Add new interface in nsIRadioInterfaceLayer. r=allstars.chh 2013-01-16 19:02:30 +08:00
Reuben Morais
8bc1bb2e5a Bug 793204 - Add remove() API to PermissionSettings. r=sicking 2013-01-22 23:34:26 -08:00
Chuck Lee
2f92a16449 Bug 831702 - 0007.Test case for STK Terminal Response. r=yoshi 2013-01-23 11:42:44 +08:00
Chuck Lee
413ee6b21f Bug 831702 - 0006.Test case for STK Event Download - Location Status. r=yoshi 2013-01-23 11:42:42 +08:00
Chuck Lee
7118716eeb Bug 831702 - 0005.Add worker which supports outgoingIndex in xpcshell ril_worker_icc test. r=yoshi. 2013-01-23 11:42:41 +08:00
Chuck Lee
d769d64c76 Bug 831702 - 0004.Fix data not set while its value is zero. r=yoshi. 2013-01-23 11:42:39 +08:00
Chuck Lee
9a7c574e05 Bug 831702 - 0003.Fix data member name typo. r=yoshi. 2013-01-23 11:42:37 +08:00
Chuck Lee
5197973f51 Bug 831702 - 0002.Calculate data size by data size calculation function. r=yoshi. 2013-01-23 11:42:35 +08:00
Chuck Lee
dba48d51a9 Bug 831702 - 0001.Add data size calculation function. r=yoshi. 2013-01-23 11:42:33 +08:00
Siddartha P
1930e5b065 Bug 827831 - Part 3: [B2G STK]: Marionette test case. r=allstars.chh 2013-01-09 17:13:16 +01:00
Siddartha Pothapragada
a35f11e5e2 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
1a419a2acd 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
57f16307f1 Bug 832041 - Actually push code for the followup. r=doh 2013-01-23 07:18:51 +01:00
Bobby Holley
97d9054f7d Bug 832041 - Followup addressing review comments that was accidentally left out. r=me 2013-01-23 07:15:53 +01:00
Bobby Holley
5de758ce91 Bug 832041 - Remove nsJSContext::CompileEventHandler and move consumers to nsJSUtils::CompileFunction. r=bz 2013-01-23 07:12:50 +01:00
Kartikaya Gupta
74224b0ffa 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
c93564a7fb 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
8b40491377 Backed out changeset e3ee71614172 (bug 830192)
--HG--
extra : rebase_source : d72290552011b539b8d9cc0a7a59dad4e585aa06
2013-01-23 18:19:45 +13:00
Doug Turner
42c35f7a9f Bug 833178 - Increase Stream Transport thread pool max threads. r=bsmith 2013-01-22 21:26:00 -08:00
Doug Turner
4b9c39638d No Bug - Bumping uuid of nsIStreamTransportService just in case. r=dougt 2013-01-22 21:25:50 -08:00
Doug Turner
36281bdf04 Backout part of Bug 726593 (cset 48918f0df283) that uses bug 757511. r=bsmith 2013-01-22 21:25:38 -08:00
Doug Turner
435bf482c8 Backout of Bug 757511 (cset 36e938e51481). r=bsmith 2013-01-22 20:39:58 -08:00
Bobby Holley
bc4863413b 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
ded682bc4a 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
4e3138cf29 Bug 823348 - Replace security wrapper enumeration with a more rule-based approach. r=mrbkap 2013-01-23 06:04:39 +01:00
Bobby Holley
f7f57d1c83 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
0d89c821ca 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
08c058f711 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
39b3f7c72e 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
69822a012d Bug 823348 - Use EnsureCompartmentPrivate In Rewrap and stop checking for null. r=mrbkap 2013-01-23 06:04:39 +01:00
Bobby Holley
c3882ecf88 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
44a21fc15a 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
ddece7045a 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
d0a9794947 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
c0cc2fa626 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
71cfd0816b 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
a5faa58c98 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
4ae2c313a8 Bug 803791 - Guard against allocating a zero-capacity direct buffer. r=cpeterson 2013-01-23 00:00:22 -05:00
Robert O'Callahan
cd0a72d12e 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
a8f1c1e23c 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
f506fe3c49 Bug 831973 - Remove extra scroll compensation code; r=roc 2013-01-22 17:04:41 +13:00
Patrick Wang
553746677d Bug 832925 - Use DeactivateDataCallByType to close SUPL connection. r=dougt 2013-01-21 19:30:54 +08:00