Commit Graph

27776 Commits

Author SHA1 Message Date
Bas Schouten
2be70a6cde Bug 719776 - Part 2: Make MOZ_CRASH and MOZ_ASSERT expand inline. r=waldo 2012-04-12 02:03:07 +02:00
Brian Hackett
8316f8dff3 Use right compartment iterator when profiling scripts, bug 744611. r=billm 2012-04-11 15:54:55 -07:00
Terrence Cole
981f652738 Bug 743868 - Fix barriers in SupressDeletedProperties; r=billm
Right now, we simply stop tracing through deleted properties. This causes us to
delete things that are still in the write buffer. We need to, in addition, set
the reference to NULL to ensure that the write buffer doesn't dereference these
dead entries.

--HG--
extra : rebase_source : add220d5fb47e0e3ffd767c9b5ebd6172df07671
2012-04-09 16:52:50 -07:00
Masatoshi Kimura
2afd81e0a3 Bug 743049 - Part 1: Add a friend API to get an error type name from a number. r=luke 2012-04-11 17:55:22 -04:00
Masatoshi Kimura
7706cbe7a8 Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking 2012-04-11 17:55:21 -04:00
Terrence Cole
124513c9bb No bug - Warning fix for 91357:fa24b215d49e; r=luke
--HG--
extra : rebase_source : 9d48a4a09cb54d711a24da41576ffc24d44a3cb4
2012-04-11 10:32:50 -07:00
Terrence Cole
869384f8e3 Bug 743896 - Fix failure misattribution in jstest runner; r=dmandelin
In the unix task runner, when we kill tasks, we should be checking and returning
bool if we kill so that we then run waitpid in timeout mode.  We weren't, so
tasks were never failing with timeout, only with failure.  It turns out that
this is not safe anyway: it will race against signal delivery.  We're better off
just removing this hack and letting the timeout cutoff be fuzzy.

