Commit Graph

145670 Commits

Author SHA1 Message Date
Bobby Holley
bcb3b4eb2c Bug 905364 - Force the SafeJSContext to fire up in xpcshell. r=bz 2013-09-06 11:35:12 -07:00
Bobby Holley
b7760a0b9d Bug 905364 - Don't call into AllowXULXBLForPrincipal during SafeJSContext initialization. r=bz
In the old world, we'd be saved by initializing the SafeJSContext early enough
that we'd short-circuit in the nsContentUtils::IsInitialized() check. That's not
the case anymore, so let's hande this explicitly.
2013-09-06 11:35:11 -07:00
Kannan Vijayan
b11bad2233 Bug 909764 - Fix IonBuilder to properly propagate exceptions raised during compilation. Make getTypeOrSingleObject (and any of its infallible callers) into fallible methods. r=h4writer 2013-09-06 14:27:07 -04:00
Daniel Holbert
d7bc491639 Bug 913247 followup: Remove superfluous call to imagesToRefresh.Clear(). rs=bz 2013-09-06 10:57:40 -07:00
Chris Peterson
0e60ab712c Bug 912748 - Only call GsmCellLocation.getPsc() on GB+. r=blassey 2013-09-05 11:57:18 -07:00
Jason Orendorff
b60be23ea3 Bug 893186, part 5 - Delete JS_GetPropertyAttributes and many similar APIs; remove half a dozen methods from JS::Class. r=Waldo.
--HG--
extra : rebase_source : 1f4a01938b06b66ef855f9b654f098b4819b1390
2013-09-06 12:05:30 -05:00
Jason Orendorff
5b00ce7204 Bug 893186, part 4 - Replace a use of JS_GetUCPropertyAttributes in JSD with a call to JS_GetOwnPropertyDescriptorById. r=luke.
--HG--
extra : rebase_source : 4b035be0aec9206c3849c45ade6b88718a15031b
2013-09-06 12:05:30 -05:00
Jason Orendorff
84ac765bbd Bug 893186, part 3 - Add JS_GetOwnPropertyDescriptor. Migrate a test from JS_GetPropertyAttributes to the new thing. r=njn.
--HG--
extra : rebase_source : 0141c90cc8c75b223e09c9125f6daef9f704082e
2013-09-06 12:05:28 -05:00
Jason Orendorff
4022d26fc2 Bug 893186, part 2 - In Interpreter-inl.h, use JSObject::getGenericAttributes instead of JSObject::getPropertyAttributes. r=njn.
--HG--
extra : rebase_source : b91f5e77eebd6c71e9d65a651ddc997297959a52
2013-09-06 12:02:52 -05:00
Jason Orendorff
83ab6f64c3 Bug 893186, part 1 - Fix some code in xpconnect to use JS_HasProperty instead of JS_GetPropertyAttributes. r=bholley.
--HG--
extra : rebase_source : 2a9350bfd887fb6000d4f558f79c1a0dc8483efb
2013-09-06 12:02:51 -05:00
Tom Schuster
e6568bd78f Bug 913280 - Electrolysis: Refactor RemoteWebProgress to use a Manager that owns the toplevel and all the sublevel WebProgress objects. r=felipe 2013-09-06 13:10:11 -04:00
Nicholas D. Matsakis
20badf30d7 Bug 912108 - Rename BinaryData to TypedObject r=sfink
--HG--
rename : js/src/builtin/BinaryData.cpp => js/src/builtin/TypedObject.cpp
rename : js/src/builtin/BinaryData.h => js/src/builtin/TypedObject.h
rename : js/src/jit-test/tests/binary-data/fuzz1.js => js/src/jit-test/tests/TypedObject/fuzz1.js
rename : js/src/jit-test/tests/binary-data/fuzz10.js => js/src/jit-test/tests/TypedObject/fuzz10.js
rename : js/src/jit-test/tests/binary-data/fuzz11.js => js/src/jit-test/tests/TypedObject/fuzz11.js
rename : js/src/jit-test/tests/binary-data/fuzz2.js => js/src/jit-test/tests/TypedObject/fuzz2.js
rename : js/src/jit-test/tests/binary-data/fuzz3.js => js/src/jit-test/tests/TypedObject/fuzz3.js
rename : js/src/jit-test/tests/binary-data/fuzz4.js => js/src/jit-test/tests/TypedObject/fuzz4.js
rename : js/src/jit-test/tests/binary-data/fuzz5.js => js/src/jit-test/tests/TypedObject/fuzz5.js
rename : js/src/jit-test/tests/binary-data/fuzz6.js => js/src/jit-test/tests/TypedObject/fuzz6.js
rename : js/src/jit-test/tests/binary-data/fuzz7.js => js/src/jit-test/tests/TypedObject/fuzz7.js
rename : js/src/jit-test/tests/binary-data/fuzz8.js => js/src/jit-test/tests/TypedObject/fuzz8.js
rename : js/src/jit-test/tests/binary-data/fuzz9.js => js/src/jit-test/tests/TypedObject/fuzz9.js
rename : js/src/jit-test/tests/binary-data/jit-prefix.js => js/src/jit-test/tests/TypedObject/jit-prefix.js
rename : js/src/jit-test/tests/binary-data/jit-read-float64.js => js/src/jit-test/tests/TypedObject/jit-read-float64.js
rename : js/src/jit-test/tests/binary-data/jit-read-int.js => js/src/jit-test/tests/TypedObject/jit-read-int.js
rename : js/src/tests/ecma_6/BinaryData/architecture.js => js/src/tests/ecma_6/TypedObject/architecture.js
rename : js/src/tests/ecma_6/BinaryData/arrayofstructs.js => js/src/tests/ecma_6/TypedObject/arrayofstructs.js
rename : js/src/tests/ecma_6/BinaryData/arraytype.js => js/src/tests/ecma_6/TypedObject/arraytype.js
rename : js/src/tests/ecma_6/BinaryData/memory.js => js/src/tests/ecma_6/TypedObject/memory.js
rename : js/src/tests/ecma_6/BinaryData/numerictypes.js => js/src/tests/ecma_6/TypedObject/numerictypes.js
rename : js/src/tests/ecma_6/BinaryData/shell.js => js/src/tests/ecma_6/TypedObject/shell.js
rename : js/src/tests/ecma_6/BinaryData/size_and_alignment.js => js/src/tests/ecma_6/TypedObject/size_and_alignment.js
rename : js/src/tests/ecma_6/BinaryData/structequiv.js => js/src/tests/ecma_6/TypedObject/structequiv.js
rename : js/src/tests/ecma_6/BinaryData/structtypeenumerate.js => js/src/tests/ecma_6/TypedObject/structtypeenumerate.js
rename : js/src/tests/ecma_6/BinaryData/structtypeindexedfields.js => js/src/tests/ecma_6/TypedObject/structtypeindexedfields.js
rename : js/src/tests/ecma_6/BinaryData/structtypeprototype.js => js/src/tests/ecma_6/TypedObject/structtypeprototype.js
rename : js/src/tests/ecma_6/BinaryData/structtypereflection.js => js/src/tests/ecma_6/TypedObject/structtypereflection.js
rename : js/src/tests/ecma_6/BinaryData/structtypestructuralassign.js => js/src/tests/ecma_6/TypedObject/structtypestructuralassign.js
2013-09-06 10:50:49 -04:00
Fernando Jiménez
13c9aa66be Bug 818317 - Expose debug messages in navigator.mozPay() for debug enabled profiles. r=fabrice 2013-09-06 18:43:54 +02:00
Stephen Pohl
165a3138d0 Bug 817700 - Fix animSVGImage test. r=roc 2013-09-06 12:30:40 -04:00
Stephen Pohl
f6a47fb4e0 Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-09-06 12:30:36 -04:00
Stephen Pohl
299783d672 Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-09-06 12:30:30 -04:00
Stephen Pohl
1e6232e229 Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc 2013-09-06 12:30:21 -04:00
Stephen Pohl
9e1e5d1a4a Bug 817700 - Make <canvas>.toBlob run asynchronously. r=seth,roc 2013-09-06 12:30:17 -04:00
Bobby Holley
0d8272ce2d Bug 912322 - Stop making XBL methods available to the web. r=bz 2013-09-06 09:12:56 -07:00
Bobby Holley
0fcc3886ab Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-06 09:12:56 -07:00
Bobby Holley
b874fd5622 Bug 912322 - Update semantics of IsChromeOrXBL to return true for remote XUL. r=bz
This brings us into alignment with nsContentUtils::IsCallerXBL(). We also take
the opportunity to clean up some comments and invariants that changed with the
removal of the XBL bit.
2013-09-06 09:12:56 -07:00
Bobby Holley
1203bc42f5 Bug 912322 - Sync pref from reftest-cmdline.js to bootstrap.js. r=jgriffin 2013-09-06 09:12:55 -07:00
Nicolas Silva
4f81e6d0f1 Bug 912939 - Rename LayerTransaction.ipdlh into LayersMessages.ipdlh. r=kanru
--HG--
rename : gfx/layers/ipc/LayerTransaction.ipdlh => gfx/layers/ipc/LayersMessages.ipdlh
2013-09-06 17:41:00 +02:00
Ed Morley
93ac26880b Merge mozilla-central and inbound 2013-09-06 16:23:50 +01:00
Ed Morley
ea69a10fdf Merge latest green fx-team changeset and mozilla-central 2013-09-06 16:19:32 +01:00
Ed Morley
59d1c1d15b Merge latest green b2g-inbound changeset and mozilla-central 2013-09-06 16:17:55 +01:00
Jim Blandy
3ce8b0ca6a Bug 892114: Add support for Unix domain sockets to nsIServerSocket.idl and @mozilla.org/network/server-socket;1. r=mayhemer 2013-09-06 08:06:23 -07:00
Jim Blandy
445da12934 Bug 892114: Whitespace and spelling fixes encountered while working on Unix domain socket support. r=mayhemer 2013-09-06 08:06:23 -07:00
Jim Blandy
544b219f25 Bug 899757: Make nsServerSocket::InitWithAddress provide more detailed error results. r=mayhemer, r=ted
I looked through the NSPR socket creation functions that InitWithAddress
uses to see which errors they could return, and placed appropriate comments
in ErrorAccordingToNSPR.

