Commit Graph

17821 Commits

Author SHA1 Message Date
Jeff Walden
e1e013efb8 Bug 723249 - Implement a dump() function on JSString, JSAtom, and JSObject, for easier typing than js_Dump*. Also implement JSString::equals. r=luke
--HG--
extra : rebase_source : 0bb078d0ded8aa52753261605bc72a5eef45e65e
2012-01-31 18:03:41 -08:00
Igor Bukanov
bd4db6e9ef bug 723021 - moving native stack limits into runtime. r=luke 2012-01-31 23:28:22 +01:00
Jeff Walden
ed8310add7 Bug 722260 - Properly handle NaN values as keys in Map objects. r=luke 2012-01-31 16:49:27 -08:00
Jeff Walden
003f15369d Bug 720316 - Convert the various object and function indexes into uint32_t. r=jorendorff 2012-01-19 17:15:33 -08:00
Steve Fink
9e7723251c Bug 717104 - test that an unreachable global does not keep its Debuggers alive. r=woof!
--HG--
extra : rebase_source : 6249095c7501ba1e1647ea01998de685fe0a278e
2012-01-26 11:55:39 -08:00
Steve Fink
8144d41e36 Bug 717104 - unreachable debuggee globals should not keep their debuggers alive. r=jorendorff
--HG--
extra : rebase_source : e1b4bc44adea1fa0bb94188ccaccc156c194dfbb
2012-01-16 17:02:15 -08:00
Phil Ringnalda
ba92819c8c Back out 9aac714775b9 (bug 723111) for make check orange 2012-02-01 10:25:04 -08:00
Blake Kaplan
214339dab1 Bug 723111 - Add an option to js::UnwrapObject so that it doesn't stop at outer windows when unwrapping. This is useful for cases where we are trying to find the wrapped native for a security wrapper. r=bzbarsky
--HG--
extra : rebase_source : 51216cf21b63554e50633c89f393c5888241dee2
2012-01-26 14:55:27 +01:00
Peter Van der Beken
801dbb695f Fix for bug 717009 (Inline ListBase<LC>::instanceIsListObject and ListBase<LC>::getListObject). r=bz.
--HG--
extra : rebase_source : 368514fa942cb31751e5c6b4ff9d206c1bb609bc
2011-11-09 11:37:47 +01:00
Peter Van der Beken
85e454d39a Fix for bug 716997 (Allow new DOM bindings with 0 methods or properties). r=jst.
--HG--
extra : rebase_source : 2b16fa38254362cdedc136a8a4b07261ab2f6a76
2011-10-14 23:21:39 +02:00
Peter Van der Beken
d72b55a274 Fix for bug 693811 ("Assertion failure: shouldCacheProtoShape(cx, proto, &shouldCache) && shouldCache" in ListBase::nativeGet). r=mrbkap.
--HG--
extra : rebase_source : 5baa4b1afeecf64e7f1945869e9cd2ae9045b44c
2011-10-14 23:29:36 +02:00
Boris Zbarsky
0c74b1ef90 Bug 722729. Expose a public API for LinkConstructorAndPrototype. r=bhackett 2012-01-31 22:40:49 -05:00
Nicholas Nethercote
4f29e66f41 Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron. 2012-01-02 18:19:14 -08:00
Matt Brubeck
2f76524e14 Back out 08f4fc94e27b f3ceed05f6b7 f87d25461d6c 317e842f6c65 57adfe804b56 (bug 720316, bug 722260) 2012-01-31 17:34:26 -08:00
Jeff Walden
d9be9c5c4c Add END_CASE_LEN7 for Windows support, and add two forgotten manifest lists. Bug 722260 for the latter, no bug for the former, r=bustage 2012-01-31 16:49:27 -08:00
Brian Hackett
4f5cff94b3 Don't run compile-and-go scripts on globals with a cleared scope, bug 680456. r=dmandelin 2012-01-31 16:36:07 -08:00
Jeff Walden
9e3d1bf861 Backed out changeset f87d25461d6c -- seems js_DumpString (at least) is only exposed in vm/String.cpp #ifdef DEBUG. Still no bug, r=bustage 2012-01-31 16:32:02 -08:00
Jeff Walden
35b0181d09 Add dump() to JSString, JSAtom, and JSObject as an easier-to-type alias to js_Dump*. Also add equals(const char*) methods to JSAtom and JSString. These methods are all to be used *only* while debugging. No bug, rs=luke over IRC 2012-01-31 15:48:27 -08:00
Jeff Walden
e108b6016a Bug 722260 - Properly handle NaN values as keys in Map objects. r=luke
--HG--
extra : rebase_source : 54ac2dccb9c1cb5c53f726939c988c4abfd74ab7
2012-01-30 17:08:34 -08:00
Jeff Walden
f30738541f Bug 720316 - Convert the various object and function indexes into uint32_t. r=jorendorff
--HG--
extra : rebase_source : 179deea8ca29b157b88658ccde6eabd6df48fab2
2012-01-19 17:15:33 -08:00
Sander van Veen
2cc3dbdefc Bug 681556 - Default sandboxName to the caller's filename. r=mrbkap. 2012-01-30 20:06:41 -08:00
Boris Zbarsky
b9917f3e19 Bug 722734. Add const signatures for converting back and forth between JS::Class and JSClass. r=mrbkap 2012-01-31 17:14:56 -05:00
Ed Morley
fe4fa2137e Merge mozilla-central to mozilla-inbound 2012-01-31 21:20:50 +00:00
Jim Blandy
31ba736fb8 Bug 722551: Once a function proxy has been frozen, operating on it should not cause its trap handlers to be called. 2012-01-31 12:48:14 -08:00
Jim Blandy
0fc7e7c56d Bug 722622: Remove custom trace function from js_NoSuchMethodClass. r=waldo
Since js_NoSuchMethodClass is a native class, the normal slot traversal
will reach the function and id slots.
2012-01-31 12:38:19 -08:00
Alex Keybl
1397a1a058 Bug 700000 - Version bump 2012-01-31 10:57:49 -08:00
David Mandelin
43badc67e6 Bug 714616: fix write barrier in Array.shift, r=billm
--HG--
extra : rebase_source : 2fd10ab4cc3a93aee188ef6f9bbc388f66da2d37
2012-01-30 17:13:07 -08:00
David Anderson
03a57cd888 Support soft-float for ARMv6 (bug 696291, r=mrosenberg). 2012-01-30 18:53:37 -08:00
Jeff Walden
3c3b76a04f Bug 722023 - Only call GetElementIC::attachGetProp with named properties, not indexed properties. r=bhackett
--HG--
extra : rebase_source : aec995e286ec3d6bc85ed539d39840217f2ec4cf
2012-01-29 12:29:29 -08:00
Jeff Walden
6cb3d45766 Bug 721322 - Functions containing |expr.arguments| should be marked (conservatively) as using arguments. r=jorendorff
--HG--
extra : rebase_source : 3ef23e440de3244ffff8ceb30e75fe086ae3b577
2012-01-26 17:04:00 -08:00
Kan-Ru Chen
a1dfeed3b0 Bug 709585 - Part 5, hal code for the Power API. r=cjones
--HG--
extra : rebase_source : 49c8cb29be617293eb9143b3e3c760229b37943c
2012-01-31 01:08:00 -05:00
Makoto Kato
05b09d853c Backout bug Bug 702179 due to bustage on MacOSX deubg and Win32 debug 2012-01-31 18:00:25 +09:00
Ginn Chen
57da459d97 Bug 702179 Reland 1d0ec7fa8b96 since Bug 719742 is fixed. 2012-01-31 14:51:13 +08:00
Scott Johnson
c5f8492d9e Backout 6a4c4cb828a8 for bustage on windows. 2012-01-30 18:47:43 -06:00
Kan-Ru Chen
896e917c65 Bug 709585 - Part 5/6, hal code for the Power API. r=cjones
--HG--
extra : rebase_source : 689315521a72444c8a0fc92efe128d5bf3fbbada
2012-01-30 17:02:51 -06:00
Nicholas Nethercote
f8d13343dd Bug 721628 (part 5) - Use size_t instead of int64_t in some JS memory reporting structs. r=luke.
--HG--
extra : rebase_source : c3e13b8042b8914ae16cee38b0299f6164ba9222
2012-01-29 14:13:18 -08:00
Nicholas Nethercote
a95d674a91 Bug 721628 (part 4) - Use better names for various JS memory reporting things. r=Ms2ger.
--HG--
extra : rebase_source : 4edc916c571906329075b6be68c245267f9b61d0
2012-01-29 14:11:32 -08:00
Nicholas Nethercote
cdf1a57711 Bug 721628 (part 3) - Rename several size type-inference-related measurement functions and types. r=bhackett.
--HG--
extra : rebase_source : e66bc2d787c31de93ff80280597543cf47924967
2012-01-26 19:09:31 -08:00
Nicholas Nethercote
78f85ce4f6 Bug 721628 (part 2) - Remove mention of slop bytes from JS memory reporter descriptions. r=luke.
--HG--
extra : rebase_source : f9babd22a734eae87a5f671f8ac405939d27e690
2012-01-26 05:55:03 -08:00
Nicholas Nethercote
bc12794a1b Bug 721628 (part 1) - remove the non-working shell built-in stringstats(). r=luke.
--HG--
extra : rebase_source : f56320a19d39035fac5cd6bccf21e101b9184d82
2012-01-26 05:46:54 -08:00
Till Schneidereit
ec5ea6fee9 Bug 679026 - Add gcMallocBytes per compartment. r=gwagner 2012-01-30 13:21:42 -08:00
Igor Bukanov
cbdb18c744 bug 722348 - eliminate JSRuntime::requestCount. r=luke 2012-01-30 11:15:13 +01:00
Jim Blandy
6066fac045 Bug 718786: Make the shell exit with EXITCODE_RUNTIME_ERROR when code is terminated. r=jorendorff
In js/src/jit-test/jit_test.py, add an 'exitstatus' jit-test cookie
attribute (and rename test.error to test.expect_error). Mark tests that
terminate with their expected termination code.

Clean up TMFLAGS comments.
2012-01-28 16:24:03 -08:00
Jon Buckley
ae7d4a9222 Bug 721230 - Implement a compressed texture support stub for WebGL conformance. r=bjacob 2012-01-28 16:15:27 -05:00
Joe Drew
9f3a3972b2 Merge mozilla-central to mozilla-inbound. 2012-01-28 15:48:23 -05:00
Matt Brubeck
343774f03e Back out 602d30678cac because of test failures 2012-01-27 18:37:18 -08:00
David Mandelin
668590bba4 Bug 714614: holes flag for parameter list, r=luke
--HG--
extra : rebase_source : 1297a7dfd311c0d83196740aa6a52df398749c96
2012-01-27 14:33:27 -08:00
Andrew McCreight
3d62207de2 Bug 693527 - tell the cycle collector about watchpoints. r=jorendorff 2012-01-27 17:13:21 -08:00
Bill McCloskey
791f83d2b2 Bug 708303 - Use pinReg/unpinReg more in write barriers (r=dmandelin) 2012-01-27 17:01:25 -08:00
Bill McCloskey
7839608d94 Bug 716619 - Simplify GC probes (r=sfink) 2012-01-27 17:01:04 -08:00