--HG--
extra : rebase_source : cd44838e67cf541fd5741406e8c3f02ad7530f16
2012-04-11 10:02:33 -07:00
Nathan Froyd
76e56f19d9 Bug 743988 - unconditionally link PROGRAMS and SIMPLE_PROGRAMS with CXX; r=ted 2012-04-10 10:16:26 -04:00
Jan de Mooij
682d404984 Bug 742393 - Don't inline array.concat if the array prototype has indexed properties. r=bhackett 2012-04-11 18:49:42 +02:00
Phil Ringnalda
151c28ec53 Back out 4b82f26f8593:2fcf9cbedd48 (bug 743393, bug 719776) for bustage 2012-04-11 09:06:40 -07:00
Bas Schouten
f6ce694430 Bug 719776 - Part 1 - Followup: Fix one more case of assuming ASSERT expands to an expression. r=bustage 2012-04-11 17:18:30 +02:00
Bas Schouten
034108c2de Bug 719776 - Part 2: Inline MOZ_Assert and MOZ_Crash. r=waldo 2012-04-11 16:55:31 +02:00
David Rajchenbach-Teller
6d5fdf26e0 Bug 742384 - CDataFinalizer.dispose now returns a value. r=jorendorff 2012-04-11 10:46:19 +02:00
David Rajchenbach-Teller
290bcaec25 Bug 720771 - Implementing finalization for CData values. r=jorendorff 2012-04-05 15:06:25 +02:00
Mike Hommey
ea3507fa7e Bug 644608 - Implement full dependencies for expandlibs. r=ted
* * *
Bug 644608 - Fixups
2012-03-31 09:24:39 +02:00
Nicholas Nethercote
b99da5a940 Bug 739512: Patch 9: move JSScript::debug into a table. r=jorendorff. 2012-04-10 18:03:01 -07:00
Jeff Walden
811d0047d6 Attempt to fix OS X (gcc 4.2) build bustage. No bug, r=gcc-42-should-die 2012-04-12 18:32:25 -07:00
Jeff Walden
a971d372b8 Fix clang JS shell build bustage. No bug, r=billm over irl 2012-04-12 18:15:26 -07:00
Brian Hackett
8ba260b5ce Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00
Nicholas Nethercote
acee5a1c1c Bug 739512 - Patch 8: move sourceMap into a table. r=jorendorff.
--HG--
extra : rebase_source : a986cf630b84c9b531e6179afce57b0e8c69d1ff
2012-04-09 19:56:04 -07:00
Andrew McCreight
8ce598e7c1 Bug 744272. disable test_watchpoints due to bogus failures. rs=billm 2012-04-10 18:43:22 -07:00
Nicholas Nethercote
59e904470c Bug 739512 - Patch 7: move scriptCounts into a table (attempt 2). r=bhackett. 2012-04-10 18:41:42 -07:00
Nicholas Nethercote
30846dcaae Backed out changeset fdd10e0e6e5e (bug 739512) due to 32-bit bustage. 2012-04-10 18:36:08 -07:00
Nicholas Nethercote
8f6f4d74ed Bug 739512 - Patch 7: move scriptCounts into a table. r=bhackett. 2012-04-09 19:50:06 -07:00
Jeff Walden
b3c19631d8 Bug 743878 - Move uint8_clamped and associated machinery into ObjectImpl.h, so that the new object representation can use it as well. r=sfink 2012-04-09 15:14:59 -07:00
Terrence Cole
a377cbe0ca Backed out changeset a43eb4a2d2fd 2012-04-10 17:03:25 -07:00
Terrence Cole
961c72bb26 Bug 744192 - Assert that Vectors do not contain implicitly postbarriered types; r=luke
Since vectors move their memory around outside the control of the GC, it is not
valid to store an implicitly post-barriered item in a Vector.
2012-04-10 16:43:54 -07:00
Luke Wagner
e19fc00e74 Fix --disable-methodjit bustage (no bug, r=red) 2012-04-10 14:57:15 -07:00
Luke Wagner
ded2c352a3 Bug 740259 - add ALIASEDVAR ops, assert they are used iff the variable is aliased (r=bhackett,waldo,jorendorff,dherman) 2012-03-24 12:29:36 -07:00
Luke Wagner
ba98dfe70c Bug 740446 - make 'arguments' more like a normal local binding (r=bhackett) 2012-04-02 08:58:30 -07:00
Luke Wagner
aa04799a17 Bug 740259 - Assert that dynamic binding access is expected (r=bhackett) 2012-03-16 12:02:37 -07:00
Luke Wagner
107bf1f356 Bug 740259 - Tighten assertions around closed-var noting (r=bhackett) 2012-03-28 16:36:57 -07:00
Brian Hackett
61342c1099 Treat FILTER and ENDFILTER as unknown ops, bug 740595. r=luke 2012-04-10 12:59:38 -07:00
Brian Hackett
d699d138f8 Remove bogus assert, bug 727476. r=luke 2012-04-10 12:56:59 -07:00
Brian Hackett
013145f51a Avoid assert botch in makeLazyType after types have been nuked, bug 734978. r=luke 2012-04-10 12:36:26 -07:00
Brian Hackett
e414878401 Don't botch assert after OOM while constructing object's lazy type, bug 735016. r=luke 2012-04-10 12:27:13 -07:00
Brian Hackett
701b67e290 Bail out from on calling functions if an OOM occurs while during initial bytecode analysis, bug 727341. r=luke 2012-04-10 12:24:46 -07:00
Brian Hackett
b6c39b6461 Preserve invariant between saved array and lifetime variables' saved fields on OOM during analysis, bug 735045. r=luke 2012-04-10 12:16:42 -07:00
Brian Hackett
90ac2f3e6f Nuking types should be recognized as a recompilation by enclosing monitors, bug 735012. r=dvander 2012-04-10 12:10:04 -07:00
Brian Hackett
adbd0b10bb Don't botch assert after OOM while linking ICs, bug 727344. r=dvander 2012-04-10 12:07:26 -07:00
Terrence Cole
71ea0dd217 Bug 744052 - Restructure HashTable::checkOverflow for easier reading; r=luke
When I added this function, I just copied the existing logical structure.  It
makes more sense here to check overflowed and return early, since we can do this
now.
2012-04-10 09:51:48 -07:00
Ehsan Akhgari
35feb5905e Merge mozilla-central into mozilla-inbound 2012-04-10 11:12:26 -04:00
Ehsan Akhgari
da8a28843b Merge the last PGO-green changeset from mozilla-inbound into mozilla-central 2012-04-10 11:11:37 -04:00
Igor Bukanov
abf01f2000 Bug 743559 - Remove unused JSRuntime::xml_singleton fields. r=:Waldo
The patch removes unused  anynameObject and functionNamespaceObject fields in JSRuntime.
2012-04-10 11:57:29 +02:00
Terrence Cole
e4df58c761 Bug 743885 - Fix OOM handling regression in HashTable; r=luke
Introduced by me in bug 722946.
2012-04-09 19:07:11 -07:00
Kyle Huey
b6b17661cb Refix bug 741248 harder. r=me 2012-04-09 17:41:22 -07:00
Brian Hackett
ca6235473e Don't disable call ICs with the callee frame still on the stack, bug 743088. r=luke 2012-04-09 17:33:42 -07:00
Nicholas Nethercote
22560df854 Bug 742163 (follow-up) - Unbreak --disable-methodjit. r=Ms2ger. 2012-04-09 16:41:27 -07:00
Nicholas Nethercote
bd1ed015d8 Bug 739512 - Patch 2b: rename nClosed{Args,Vars}() as numClosed{Args,Vars}(). r=luke. 2012-04-09 16:37:16 -07:00
Matt Brubeck
2584172b19 Merge last green changeset from inbound to mozilla-central 2012-04-09 10:05:48 -07:00
Takanori MATSUURA
1cddfe27e4 Bug 743433 - Remove .orig files which were accidentally added by bug 680246. r=khuey 2012-04-07 08:48:23 -04:00
Igor Bukanov
20e5c3933b Bug 737364 - part 2 - replace JSContext with JSRuntime in the GC-related API
This part replaces the JSContext *cx argument in most GC-related API
with JSRuntime *rt. When possible, the patch removes the code to obtain
a temporary cx just to run the GC.