The test coverage is not great; in particular, I wasn't able to find a way
to elicit "address in use" errors from Windows (although I could from
Linux); the web says that Windows is much more relaxed about binding
listening sockets than Unix derivatives. I'm interested in suggestions.
2013-09-06 08:06:22 -07:00
Jim Blandy
3e52bff456 Bug 899757: Distinguish PR_ADDRESS_NOT_SUPPORTED_ERROR from other network failures. r=mayhemer
I broke out this this change on its own, because it seemed to require some care:
PR_ADDRESS_NOT_SUPPORTED_ERROR used to be lumped in with several other NSPR
error codes and reported as NS_ERROR_CONNECTION_REFUSED; and a dumb grep shows
that the NS_ERROR_ is widely checked for. Introducing the distinction might
require the new NS_ERROR_SOCKET_ADDRESS_NOT_SUPPORTED value to be checked for
everywhere that currently checks for NS_ERROR_CONNECTION_REFUSED.

But that seems unlikely to be necessary: first of all, it shouldn't really
be possible, via the XPCOM interface, to force this error path to occur at
present: the components' implementations are in complete control over which
socket address types get used. I also did a Try push with a call to
NS_ABORT if a PR_ADDRESS_NOT_SUPPORTED_ERROR ever flows through
ErrorAccordingToNSPR; there were no crashes.

