Commit Graph

4361 Commits

Author SHA1 Message Date
Peter Van der Beken
836ea0e962 Fix for bug 734508 (Add new DOM binding for SVG list classes). r=jst.
--HG--
extra : rebase_source : c32d2fd124093ae437f000655bba7f3a5f17d99d
2011-08-22 11:14:13 +02:00
Peter Van der Beken
d443e50672 Backout 790be8926d50 to fix commit message
--HG--
extra : rebase_source : 930b7802b35784ef5d70ed359d5d9932013ad62d
2012-03-12 21:13:23 +01:00
Peter Van der Beken
6ebfe4a8d3 Fix for bug 717013 (Add new DOM binding for DOMTokenList). r=jst.
--HG--
extra : rebase_source : 6ae0abe3bbe33a140c62c193685e23529d44e6d4
2011-08-22 11:14:13 +02:00
Peter Van der Beken
d17b094076 Fix for bug 734505 (Add new DOM binding for FileList). r=jst.
--HG--
extra : rebase_source : 7a563b1af70c24f9117b813016b7a37612e92431
2011-08-22 11:14:13 +02:00
Peter Van der Beken
a60207ce64 Fix for bug 734503 (Add new DOM binding for TouchList). r=jst.
--HG--
extra : rebase_source : 701eb8d9a60ffa981ebcd24f426109bd70cc5cbf
2011-08-22 11:14:13 +02:00
Peter Van der Beken
206b6be2e1 Fix for bug 734499 (Add new DOM binding for PaintRequestList). r=jst.
--HG--
extra : rebase_source : 37f4a1ea723db150abc07d66c6f167c27fd9c354
2011-08-22 11:14:13 +02:00
Peter Van der Beken
2671cc336a Fix for new bug 734497 (Add new DOM binding for ClientRectList). r=jst.
--HG--
extra : rebase_source : 1cc96b94d21940ac1ed75ec6d46d9c2964fc54a0
2011-08-22 11:14:13 +02:00
Bill McCloskey
213017df51 Bug 641027 - Add snapshot-at-the-beginning write barriers for incremental GC (r=luke,bhackett) 2011-10-25 16:07:42 -07:00
Bill McCloskey
35e5e0bb95 Bug 703699 - Fix use-after-free problem with write barriers and XPConnect (r=bhackett) 2011-11-18 22:35:17 -08:00
Marco Bonardo
a6e3f54ab0 Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-21 10:00:11 +02:00
Kyle Huey
bee1f84b2f Bug 687361: Implement the new IndexedDB setVersion API. r=bent
--HG--
rename : dom/indexedDB/nsIIDBVersionChangeRequest.idl => dom/indexedDB/nsIIDBOpenDBRequest.idl
2011-10-20 12:10:56 -04:00
Peter Van der Beken
d424202e66 Bug 700668 - Don't enumerate all compartments for every traversal of a XPCWrappedNative. r=mrbkap. 2011-11-08 18:06:40 +01:00
Boris Zbarsky
f6cc9049b5 Bug 699826. Fix nodelist access out of bounds to correctly forward to the proto. r=peterv 2011-11-08 07:59:38 -05:00
Luke Wagner
d85fb51b34 Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor,rs=mccr8)
--HG--
extra : rebase_source : f6d2c2c6083f4589691ede571159bfd7e7ef8701
2011-07-18 14:54:48 -07:00
Matt Brubeck
193896461a Back out 79deba022227 (bug 675078) because of Win debug mochitest-other failures 2012-01-24 17:32:30 -08:00
Luke Wagner
6068502afa Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor) 2011-07-18 14:54:48 -07:00
Nathan Froyd
05a6926a1c Bug 714365 - DictionaryHelpers.cpp gets rebuilt on every build. r=ted 2012-01-23 07:55:21 -08:00
Ben Turner
a9c7587993 Bug 705640 - Implement DOMError as defined in DOM 4, r=mounir.
--HG--
extra : transplant_source : %15%98Xx%C3%F3%89%95%94%5Eu%99%B0%CC%8B%E0V%3A4%C6
2012-01-24 02:13:41 -08:00
Bill McCloskey
b600363fab Bug 716033 - Move write barriers from jsapi.h to jsfriendapi.h (r=luke,bholley) 2012-01-23 16:43:12 -08:00
Andrew McCreight
821eb101a0 Bug 720292 - add more cycle collector edge names. r=smaug 2012-01-23 15:25:53 -08:00
Ed Morley
17cb57ffd4 Backout 143f01714f2b (bug 705640) for build failures 2012-01-23 14:25:47 +00:00
Ben Turner
84576fe4ec Bug 705640 - 'Implement DOMError as defined in DOM 4'. r=mounir. 2012-01-23 03:02:54 -08:00
Ed Morley
dad3296378 Backout fcb3a7884fa9 (bug 705640) for build failures 2012-01-23 11:48:35 +00:00
Ben Turner
009cf09ae5 Bug 705640 - 'Implement DOMError as defined in DOM 4'. r=mounir. 2012-01-23 03:02:54 -08:00
Matt Brubeck
2ff1acb70e Merge mozilla-central to mozilla-inbound 2012-03-08 16:27:40 -08:00
Olli Pettay
beb0053f42 Bug 730891, event ctor for StorageEvent, r=sicking,kyle 2012-03-08 23:27:05 +02:00
Christian Holler
7e778dafa2 Bug 727445 - Add --enable-address-sanitizer for ASan specific workarounds. Add --enable-llvm-hacks to pass CFLAGS to NSS and omit -Wl,-z,defs for shared libs. r=khuey,kaie 2012-03-07 15:11:15 -08:00
Igor Bukanov
c5c7623497 bug 730234 - remove GC locking from activities, operation callbacks-related code and for code that accesses the JSContext list. r=luke 2012-02-24 12:03:28 +01:00
Bobby Holley
c591cdecfd Bug 731804 - nsXPCWrappedJSClass::GetNamedPropertyAsVariant should jsvalify strings _after_ changing compartments. r=peterv 2012-03-08 11:13:34 -08:00
David Mandelin
0822e24e67 Bug 733260 followup: use uint32_t for array and string lengths, r=luke
--HG--
extra : rebase_source : 1729b4b927fde0678872b9de62a7466381aa07c3
2012-03-06 15:52:55 -08:00
Bobby Holley
cbe0f99786 Bug 731845 - XPCWrappedNative::ReparentWrapperIfFound should handle preserved wrappers. r=mrbkap 2012-03-05 16:58:59 -08:00
Bill McCloskey
f24f98c9e3 Bug 729369 - Expose the same set of SpiderMonkey testing APIs to debug shell and debug browser chrome (r=Waldo) 2012-03-06 11:38:44 -08:00
Matt Brubeck
e24272dc05 Back out 2fbc7d9ac670 (bug 731845) on suspicion of causing test_native_mouse_mac.xul timeouts 2012-03-06 11:05:37 -08:00
Nicholas Nethercote
d877788df3 Bug 729403 (follow-up) - Use the right KIND for runtime/gc-marker, thus avoiding warnings about explicit mismatches. r=me.
--HG--
extra : rebase_source : 4625531f438d5e1e6a2e600134dee959a45e8204
2012-03-05 21:04:38 -08:00
Mark Hammond
92fde76754 Bug 728986: dump() writes to stdout instead of stderr. r=bent 2012-03-06 15:44:37 +11:00
David Mandelin
fb07fe8847 Bug 733260: remove typedef jsuint, r=luke
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Andrew McCreight
73839b9bd9 Bug 723971 - unmark gray for shapes. r=billm 2012-03-05 18:11:29 -08:00
Bobby Holley
23e960e8cf Bug 731845 - XPCWrappedNative::ReparentWrapperIfFound should handle preserved wrappers. r=mrbkap 2012-03-05 16:58:59 -08:00
Nicholas Nethercote
063799adc6 Bug 755581 (part 5) - Add "cross-compartment-wrappers" reporter. r=luke.
--HG--
extra : rebase_source : 1dfb5eb522008acd59f6bce5e1724af1dc0da9f0
2012-05-15 19:31:01 -07:00
Nicholas Nethercote
cf64447fc2 Bug 755581 (part 4) - Add "math-cache", "script-filenames" and "compartment-objects" reporters. r=luke.
--HG--
extra : rebase_source : cc1fc8ff91a7b63b8a1fd48aac3b5f37c7e84393
2012-05-15 19:30:28 -07:00
Nicholas Nethercote
67b4e6feaf Bug 755581 (part 3) - Clean up JSRuntime::sizeOfIncludingThis(). r=luke.
--HG--
extra : rebase_source : 892163d96148ed86a190ee7221235dc529445fef
2012-05-15 19:29:14 -07:00
Nicholas Nethercote
4de6ece21b Bug 755581 (part 2) - Change "runtime/normal" reporter to "runtime/dtoa". r=luke.
--HG--
extra : rebase_source : 6dfe281494588628c3335058d333080f86bb3487
2012-05-15 19:28:31 -07:00
Nicholas Nethercote
a2d85c1c5c Bug 755581 (part 1) - Change "mjit/data" reporter to "mjit-data". r=luke.
--HG--
extra : rebase_source : e45b376ff1710e9f1bf3b14363f884bb7fb71d48
2012-05-15 19:27:34 -07:00
Doug Turner
85f10272fb Bug 755836 - undef near in directory helper to avoid build errors. r=kyle 2012-05-16 13:27:56 -07:00
Doug Turner
7738c44000 Bug 751663 - Implement new device proximity like event that fires only when the screen is close to the user's face. r=smaug 2012-05-16 13:27:54 -07:00
Luke Wagner
d542a26a63 Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
--HG--
extra : rebase_source : f18561fff556332789e05623ab0cec2e7faacf78
2011-07-01 14:11:31 -07:00
Ed Morley
e2f4183574 Bug 700166 - Hg rm dom/interfaces/threads/ since it's no longer built; r=bent 2011-11-07 15:44:11 +00:00
Peter Van der Beken
728e26c68b Bug 699796 - Note objects holding JSScript as roots in the CC. r=igor.
--HG--
extra : rebase_source : 68ef72cd709aed89ee6a1cc30bd6079d3e1ddf3d
2011-11-07 13:57:46 +01:00
Peter Van der Beken
be29e3d8a0 Bug 695867 - Crash [@ LookupPropertyById] with getPropertyDescriptor returning a NodeList. r=bz.
--HG--
extra : rebase_source : 7647c232594ab918b9c4488e8cb56d77dfea9b42
2011-10-27 19:31:37 +02:00
Peter Van der Beken
1d05a88d12 Bug 684938 - Proxy nsXPCWrappedJS::Release to the main thread. r=mrbkap.
--HG--
extra : rebase_source : faf9c46616c52bc03b776a4aae8fd3f87e11f132
2011-09-14 08:44:27 -07:00
Peter Van der Beken
451166e8e7 Bug 697643 - Crash [@ JS_IsExceptionPending] modifying a live NodeList. r=bz.
--HG--
extra : rebase_source : 1d2e5e17c76a04a88468d976e89576d127e4e54f
2011-10-27 19:39:03 +02:00
Andrew McCreight
fa211559a8 Bug 709162 - crash test for cycle collector dumping. rs=bholley a=mbrubeck 2011-12-14 16:02:12 -08:00
Andrew McCreight
cd650f717a Bug 710761 - test if CC listener begin fails, don't call listener again. rs=bholley 2011-12-14 15:56:37 -08:00
Andrew McCreight
49fefe8cc8 Bug 709160 - fix ObjShrink fallout in nsXPConnect::Traverse CC printing code. r=luke 2011-12-14 15:56:37 -08:00
Andrew McCreight
1e19f81390 Bug 668855, part 3: hook up CC to JS WeakMap callback. r=peterv 2011-11-24 07:35:56 -05:00
Laurent Dulary
9190e002a9 Bug 657938 (1/2) - Implement the content part of the meter element. f=mounir r=smaug,mrbkap 2012-05-16 13:18:33 +02:00
Geoff Lankow
9ddcf15b7a Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Andrew McCreight
e5308b3a88 Bug 761249 - abort if ClassInfo2WrappedNativeProtoMap or Native2WrappedNativeMap fail. r=bholley 2012-06-05 11:47:49 -07:00
Bobby Holley
8740f81f1f Bug 758415 - Tests. r=mrbkap 2012-06-05 19:07:38 +02:00
Bobby Holley
d9649eff51 Bug 758415 - Remove double-wrapping infrastructure for Location objects. r=mrbkap
This is more or less just a backout of bug 739796, that caused so much pain. Huzzah!
2012-06-05 19:07:37 +02:00
Bobby Holley
026129c427 Bug 758415 - Rip out old expando architecture. r=mrbkap 2012-06-05 19:07:37 +02:00
Bobby Holley
17f2e30008 Bug 758415 - Switch WN Xrays to use the new expando infrastructure. r=mrbkap 2012-06-05 19:07:37 +02:00
Bobby Holley
eeb32efb1e Bug 758415 - Copy expando objects during object transplanting. r=mrbkap 2012-06-05 19:07:37 +02:00
Bobby Holley
e9dbce1726 Bug 758415 - Implement expando object infrastructure for WN Xrays. r=mrbkap
Note: This overloads the naming of some of the existing infrastructure,
but the signatures etc are sufficient to disambiguate. The other infrastructure
goes away in a subsequent patch.