The patch also removes JS_DestroyContextMaybeGC. That function is not
used in FF code base and its implementation is broken. It requires that
the context has an entered compartment when it is destroyed, which in
turns implies a missing leave compartment call.
2012-03-28 12:13:30 +02:00
Kyle Huey
bcc7b8930d Fix Bug 743376. r=bz 2012-04-06 17:44:50 -07:00
Mike Hommey
daaf05e1f0 Backout bug 644608 for subtly breaking layout/media build 2012-04-06 13:57:24 +02:00
Mike Hommey
6c18cf3860 Bug 644608 - Implement full dependencies for expandlibs. r=ted 2012-03-31 09:24:39 +02:00
Mike Hommey
f72bc25505 Bug 741287 - Make expandlibs_gen.py error out when given a missing file. r=ted 2012-04-06 10:16:25 +02:00
Terrence Cole
6cbec49cd2 Bug 730452 - Trigger post barriers on moveDenseArrayElements; r=billm
We cannot do this per-element because it is too slow.  Instead we have a special
storebuffer entry for this case so we can do all work at gc time.

--HG--
extra : rebase_source : 7e48184d38b442b2bdba38553cf93f9d629debf1
2012-04-05 17:56:53 -07:00
Jim Blandy
ef32c48bf1 Bug 733461: Implement the 'query' parameter of Debugger.prototype.findScripts. r=jorendorff 2012-04-05 17:10:44 -07:00
Bill McCloskey
7ac37189bb Bug 739899 - Fix clang warning (rs=terrence) 2012-04-05 17:05:34 -07:00
Bill McCloskey
47a4fb0311 Bug 739899 - Fix orange 2012-04-05 16:50:40 -07:00
Terrence Cole
944d8aa687 no bug: Warning fix at predeclaration of AutoCompartment; r=jorendorff 2012-04-05 16:31:26 -07:00
Bill McCloskey
7a6d0e3aba Bug 742570 - Improve shell control of incremental GC (r=igor) 2012-04-04 15:07:36 -07:00
Bill McCloskey
15f96e8610 Bug 742570 - Improve GC testing functions (r=igor) 2012-04-03 14:07:38 -07:00
Bill McCloskey
6149e805bc Bug 742570 - Change API for compartment GCs (r=igor) 2012-04-03 12:23:11 -07:00
Bill McCloskey
2f8a8308b9 Bug 742570 - Remove the compartment option for gczeal (r=igor) 2012-04-03 11:41:56 -07:00
Bill McCloskey
19d42860f8 Bug 739899 - Eliminate the distinction between full and compartment GCs (r=igor) 2012-04-02 18:29:11 -07:00
Luke Wagner
15e99e2d63 Bug 743034 - Fix script proto exec. r=bholley 2012-04-05 15:44:55 -07:00
Gabor Krizsanits
0ac891d865 Bug 733035 - postMessage support for sandboxes. r=khuey 2012-04-05 18:33:20 -04:00
Bobby Holley
403f8c3812 Bug 739825 - Push principals when entering compartments in structured clone. r=mrbkap 2012-04-05 14:02:34 -07:00
Igor Bukanov
ec49e6a78d Bug 737364 - part 1 - stop using the cx in the GC implementation
This part removes JSContext::gcBackgroundFree, moves all mark-related
cleanup code to run right after the marking is done for clear mark/sweep
separation and eliminates all JSContext references in the GC
implementation. That allowed to remove a wait for the bakground
finalization to finish in js_DestroyContext. As a followup for the bug
737365 the patch also replaces in few cases the JSContext argument with
FreeOp in infallible code that only free/destroy things.
2012-03-25 09:48:45 +02:00
Jason Orendorff
f0c623c2f5 Fix "Assertion failure: srcArgs.callee().toFunction()->native() == native || srcArgs.callee().toFunction()->native() == js_generic_native_method_dispatcher, at jswrapper.cpp:788." Bug 743101, r=djvj. 2012-04-06 16:58:43 -05:00
Jason Orendorff
0b48d9ec48 Debugger.Environment.getVariable and setVariable. Bug 692984, r=jimb.
--HG--
extra : rebase_source : fb68abbd27b3ca0809b20d99411ac797b337d227
2012-04-06 16:48:38 -05:00
Jason Orendorff
de3d390e50 Comment class js::FreeOp. No bug, no_r=me.
--HG--
extra : rebase_source : cd664de1c5aeca650b904f3ffc780c237c7044f3
2012-04-04 12:03:14 -05:00
Terrence Cole
13747cd0e7 Bug 737258 - Provide the real thing location to the marker callback; r=billm
In debug builds only, this adds a new void* to the JSTracer struct so that users
that would have to lie about their address in order to mark safely can still
provide the real location to users that care.