But if that's so, then why introduce the new error code at all? A later
patch adds support for Unix-domain sockets, a type of socket address which
is *not* supported on non-Unix systems. In that case, a distinct error code
will help people diagnose problems quickly.
2013-09-06 08:06:22 -07:00
Ryan VanderMeulen
8a4bc2e35b Bug 865516 - Fix ordering of includes in MIRGraph.cpp. r=themaid
CLOSED TREE
2013-09-06 10:35:06 -04:00
Hannes Verschore
a2dc2c2217 Bug 909717 - Backout due to orange + style nit orange fix on a CLOSED TREE. 2013-09-06 16:25:35 +02:00
Axel Hecht
1e63de455c bug 911745, sync browser/locales/all-locales with build configs, r=gavin 2013-09-06 15:57:28 +02:00
Neil Deakin
83eef66c63 Bug 875616, disable titlebar paneltop test on Linux due to unreliable window positioning timing 2013-09-06 09:47:39 -04:00
Neil Deakin
4485d15123 Bug 621399, modal dialog focus tests sometimes fail on Windows 8 so disable them there 2013-09-06 09:47:36 -04:00
Hannes Verschore
0537ad8a62 Bug 913415: Tracelogging: Add support for logging multiple threads + initial support for ion background thread compiler, r=till 2013-09-06 15:30:09 +02:00
Corey Ford
7bb7eca6a1 Bug 886646 - Part 7: Reftests for sticky positioning. r=dbaron 2013-09-06 09:35:16 -04:00
Corey Ford
5db567cbb1 Bug 886646 - Part 6: Implement sticky positioning, calculated on reflow and scroll. r=dbaron, r=dholbert 2013-09-06 09:35:16 -04:00
Corey Ford
367d66a9a7 Bug 886646 - Part 5: Always build a stacking context for sticky positioned elements. r=dbaron 2013-09-06 09:35:16 -04:00
Ed Morley
8a32b9df82 Merge mozilla-central and fx-team 2013-09-06 12:33:41 +01:00
Ed Morley
85b786f40f Merge mozilla-central and b2g-inbound 2013-09-06 12:32:33 +01:00
Gaia Pushbot
758ce85364 Bumping gaia.json for 2 gaia-central revision(s)
========

