Commit Graph

38029 Commits

Author SHA1 Message Date
Jim Blandy
cbb12f3c73 Bug 847405: Ensure that evalInGlobal never creates frames with the 'FUNCTION' flag set. r=jorendorff 2013-09-09 10:08:16 -07:00
Ed Morley
f7bce95a91 Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Ryan VanderMeulen
84fd8a4cee Backed out changeset c3b01d22caa9 (bug 912959) for Windows bustage. 2013-09-09 10:20:59 -04:00
Martin Stransky
36c305da92 Bug 912959 - Sync the declarations of ToNumberSlow() in jsnum.h. r=luke 2013-09-09 08:57:37 -04:00
Stephan Schreiber
072d82c472 Bug 910845 - Add a wrapper for mmap() in order to keep the high 17-bits of JS pointers cleared on IA64. r=billm 2013-09-09 08:57:37 -04:00
Yaron Tausky
d5040c4e47 Bug 676739 - Part 3: Rename js_NumberToString to js::NumberToString. r=luke 2013-09-06 13:05:01 +02:00
Yaron Tausky
eb950d9412 Bug 676739 - Part 2: Migrate from AtomizeString to ToAtom. r=luke 2013-09-06 13:04:56 +02:00
Yaron Tausky
f07db87d2b Bug 676739 - Part 1: Suppress unnecessary temporary strings in js::ToAtom. r=luke 2013-08-27 11:17:41 +02:00
Nicholas Nethercote
cc604f4854 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 : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Nicholas Nethercote
ad78aeb254 Bug 910771 (part 5) - Move tons of stuff out of inlines.h/-inl.h files into .h files. r=terrence. 2013-09-08 13:31:19 -07:00
Nicholas Nethercote
9339a831e1 Bug 910771 (part 4) - Move all the methods of EncapsulatedValue, HeapValue, RelocatableValue, and HeapSlot from gc/Barrier-inl.h to gc/Barrier.h. r=terrence. 2013-09-04 20:34:22 -07:00
Nicholas Nethercote
519a3c2851 Bug 910771 (part 3) - Include gc/StoreBuffer.h in gc/Barrier.h. r=terrence. 2013-09-04 19:19:05 -07:00
Nicholas Nethercote
6af0765bfc Bug 910771 (part 2) - Move some stuff from JS::Zone to JS::shadow::Zone, and from JSRuntime to JS::shadow::Runtime.h. r=terrence. 2013-09-04 19:19:04 -07:00
Nicholas Nethercote
48268c5407 Bug 910771 (part 1) - Create js/Tracer.h and gc/Tracer.cpp. r=terrence. 2013-09-02 22:01:18 -07:00
Kyle Huey
bf7d0aa16a Bug 911258: Part 5 - Use the unified exception handling mechanism on workers. r=bz 2013-09-08 20:29:21 -07:00
Kyle Huey
c6389ea0fa Bug 911258: Part 4 - Refactor exception implementations. r=bz 2013-09-08 20:28:50 -07:00
Kyle Huey
bf2b356316 Bug 911258: Part 3 - Convert exceptions to WebIDL. r=bz 2013-09-08 20:28:49 -07:00
Kyle Huey
4632e5911d Bug 911258: Part 1 - Remove nsIExceptionService/Manager usage. r=bholley 2013-09-08 20:28:49 -07:00
Kyle Huey
b248805896 Bug 910924: Give workers an nsIGlobalObject. r=bent,bholley 2013-09-08 20:28:48 -07:00
Kyle Huey
888aba875b Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8 2013-09-08 20:28:48 -07:00
Dan Gohman
eb04084119 Bug 885169 - Spidermonkey: Alleviate register allocation constraints in ICGetElem_Arguments::Compiler::generateStubCode. r=nbp 2013-09-04 21:16:07 -07:00
Dan Gohman
5566fdd89e 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
Dan Gohman
0d999e7402 Bug 885169 - Spidermonkey: Fix x64 trampoline code to inform its RegisterSet of its use of a context register. r=nbp 2013-09-07 06:47:56 -07:00
Masatoshi Kimura
61b066be51 Bug 913510 - Remove vestigial capability.principal prefs usage. r=bholley 2013-09-07 18:49:03 +09:00
Douglas Crosher
6036d9fe79 Bug 911254 - Odinmonkey: (ARM) use the 'compare immediate' instruction for bounds checks. r=mjrosenb 2013-09-07 10:53:03 +10:00
Jason Orendorff
9d7950edda Bug 895223, part 1 - Change perf/jsperf.cpp to use JSNative getters rather than PropertyOps. r=jandem. 2013-09-06 21:41:30 -05:00
Jason Orendorff
c9ee355458 Bug 913445 - Print something less confusing than "null" for non-stringifiable values in the shell. r=luke. 2013-09-06 21:41:26 -05:00
Jason Orendorff
c4361e4606 Bug 905774 - Make Reflect.parse play better with proxies. Remove GetPropertyDefault. r=bhackett. 2013-09-06 21:40:49 -05:00
Phil Ringnalda
cb3de0ba2b Back out c8687e99dc75 (bug 913510) for Android bustage 2013-09-06 19:08:42 -07:00
Phil Ringnalda
68dbeb01e7 Back out a615811b12e4 (bug 888109) for not actually building 2013-09-06 18:48:56 -07:00
Benjamin Bouvier
ab4de2a416 Bug 888109: Float32 general optimizations for IonMonkey: framework and arithmetic operations; r=sstangl,nbp 2013-07-18 15:13:15 -07:00
Masatoshi Kimura
47649607a3 Bug 913510 - Remove vestigial capability.principal prefs usage. r=bholley 2013-09-07 09:34:21 +09:00
Ryan VanderMeulen
b21c464f8e Backed out changeset 45c336307136 (bug 910845) for bustage. 2013-09-06 17:05:25 -04:00
Michael Harrison
107bcf1f66 Bug 909768 - Replace idl::GeoPositionOptions with dom::PositionOptions. r=jdm 2013-09-06 16:44:26 -04:00
Stephan Schreiber
fdd9e3f2a6 Bug 910845 - Add a wrapper for mmap() in order to keep the high 17-bits of JS pointers cleared on IA64. r=billm 2013-09-06 16:41:55 -04:00
Andrew McCreight
86cac34e69 Bug 911233, part 1 - Minor cycle collector cleanups. r=smaug 2013-09-06 13:40:34 -07:00
Ehsan Akhgari
82b9523028 Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley 2013-09-06 13:50:24 -04:00
Bobby Holley
8bd42b92b1 Bug 905364 - Force the SafeJSContext to fire up in xpcshell. r=bz 2013-09-06 11:35:12 -07:00
Bobby Holley
7f2cb5dc2c 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
8190b016eb 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
badbd7be37 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
7e763809eb 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
02f654ead7 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
b41f5459f1 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
716d4a98b3 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
7f794f7815 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
90c812b572 Bug 912322 - Stop making XBL methods available to the web. r=bz 2013-09-06 09:12:56 -07:00
Bobby Holley
99b9464952 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
6c403b5610 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
b11a7d12d9 Bug 912322 - Sync pref from reftest-cmdline.js to bootstrap.js. r=jgriffin 2013-09-06 09:12:55 -07:00