--HG--
extra : rebase_source : 3e64c975a97f6f22b94e1bab522a18eb37ceb906
2012-04-05 16:10:53 -07:00
Terrence Cole
8576312a1c Bug 743047 - Make the script atoms HeapPointers; r=billm
These are only initialized and then read from, but we need to barrier the init
so that we will have a remembered set entry for atoms that are in the nursery.

--HG--
extra : rebase_source : 9a5a1eb3e0c76d4624a978627ff901d336b0c540
2012-04-05 15:54:57 -07:00
Takanori MATSUURA
bd9ba0040a Bug 737006 - Use internal ply only if needed. r=khuey 2012-04-06 14:06:52 -04:00
Luke Wagner
0d22b6df1b Bug 738279 - Change 'pc' to match 'sp' in forced return path (r=bhackett)
--HG--
extra : rebase_source : 24cecb569cdb5df33737877bc3f02a5ceea342b1
2012-04-09 09:12:44 -07:00
Luke Wagner
7021ed28a7 Bug 723445 - StackIter should ExpandInlineFrames in all compartments, not just the current one (r=bhackett)
--HG--
extra : rebase_source : 4dfa9962367f0cc6cf3b5657c9fbc5a425f15f41
2012-04-09 09:11:26 -07:00
Takanori MATSUURA
7bad43d463 Bug 743630 - Remove unsed variable XPIDL_COMPILE. r=khuey 2012-04-09 13:36:14 -07:00
David Mason
5bc308d541 Bug 732779 - Update Date.prototype.set{Second,Minute,Hour,etc} methods to not short-circuit argument evaluation when this date is invalid or a leading argument converts to NaN. r=jwalden
--HG--
extra : rebase_source : cd10ac2d8a4cc5a55d971692def76cadaf4c4bd1
2012-04-06 18:06:14 -07:00
Ms2ger
9ae4350b73 Merge m-c to m-i. 2012-04-09 09:32:28 +02:00
Josh Matthews
95cb7efe08 Bug 704147 - Make ctypes function pointers callable via call and apply. r=bholley 2012-02-14 16:26:05 -05:00
Jim Blandy
fd6265401a Bug 741615: Replace Debugger.prototype.wrap with Debugger.Object.prototype.makeDebuggeeValue. r=jorendorff 2012-04-05 12:30:35 -07:00
Bobby Holley
4be29280b2 Bug 739796 - Make same-origin cross-compartment Location object access go through the LW in the host compartment. r=gal
--HG--
extra : rebase_source : d5e07d4628bfd5990d127b4316219a43c4e0de88
2012-04-05 12:21:12 -07:00
Bobby Holley
6aa87dac2b Bug 739796 - Make js_TransplantObjectWithWrapper and GetSameCompartmentSecurityWrapper play nicely together. r=mrbkap
--HG--
extra : rebase_source : c132069987b4cae121dfcf1b19ffacaee845df1e
2012-04-05 12:21:12 -07:00
Bobby Holley
0bc78f58be Bug 739796 - Move same-compartment security wrapping into a method on XPCWrappedNative. r=gal
--HG--
extra : rebase_source : 48c61d699d27d390be2bcfb006f12264345f9d49
2012-04-05 12:21:12 -07:00
Daniel Holbert
8944f5dc26 Bug 742788: Fix two 'warning: comparison of unsigned expression >= 0 is always true' in js. r=luke 2012-04-05 10:56:22 -07:00
Ehsan Akhgari
2a534262e3 Merge mozilla-inbound and mozilla-central 2012-04-05 13:41:51 -04:00
Ehsan Akhgari
7430c20bc8 Merge the last green PGO changeset from mozilla-inbound to mozilla-central 2012-04-05 13:40:53 -04:00
Boris Zbarsky
90c63d679b Bug 738356. Add JSAPI for doing the equivalent of Function.prototype.bind. r=jorendorff 2012-04-05 13:14:52 -04:00
Mike Hommey
609e12c771 Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey 2012-04-05 09:20:53 +02:00
Nicholas Nethercote
6fb367bfab Bug 742163 - Clean up JSScript::jitArityCheck{Normal,Ctor}. r=dvander. 2012-04-05 00:02:02 -07:00
Chris Cooper
ef548df90a Merge build-system to mozilla-central 2012-04-04 14:02:07 -04:00
Joey Armstrong
15ddc7aed7 Bug 738404 - Makefile.in edits to use threadsafe mkdir (bug 680246) - r=ted 2012-04-03 16:08:16 -04:00
Joey Armstrong
978a5f6d8a Bug 735638 - add utility function checkIfEmpty - r=khuey 2012-04-03 13:34:04 -04:00
Joey Armstrong
3713ef7a77 Bug 734121 - helper macros for writing make user functions - r=khuey 2012-04-03 13:32:46 -04:00
Phil Ringnalda
3405ff1b50 Merge m-c to b-s 2012-04-03 08:27:38 -07:00
Nicholas Nethercote
6abc96ea39 Backout 2f9b6bdf63f7 (bug 739512) due to a bad V8 regression. r=me. 2012-04-02 18:02:54 -07:00
Bill McCloskey
b4eb5cc658 Bug 716142 - Multi-compartment GC (r=igor,jorendorff) 2012-04-02 17:02:25 -07:00
Joey Armstrong
88a24ad705 Bug 680246 - add missing files from import - r=khuey 2012-04-02 15:28:37 -04:00
Joey Armstrong
85a578963f Bug 680246 - add a makefile library rule to support thread safe directory creation - r=khuey 2012-04-02 13:06:06 -04:00
David Mandelin
f6c2a9431d Bug 737780: diagnostic for crashes in GetNameFromBytecode, r=luke 2012-04-02 11:31:37 -07:00
Terrence Cole
c20ba53402 Bug 549683 - Remove final JSDHashTable users from SpiderMonkey; r=Waldo
We still have to continue building and linking jsdhash.cpp for XPConnect, but
this kills the remaining users in SpiderMonkey proper.
2012-03-30 10:33:20 -07:00
Terrence Cole
b0a5057ce6 Bug 741005 - Remove XPCNativeWrapperMap; r=bholley
This appears to be completely unused.
2012-03-30 15:56:35 -07:00
Matt Brubeck
6113f7efa8 Back out bug 738011, bug 738624, and bug 737857 because of WinXP debug reftest log errors
--HG--
extra : rebase_source : 965c755f6416e2ca102b38633fe7a2c7267e956e
2012-04-02 12:44:31 -07:00
Luke Wagner
cd2112370c Fix semicolon warning in js/src (no bug, r=me)
--HG--
extra : rebase_source : 698de99375bcba9438a73460db3e04082d7ca0a9
2012-04-04 18:23:21 -07:00
Bobby Holley
36252b8f57 Bug 737251 - Reuse the throwing code in jsobj.cpp for jsproxy.cpp. r=luke 2012-04-04 17:26:21 -07:00
Bobby Holley
956d893f7e Bug 737245 - Typed Arrays should handle cross-compartment wrappers; part3. r=luke 2012-04-05 09:39:41 +10:00
Bobby Holley
7029dbc741 Bug 737245 - Typed Arrays should handle cross-compartment wrappers; part2. r=luke 2012-04-05 09:39:25 +10:00
Bobby Holley
be7e8fcc3d Bug 737245 - Typed Arrays should handle cross-compartment wrappers; part1. r=luke 2012-04-05 09:38:47 +10:00
Nicholas Nethercote
6ca9f23930 Bug 711895 - Tweak the warning options used for GCC builds (3rd attempt). r=waldo,derf,khuey,mhommey.
--HG--
extra : rebase_source : 20540c9b838ee3be6cb0847c1b90fdc3bd44059d
2012-03-21 22:21:16 -07:00
Phil Ringnalda
a892cfdc01 Back out 6c435c96f10a (bug 736591) for Mac jsreftest orange 2012-04-03 21:03:30 -07:00
Terrence Cole
09d50a45a9 Bug 742114 - Remove duplicate marking of TypeObject::interpretedFunction; r=billm
This looks like a merge conflict that I didn't resolve correctly.  I also took
the liberty of re-ordering the marking here to match what's in MarkChildren and
the declaration ordering of TypeObject.

