Commit Graph

20 Commits

Author SHA1 Message Date
Ms2ger
be7d3f26a2 Bug 909003 - Part a: Add missing includes to TypedArray.h; r=bz 2013-09-06 08:43:04 +02:00
Boris Zbarsky
ac2d0f3985 Bug 868799 part 2. Disallow copy-construction of typed array structs, so people can't accidentally pass them by value and end up unrooted. r=smaug 2013-08-29 00:30:05 -04:00
Boris Zbarsky
315a027d5a Bug 868799 part 1. Introduce a RootedTypedArray class. r=terrence 2013-08-29 00:30:04 -04:00
Boris Zbarsky
18e33f4b17 Bug 908530 part 2. Fix all the places that are bootlegging things (esp nsIURI) via xpcpublic.h. r=khuey 2013-08-23 22:42:40 -04:00
Kyle Huey
a54c089296 Bug 903772: Part 1 - Add an API for creating typed arrays that doesn't require the caller to be wrapper cached. r=peterv 2013-08-22 22:17:07 -07:00
Nicholas Nethercote
b89a8ac1c0 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Boris Zbarsky
3a9063d67a Bug 900898 part 4. Support typed arrays inside sequences and variadics. r=smaug 2013-08-05 13:40:02 -04:00
Boris Zbarsky
5506e8ee8f Bug 900898 part 3. Support typed arrays inside dictionaries. r=smaug 2013-08-05 13:40:01 -04:00
Boris Zbarsky
82ba945cef Bug 900898 part 2. Move to using Nullable<TypedArray> to represent possibly-null TypedArray structs. r=smaug 2013-08-05 13:40:01 -04:00
Boris Zbarsky
967caa334c Bug 900898 part 1. Give dom::TypedArray structs a no-argument constructor. r=smaug 2013-08-05 13:40:01 -04:00
Boris Zbarsky
897328ff5b Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence 2013-05-30 17:46:48 -04:00
Bobby Holley
a75f5ca4d9 Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
If callers want to throw, it's now their responsibility.
2012-11-14 09:56:26 -08:00
Luke Wagner
ce71e55555 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Bonnie Surender
a05da2aa09 Bug 781046. Make the Create() functions in TypedArray.h take a const data array, since they make a copy anyway. r=bzbarsky 2012-08-07 17:57:27 -07:00
Eric Faust
2456ed4b53 Bug 749535 - Part 2: Rewrite dom::TypedArray to use JS_UnwrapObjectAs*Array(). (r=bz) 2012-07-31 20:45:20 -07:00
Eric Faust
921d44b1c5 Backout changesets 6e78bc0145ee, 97a1463cde9c, and 9097d0b3acc6 (Bug 749535) for
erroneous bug number (r=me).
2012-07-31 20:24:32 -07:00
Eric Faust
edf460e8a0 Bug 747935 - Part 2: Rewrite dom::TypedArray to use JS_UnwrapObjectAs*Array(). (r=bz) 2012-07-31 20:06:35 -07:00
Peter Van der Beken
fbfc3faf82 Fix for bug 768533 (Make mozilla::dom::Uint8ClampedArray::Create call JS_NewUint8ClampedArray). r=bz.
--HG--
extra : rebase_source : baaf7494f64a91a9315a6e1bed3f75239f8eab81
2012-06-27 11:24:46 +02:00
Peter Van der Beken
1d58234ea3 Fix for bug 768050 (Make TypedArray::Create take a wrapper cache and create JS objects in the compartment of the cache's wrapper). r=bz.
--HG--
extra : rebase_source : 3ec03b33913e14a113bf9283566a68fe3be5fe02
2012-06-25 18:37:46 +02:00
Boris Zbarsky
768d21ac58 Bug 747827. Add some structs that can be used to represent typed arrays in DOM bindings. r=peterv 2012-05-04 12:36:56 -04:00