Igor Bukanov
9ec52439ab
bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
...
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
Nicholas Nethercote
73f0cd10c7
Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
...
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
Makoto Kato
b0eb7af490
Bug 732328 - need os.close(fd) before os.remove(tmp) on expandlibs_exec.py. r=ted
2012-03-09 11:42:36 +09:00
Jeff Walden
0d063d8ce6
Bug 733602 - Various StringBuffer cleanups, mostly removing unimplemented methods. r=luke
...
--HG--
extra : rebase_source : 388d94bf9c332896d1b5d95aac53c4ca75e9fc97
2012-03-06 15:28:48 -08:00
Matt Brubeck
96ac58ec12
Merge mozilla-central to mozilla-inbound
2012-03-08 16:27:40 -08:00
Olli Pettay
16e33c1678
Bug 730891, event ctor for StorageEvent, r=sicking,kyle
2012-03-08 23:27:05 +02:00
Olli Pettay
3165b9602e
Backout Bug 704259, a=bustage
2012-03-08 16:44:32 +02:00
Bill McCloskey
728376b1b8
Bug 732719 - Mark stack slot as undefined (r=bhackett)
2012-03-07 18:05:29 -08:00
Terrence Cole
1b590c4310
Bug 734196 - Updating the private pointer should not recurse when marking; r=billm
...
The private pointer is the only pointer update during GC marking that can invoke
unrelated code. If this code triggers a write barrier, then this will recurse.
This patch adds a way to update private pointers without triggering a barrier,
explicitly for use by the GC during marking.
2012-03-08 15:05:21 -08:00
Christian Holler
df83c960c2
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
Marco Bonardo
47b51fb48b
Backout d68420c97e0e (bug 691898) as suspected of the jit tests failures
2012-03-07 14:06:03 +01:00
Rafael Ávila de Espíndola
d36b8f6d25
Bug 733504 - More workarounds llvm.org/pr12127. r=dvander.
2012-03-07 08:32:15 -03:00
Landry Breuil
3eebf2f49d
Bug 691898 - Use YARR interpreter instead of PCRE on platforms where YARR JIT is not supported. r=dmandelin
2012-03-07 12:06:19 +01:00
David Mandelin
d60fb6e889
Bug 733146: Add needed import to results.py, r=dmandelin
2012-03-06 18:54:42 -08:00
David Mandelin
522d1ee96c
Bug 704259: part 2, don't set cx->generatingError in JS_ReportPendingException, r=luke
2012-03-06 18:49:05 -08:00
David Mandelin
a2f15225ee
Bug 704259: part 1, refactor use of cx->generatingError without changing behavior, r=luke
2012-03-06 18:49:00 -08:00
Luke Wagner
5a1c4024b6
Bug 733310 - factor out inc/dec interpreter logic (r=bhackett)
...
--HG--
extra : rebase_source : 10d8277f4446f97e9a158f740d1a398341ac2382
2012-03-06 00:52:42 -08:00
Luke Wagner
9b4021181a
Bug 732744 - rm AutoPreserveEnumerators (r=dvander)
...
--HG--
extra : rebase_source : f28eebcf3a3e14f4db0299b07b28f8e7a783b84a
2012-03-06 00:43:45 -08:00
Igor Bukanov
202e05cf6c
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
ba3d7056c5
Bug 731804 - nsXPCWrappedJSClass::GetNamedPropertyAsVariant should jsvalify strings _after_ changing compartments. r=peterv
2012-03-08 11:13:34 -08:00
Bill McCloskey
f740418706
Bug 730447 - Create a GC counter for malloc bytes (r=gregor)
2012-03-07 18:07:41 -08:00
Adam
69619113a9
Make "let" a reserved word for Web scripts. Bug 730139, r=jorendorff.
2012-03-02 18:28:29 -06:00
Jan de Mooij
4134c8077c
Bug 732423 - Combine GETELEM and CALLELEM interpreter cases and fix some e4x/noSuchMethod bugs. r=bhackett
2012-03-08 12:18:27 +01:00
Mike Hommey
b2b1572a54
Fixup for bug 603370. Re-sync build/autoconf/expandlibs.m4 with js/src
2012-03-08 09:15:51 +01:00
Mike Hommey
78758fe395
Bug 603370 - Avoid Identical Code Folding messing with symbol reordering. r=khuey
2012-03-08 08:56:28 +01:00
Mike Hommey
1459517c2e
Bug 603370 - Add an option to expandlibs-exec to allow to reorder the symbols when linking. r=khuey
2012-03-08 08:56:27 +01:00
Mike Hommey
8decd9e86b
Backout changeset 283408b8d8a3 (bug 603370)
2012-03-08 08:39:17 +01:00
Mike Hommey
b572cd43a5
Bug 695711 - Always add -ffunction-sections and -fdata-sections when building with GCC, and port bug 670659 and bug 675867 to js/src. r=khuey
...
--HG--
rename : build/unix/check_debug_ranges.py => build/autoconf/check_debug_ranges.py
rename : build/unix/check_debug_ranges.py => js/src/build/autoconf/check_debug_ranges.py
2012-02-27 16:35:44 +01:00
David Mandelin
96e8808194
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
292b2903c5
Bug 731845 - XPCWrappedNative::ReparentWrapperIfFound should handle preserved wrappers. r=mrbkap
2012-03-05 16:58:59 -08:00
Gregory Szorc
5cc2415d16
Bug 729098 - Part 1/2: Create xUnit XML results file when executing xpcshell tests; r=khuey
2012-03-06 15:03:34 -08:00
Bill McCloskey
38627da91d
Bug 731094 - Expose a testing function that permits only deterministic GCs (r=igor)
2012-03-06 11:39:31 -08:00
Bill McCloskey
61365656cd
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
Terrence Cole
9a63c9e847
Bug 733372 - Fix an infinite recursion in GC marking; r=billm
...
Since the private data is sometimes packed in strange ways into the underlying
structure, we cannot just pass a reference to it to the marker. Instead, we
store the gotten value on the C stack, do marking and potentially update its
value there, then pass the updated privates location to the object using
setPrivate. If the setPrivate function triggers write barriers that end up
marking, this can recurse. For now we should simply not do this.
--HG--
extra : rebase_source : ce2607907cc66f8beaeab433e21ba302cbf1b34e
2012-03-06 11:30:25 -08:00
Matt Brubeck
5f60d3be27
Back out 2fbc7d9ac670 (bug 731845) on suspicion of causing test_native_mouse_mac.xul timeouts
2012-03-06 11:05:37 -08:00
Mike Hommey
c1004d523a
Bug 731151 - Avoid creating (and leaving around) an a.out during configure. r=khuey
2012-02-28 10:48:16 +01:00
Nicholas Nethercote
e6ed81cdfc
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
1e3804ffa8
Bug 728986: dump() writes to stdout instead of stderr. r=bent
2012-03-06 15:44:37 +11:00
David Mandelin
63952fac3f
Bug 733260: remove typedef jsuint, r=luke
...
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Andrew McCreight
d1fe0337f9
Bug 723971 - unmark gray for shapes. r=billm
2012-03-05 18:11:29 -08:00
Bobby Holley
cfb664d4da
Bug 731845 - XPCWrappedNative::ReparentWrapperIfFound should handle preserved wrappers. r=mrbkap
2012-03-05 16:58:59 -08:00
Bobby Holley
044bf296d9
Bug 720580 - Assert that we have the global jsclass flag if and only if we're a global. r=mrbkap
2012-03-05 15:22:53 -08:00
Bobby Holley
314080ae4b
Bug 720580 - Assert against creating globals in xpc_NewSystemInheritingJSObject. r=mrbkap
...
With this patch, the only call to JS_NewGlobalObject in XPConnect happens in xpc_CreateGlobalObject. \o/
2012-03-05 15:22:45 -08:00
Bobby Holley
0138ba492f
Bug 720580 - Do the last bit of wrapped global initialization once the dust has settled. r=mrbkap
2012-03-05 15:22:45 -08:00
Bobby Holley
4c224aaddf
Bug 720580 - Kill temporary globals. r=mrbkap
...
This patch breaks the "every commit is a 100% correct tree" invariant a little bit, because constructors and prototypes for DOM globals are broken (PostCreatePrototype never gets called). This is fixed in the next patch. Doing it this way makes for a cleaner series of commits, and the browser still builds and runs fine.
2012-03-05 15:22:45 -08:00
Bobby Holley
e1f86c8709
Bug 720580 - Introduce XPCWrappedNative::WrapNewGlobal. r=mrbkap
2012-03-05 15:22:45 -08:00
Bobby Holley
326d8a5ada
Bug 720580 - Call TraceDOMPrototypes via TraceXPCGlobal, and avoid the verification process for wrapped natives. r=mrbkap
2012-03-05 15:22:45 -08:00
Bobby Holley
78b896835e
Bug 720580 - Make the call to PostCreatePrototype optional. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
8c9a3e7b4d
Bug 720580 - Factor out the call to PostCreatePrototype into a helper method. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
1129551fcf
Bug 720580 - Accept an explicit native global during XPCWrappedNativeScope creation. r=mrbkap
2012-03-05 15:22:44 -08:00