--HG--
extra : rebase_source : 33beeb5ea33f8238f6d4d17c223d29acdbfa9457
2012-04-03 18:33:41 -07:00
Jeff Walden
4973b55562 Bug 736591 - Ensure that StringBuffer never allocates more memory than is needed to represent a maximum-sized string. Thanks for the technique/idea go to Luke. r=luke
--HG--
extra : rebase_source : 3c35b6ac2541425812c57bc76374a43c3a554bbe
2012-04-03 17:18:46 -07:00
Masatoshi Kimura
932c8abcc5 Bug 739659 - Try duck typing in js_ReportUncaughtException. r=luke 2012-04-03 20:08:28 -04:00
David Rajchenbach-Teller
c324c85c93 Bug 684017 - Implement ctypes.errno and ctypes.winLastError. r=jorendorff 2012-04-02 15:38:20 +02:00
Jeff Walden
75ebe79331 Bug 739380 - Begin to implement element definition. r=bhackett
--HG--
extra : rebase_source : 25fff9bc91610457feaaf45faa8d42dfec162384
2012-03-21 13:32:55 -07:00
Jeff Walden
eb5f294a2e Bug 739380 - Define an ElementsHeader base class for all element subtypes, and define meaningful subclasses through which to use an ElementsHeader. r=bhackett
--HG--
extra : rebase_source : adb6feb2278c3130ec890d0e38b7bf1dd9e7e1e1
2012-03-21 13:32:55 -07:00
Matt Brubeck
21ac41db6c Merge mozilla-central to mozilla-inbound 2012-04-02 11:03:29 -07:00
Matt Brubeck
2c4e2f7b62 Merge last green changeset from inbound to mozilla-central 2012-04-02 10:41:37 -07:00
Nicholas Nethercote
e56d4795ad Bug 739512 - Patch 6: improving naming of PCCount-related stuff. r=bhackett. 2012-04-01 13:24:56 -07:00
Nicholas Nethercote
01213c2a06 Bug 739512 - Patch 5: remove JITScript::arityCheckEntry. r=dvander. 2012-04-01 13:24:52 -07:00
Kyle Huey
30907f7e40 Bug 722671: Components.utils.getWeakReference should get a reference to the underlying native object if possible. r=mrbkap 2012-04-01 19:21:13 -07:00
Ed Morley
18b9148c4f Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-31 22:41:59 +01:00
Olli Pettay
c7a649ab35 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Ed Morley
d4b48e7211 Backout 82c315c0bd14 (bug 644608) for suspected SHARED_LIBRARY_LIBS_DEPS issues on a CLOSED TREE 2012-03-31 13:18:29 +01:00
Mike Hommey
8965672b38 Bug 644608 - Implement full dependencies for expandlibs. r=ted 2012-03-31 09:24:39 +02:00
Peter Van der Beken
ed510d3506 Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Terrence Cole
2c0bc63017 Backout 00f2e1e9adc2 after mq malfunction. 2012-03-29 17:52:45 -07:00
Terrence Cole
2f9cd7725c Bug 738868 - Switch JSObject2JSObjectMap to new HashTable; r=mrbkap 2012-03-27 09:55:55 -07:00
Peter Van der Beken
e462957b02 Fix for bug 740064 (Refactor XrayWrapper). r=bholley.
--HG--
extra : rebase_source : 60559d74b10761a794d83a0a63dc60a92b2d48eb
2012-03-27 16:31:37 -07:00
Nicholas Nethercote
0a5d67243e Bug 739512 - Patch 2: space-optimize representation of closedArgs and closedVars. r=dvander.
--HG--
extra : rebase_source : 8738fae7581265ba464899c9a7b6c53c118740b8
2012-03-25 17:07:33 -07:00
Terrence Cole
7885c4776d Bug 549683 - Remove final JSDHashTable users from SpiderMonkey; r=?
This does not build jsdhash.cpp for SpiderMonkey, but does keep it in tree for
the remaining users in xpconnect.