Note: We tag sandbox expandos with their global to make sure that the expandos
are never shared between sandboxes. A consequence of this scheme is that an
expando from a sandbox to an object will _always_ result in a GC edge back to
the sandbox, meaning that the sandbox is always kept alive for the lifetime of
the expando target. This could happen before, but only if a non-primitive expando
was placed (since the value of the expando would live in the consumer's
compartment). We could avoid this edge by using a reference-counted Identity()
object instead, but I suspect it's not worth worrying about.
2012-06-05 19:07:37 +02:00
Bobby Holley
74429c6fcf Bug 758415 - Refactor slim wrapper reserved slots so that we can use the same slot for expando objects in the non-slim case. r=mrbkap
Xray wrappers require that their wrappee be non-slim, so this works out perfectly.
2012-06-05 19:07:37 +02:00
Bobby Holley
3ddf05d743 Bug 731471 - Don't reparent wrappers that don't want to move. r=peterv 2012-02-29 21:21:57 -08:00
Matt Brubeck
85888b116e Back out 2778f515ed5a (bug 723286) on suspicion of causing OSX64 crashes 2012-02-29 16:18:22 -08:00
Igor Bukanov
0db648a026 Bug 731618 - remove JSContext * parameter from heap iteration API. r=:Billm 2012-02-29 21:23:53 +01:00
Igor Bukanov
2ecc5650d5 bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm 2012-02-29 21:23:38 +01:00
Bill McCloskey
1d983ce16b Bug 731052 - Clean up incremental resets (r=igor) 2012-02-29 10:28:30 -08:00
Igor Bukanov
ee60cd82fa bug 730281 - remove cx argument from GC and compartment related functions. r=:billm 2012-02-29 13:18:16 +01:00
David Mandelin
3588ac5aae Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Andrew Quartey
6fe0fd072a Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal 2011-12-13 14:17:59 +00:00
Ms2ger
ce0004b39d Bug 709603 - Remove unused variables 'type' in CallMethodHelper::Get{ArraySize,InterfaceType}FromParam; r=bholley a=ehsan 2011-12-13 09:49:31 +11:00
Nicholas Nethercote
6bbcf3b4f8 Bug 704400 - Implement --enable-dmd. r=khuey. 2011-12-08 19:09:36 -08:00
Honza Bambas
fc7084f564 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Bobby Holley
816c189651 Bug 763341 - Handle wrappers in new dom binding QI. r=bz
The |ok| parent check goes away because it's ill-conceived. All it's really checking is that proxies are parented to the global, and it's impossible to port to SpecialPowers, because SpecialPowers will think that the proxy is parented to the SpecialPowers global. I don't think this check is very important, so I removed it.
2012-06-12 15:44:21 +02:00
Bobby Holley
89b078af98 Bug 762432 - Handle proxies on __lookupGetter__ and __lookupSetter__. r=jorendorff 2012-06-12 15:44:14 +02:00
Phil Ringnalda
d9ffe5f7cf Back out 5f623a11c6cb (bug 713226), 1ed8ccf96402 (bug 721579), 32af27f89c49 (bug 722028), 1300d282fd22 (bug 716067), dc0f6ad7eff3 (bug 723313), 0d2ab3f2e9b9 (bug 723773) for talos crashes 2012-02-10 19:47:48 -08:00
Bill McCloskey
bf4746f8e2 Bug 716067 - UnmarkGray more often (r=bent) 2012-02-10 18:32:13 -08:00
Bobby Holley
b1f01dc144 Bug 553102 - Fix test_cows.xul. r=mrbkap 2012-05-24 13:04:57 +02:00
Andrew McCreight
23b544bd06 Bug 680482, part 2 - change debug string for grey globals to help analysis scripts. r=mrbkap 2011-10-20 09:26:49 -07:00
Peter Van der Beken
506577d2e0 Fix for bug 693258 (Fixes for test failures when turning off new list DOM bindings). r=bz/Waldo.
--HG--
extra : rebase_source : f0b6f8443cc29098ce75c114ff5a343597d9f38c
2011-10-13 15:36:09 +02:00
jhorak@redhat.com
2c00c67862 Bug 694261 - link xpcshell against jemalloc on ia64. r=bz 2011-10-20 09:55:18 +02:00
Luke Wagner
65cc085d05 Bug 714696 - rm lingering remains of tracer in js::Value (r=waldo)
--HG--
extra : rebase_source : c0d377c97e450b515941a5677eaafd5b23122d2c
2012-01-02 15:06:15 -08:00
aceman
002cb306a6 Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Ben Turner
04c63497fd Bug 712448 - 'Slim wrappers do not use deferred release mechanism'. r=mrbkap. 2011-12-20 17:42:51 -05:00
Matt Brubeck
3b4a9cde72 Merge mozilla-central and mozilla-inbound 2012-05-14 21:41:08 -07:00
Matt Brubeck
a00e243a06 Merge last green changeset from inbound to mozilla-central 2012-05-14 14:00:57 -07:00
Bobby Holley
b572a685e7 Bug 753277 - Assert that all cross-scope wrapper reparenting operations are cross-compartment, and remove the conditional. r=mrbkap
The reindentation is pure. No snakes.
2012-05-14 12:52:17 +02:00
Bobby Holley
f55d4cb175 Bug 754311 - Null out the private of soon-to-be-transplanted reflectors _after_ copying their properties onto the holder. r=mrbkap 2012-05-14 23:30:07 +02:00
Bobby Holley
b4a49cf4c5 Bug 754044 - Remove manual injection of same-compartment security wrappers, and make sure to call JS_Wrap* instead. r=mrbkap 2012-05-14 23:30:07 +02:00
Bobby Holley
848f2ecae0 Bug 754044 - Apply same-compartment security wrappers in same-compartment wrapping callback. r=mrbkap 2012-05-14 23:30:07 +02:00
Bobby Holley
5f6b9fc564 Bug 754044 - Introduce sameCompartmentWrapObjectCallback. r=mrbkap
We leave it null for gecko for the time being to keep this patch small.
2012-05-14 23:30:07 +02:00
Bobby Holley
cb4408c322 Bug 754044 - Pass stopAtOuter=false in GetWrappedNativeOfJSObject, because that's what we mean. r=mrbkap 2012-05-14 23:30:07 +02:00
Nicholas Nethercote
5a1cbe043f Bug 689583 - Add names for memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : adb3fb2cbbb8a07b60edd48c7dc9a3a4a4763b79
2012-02-06 17:02:59 -08:00
Andrew McCreight
ae5be20b56 Bug 724398 - specialize GCThingIsMarked to GRAY. r=billm 2012-02-05 19:43:35 -08:00
Nicholas Nethercote
411c1b8538 Bug 722609 - Rename the js-total memory reports. r=luke. 2012-01-30 20:03:29 -08:00
Nicholas Nethercote
a2845c0ea3 Bug 722595 - Add memory reporters for misc things hanging off JS objects. r=bhackett.
--HG--
extra : rebase_source : 211b35134923f4cb99625bb240b96e81f0f28b4b
2012-01-30 18:12:03 -08:00
Masatoshi Kimura
c3d7b0b2bb Bug 723894 - Crash when Web IDL dictionary object is null; r=mrbkap 2012-02-05 18:57:46 +00:00
Igor Bukanov
17db9a067b bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke 2012-02-04 01:54:57 +01:00
Ryan VanderMeulen
92376215fb Backout bug 788914 and bug 789494 due to intermittent jsreftest crashes. 2012-09-07 19:40:57 -04:00
Jeff Walden
a4c9e5b511 Bug 789309 - Stop installing jsatom.h and jsatom.tbl. r=jorendorff 2012-09-06 17:51:50 -07:00
Bobby Holley
be3cae8379 Bug 788914 - Removing failing assertion in EnableUniversalXPConnect. r=me
This seems to be failing intermittently during linux64 jsreftests (possibly due to OOM?). UniversalXPConnect is a test-only construct, so we don't really care too much about a failure here as long as it doesn't go orange in other ways.
2012-09-07 14:48:55 -07:00
Terrence Cole
aed2094b1c Bug 787580 - Root all jsval at the API surface; r=sfink sr=dmandelin
--HG--
rename : layout/reftests/text-decoration/underline-select-2-ref.html => layout/reftests/text-decoration/underline-button-1-ref.html
rename : layout/reftests/text-decoration/underline-select-2.html => layout/reftests/text-decoration/underline-button-1.html
extra : rebase_source : 008f2bab76a005947a4c0bd10b6d9ea8531ea6d0
2012-09-04 16:40:12 -07:00
Bobby Holley
cd21ce7e8c Bug 788914 - Kill the XOW flag. r=mrbkap
There are really two questions to be asked: is the caller chrome, and does the
caller subsume the callee. We have other, more precise ways of asking both of
these questions.
2012-09-07 11:28:56 -07:00
Bobby Holley
e58c507ac2 Bug 788914 - Kill partially transparent wrappers. r=mrbkap 2012-09-07 11:28:56 -07:00
Bobby Holley
3c0f5f1029 Bug 788914 - Remove dynamic UniversalXPConnect checks sprinkled around the wrapper code. r=mrbkap 2012-09-07 11:28:56 -07:00
Bobby Holley
5cd5943910 Bug 788914 - Recompute cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap 2012-09-07 11:28:56 -07:00
Bobby Holley
b8314a651e Bug 788914 - Generate vanilla cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap 2012-09-07 11:28:56 -07:00