https://hg.mozilla.org/integration/gaia-central/rev/3a11e24a4550
Author: Jose M. Cantera <jmcanterafonseca@gmail.com>
Desc: Merge pull request #11956 from lodr/bug-908207-fix-name-creation

Bug 908207 - Fix name creation taking noting givenName and familyName are arrays.

========

https://hg.mozilla.org/integration/gaia-central/rev/5ce2ac2e36ad
Author: lodr <salva@unoyunodiez.com>
Desc: Bug 908207 - Fix name creation taking noting givenName and familyName are arrays.
2013-09-06 04:30:30 -07:00
Gina Yeh
9f4bfb5397 Bug 906305 - Patch 7: Fix BluetoothHidManager, r=echou 2013-09-06 19:21:48 +08:00
Gina Yeh
8564ab3d30 Bug 906305 - Patch 6: Fix BluetoothA2dpManager, r=echou 2013-09-06 19:21:31 +08:00
Gina Yeh
40c9fe3f0f Bug 906305 - Patch 5: Fix BluetoothOppManager, r=echou 2013-09-06 19:21:04 +08:00
Gina Yeh
74aca70d8f Bug 906305 - Patch 4: Fix BluetoothHfpManager, r=echou 2013-09-06 19:20:43 +08:00
Gina Yeh
4ac899ce79 Bug 906305 - Patch 3: Remove BluetoothReplyRunnable in SendInputMessage. Error handling for dbus error, r=echou 2013-09-06 19:20:27 +08:00
Gina Yeh
1d046be039 Bug 906305 - Patch 2: Make parameter service UUID of Connect() optional, r=echou, sr=mrbkap 2013-09-06 19:19:46 +08:00
Gina Yeh
5900851981 Bug 906305 - Patch 1: Implementation of BluetoothProfileController, r=echou 2013-09-06 19:19:25 +08:00
"sasikala.paruchuri"
a4275098e1 Bug 912517 - [Message] Crash occuring in MMS when killing the application while the MMS is sending. r=vicamo
Change-Id: I4f91efbd7fdc9f47de8f738b4610ce7f27fa5a92
2013-09-06 19:13:57 +08:00