--HG--
extra : rebase_source : 5780e1e024a247d619a548541ad84cbeeba6c75b
2012-03-23 16:00:01 -07:00
Bobby Holley
83879a9142 Bug 740469 - JSNative->JSFunction fixup should happen in DefinePropertyById, not DefineProperty. r=luke 2012-03-29 13:34:36 -07:00
Dão Gottwald
a13dabd86a Backed out changeset 6cb9adc02c12 2012-03-29 20:35:49 +02:00
Masatoshi Kimura
160e1c0fcc Bug 739659 - Try duck typing in js_ReportUncaughtException. r=luke 2012-03-29 19:49:21 +02:00
Doug Turner
b47e1fac99 Bug 739760 - doubles and floats can't be used in dictionaries. r=khuey 2012-03-29 00:05:44 -07:00
Luke Wagner
2704caef24 Bug 733793 - Check for null return from JS_ObjectToOuterObject (r=bholley)
--HG--
extra : rebase_source : 2b7fbb3a72f641785de7f7707e9b6e8013b4eb6d
2012-03-28 16:15:38 -07:00
Andrew McCreight
980ef286d3 Bug 738700 - unmark wrapped gray objects from nsISupports. r=smaug 2012-03-28 21:51:46 -07:00
Andrew McCreight
76cceac62b Bug 712735 - Don't add JS holders with no gray children as XPConnect roots. r=smaug 2012-03-28 21:23:01 -07:00
Nicholas Nethercote
9f37b0f3fb Bug 739512 - Patch 1: remove JSScript::cookie[12] and reorder JSScript members. r=wccloskey.
--HG--
extra : rebase_source : 825a78faae71c837fca3a3b9c9bee3a1d1ba85ab
2012-03-22 18:26:34 -07:00
Jim Blandy
5f05f3a842 Bug 740542: Implement Debugger.prototype.wrap. r=jorendorff 2012-03-31 23:26:37 -07:00
Boris Zbarsky
2c1acbadbb Bug 739541. Add faster versions of JS_ValueToNumber and JS_ValueToECMAInt32. r=dmandelin 2012-03-28 16:35:21 -07:00
Ben Turner
201db1d3e0 Bug 737911 - 'Shrink bits for CACHED_PROTO_KEYs and add two new JSClass flags for the new DOM bindings'. r=lukew. 2012-03-28 14:50:31 -07:00
Luke Wagner
9dd56c77d3 Fix warnings in js/src (no bug, r=me) 2012-03-28 09:11:54 -07:00
Luke Wagner
538bf24c70 Bug 739520 - rm JSOP_SETLOCALPOP (r=bhackett)
--HG--
extra : rebase_source : d81a637b6b8ba873a78ea6971b3ef5010a0823a3
2012-03-26 22:29:55 -07:00
Luke Wagner
9fb0d43934 Bug 736742 - Fix decompiler precedence for destructuring assignment with comma-expression (r=jorendorff)
--HG--
extra : rebase_source : d38dc6e2eec3a90e5bf1d86862da4734d374e6e2
2012-03-27 14:48:10 -07:00
Luke Wagner
80a5106175 Bug 739685 - rm useless makeAtom calls in BindNameToSlot (r=dvander)
--HG--
extra : rebase_source : 9c057d2e9a07738cdc2b6530c3d5aae79f6cb095
2012-03-26 22:33:28 -07:00
Luke Wagner
bfcee2ce85 Bug 739532 - don't malloc BytecodeEmitter (r=jorendorff)
--HG--
extra : rebase_source : e831aeba4813e6a7eea7c0dedf9b3946525518ce
2012-03-23 11:29:30 -07:00
Jared Wein
ab34b8f798 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-28 08:53:56 -07:00