Bobby Holley
6950cfb037
Bug 905364 - Force the SafeJSContext to fire up in xpcshell. r=bz
2013-09-06 11:35:12 -07:00
Bobby Holley
3d1a1af697
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
776e9da067
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
Jason Orendorff
5aead903ea
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
44a0fc8f96
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
aae868bc0e
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
5bc533b971
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
511753b3b6
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
Nicholas D. Matsakis
c23a49081b
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
Bobby Holley
4b28d25fe5
Bug 912322 - Stop making XBL methods available to the web. r=bz
2013-09-06 09:12:56 -07:00
Bobby Holley
686a940c6e
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
4569f739ee
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
74a8289887
Bug 912322 - Sync pref from reftest-cmdline.js to bootstrap.js. r=jgriffin
2013-09-06 09:12:55 -07:00
Jim Blandy
28ebe45d1b
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
742666beae
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
2ce41d1387
Bug 865516 - Fix ordering of includes in MIRGraph.cpp. r=themaid
...
CLOSED TREE
2013-09-06 10:35:06 -04:00
Hannes Verschore
1aae686149
Bug 909717 - Backout due to orange + style nit orange fix on a CLOSED TREE.
2013-09-06 16:25:35 +02:00
Hannes Verschore
bdd3dd3ed0
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
Douglas Crosher
b8b705bf7c
Bug 865516 - Optimize access to the heap with a constant index. r=luke
2013-09-06 07:44:06 +10:00
Hannes Verschore
8dad5c4c05
Bug 909717: IonBuilder: Introduce typed typebarriers, r=jandem
2013-09-06 15:10:54 +02:00
Ms2ger
4abf38566a
Merge m-c to inbound.
2013-09-06 12:31:58 +02:00
Jon Coppeard
a8de0b9883
Bug 911368 - Fix assertion since LSoftUDivOrMod can be generated for MMod r=mjrosenb
2013-09-06 10:20:46 +01:00
Jan de Mooij
df344b1c46
Bug 912958 - Remove slow IonContext lookup from AutoFlushCache constructor. r=h4writer
...
--HG--
extra : rebase_source : 86b7a5170a95ceb8a397f9bfe77654936a7b4ab6
2013-09-06 11:44:19 +02:00
Marty Rosenberg
f97efb763e
Bug 913216: Mark the entire heap to be flushed as soon as we start modifing bounds checks. (r=luke)
2013-09-06 05:14:44 -04:00
Ms2ger
84672db888
Bug 909953 - Introduce a HTMLAllCollection class; r=smaug
2013-09-06 08:41:42 +02:00
Ms2ger
bb536a6478
Bug 870407 - Move final batch of CMMSRCS to moz.build and disallow it in makefiles; r=khuey
2013-09-06 08:40:41 +02:00
Makoto Kato
7a3b15a8d2
Bug 911893 - cannot use --enable-android-libstdcxx configure option. r=glandium
2013-09-06 14:40:48 +09:00
Phil Ringnalda
6d28bb73ed
Back out b817abcebadf (bug 888109) for unexpected assertions
2013-09-05 21:01:05 -07:00
Phil Ringnalda
1b8a25bdaf
Back out 997672af6fc8:8a34b197be1d (bug 885169) for Win64 bustage
2013-09-05 20:24:20 -07:00
Ryan VanderMeulen
08c7624d01
Merge inbound to m-c.
2013-09-05 15:42:49 -04:00
Ed Morley
3dfc516118
Merge mozilla-central and b2g-inbound
2013-09-05 14:53:25 +01:00
Phil Ringnalda
ad36ee41a9
Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Askeing Yen
602005222c
Bug 891766 - Add gecko's git commit info in B2G build. r=gps
2013-09-05 11:31:31 +08:00
Ryan VanderMeulen
76c5b296f0
Backed out changeset 9e282f0c00b8 (bug 906805) for suspicion of causing intermittent mochitest-bc crashes on a CLOSED TREE.
2013-09-04 16:01:31 -04:00
Phil Ringnalda
82a82c7965
Back out e46601eb7279:533dc9ea3301 (bug 912322) for Android reftest bustage
2013-09-04 21:49:16 -07:00
Dan Gohman
1345fedce8
Bug 885169 - Reverse the default register allocation order so that low registers like eax on x86/x64 are preferred over high registers. r=h4writer
2013-09-04 21:16:07 -07:00
Dan Gohman
6620296d07
Bug 885169 - Spidermonkey: Alleviate register allocation constraints in ICGetElem_Arguments::Compiler::generateStubCode. r=nbp
2013-09-04 21:16:07 -07:00
Dan Gohman
b6921fe685
Bug 885169 - Spidermonkey: Fix ARM trampoline code to inform its RegisterSet of its use of a context register. r=nbp
2013-09-04 21:16:07 -07:00
Nicholas Nethercote
43ad5b4dcf
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Dan Gohman
a150eff09f
Bug 910782 - SpiderMonkey: Add an explicit scope aroud the InvokeState object's lifetime. r=luke
2013-09-04 20:06:07 -07:00
Dan Gohman
6ab58dc3e0
Bug 910782 - SpiderMonkey: Use jsbytecode instead of int for the switch mask variables, and name the magic opcode used to enable interrupts. r=luke
2013-09-04 20:06:07 -07:00
Dan Gohman
4ee957dc2f
Bug 910782 - SpiderMonkey: Remove the for(;;) surrounding the interpreter loop, as it isn't needed, and adjust indentation for consistency. r=luke
2013-09-04 20:06:07 -07:00
Dan Gohman
d59a50e388
Bug 910782 - SpiderMonkey: Inline check_backedge, which is only used in one place. r=luke
2013-09-04 20:06:07 -07:00
Dan Gohman
91802e95a4
Bug 910782 - SpiderMonkey: Simply uses of BRANCH. r=luke
2013-09-04 20:06:07 -07:00
Dan Gohman
cde7255a65
Bug 910782 - SpiderMonkey: Delete obsolete comments. r=jorendorff
2013-09-04 20:06:07 -07:00
Bobby Holley
5d00a02f31
Bug 912322 - Stop making XBL methods available to the web. r=bz
2013-09-04 19:05:52 -07:00
Bobby Holley
4f18e183bb
Bug 912322 - Fix tests. r=bz
...
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-04 19:05:51 -07:00
Bobby Holley
99eb14ce12
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-04 19:05:51 -07:00
Benjamin Bouvier
4859168964
Bug 912294: Fix pre increment operator in InlineListIterator and InlineListReverseIterator; r=dvander
2013-09-04 18:44:24 -07:00
Yaron Tausky
dad15c4b1b
Bug 911553 - Trap Proxy calls from ToPrimitive. r=bholley
2013-09-04 20:58:22 -04:00