Commit Graph

5266 Commits

Author SHA1 Message Date
Andreas Gal
79baa5db23 Guard that object is a dense array when skipping to its prototype during property lookup (485790, r=brendan). 2009-03-30 17:19:04 -07:00
Jeff Walden
c8f309e4e5 Bug 485889 - Incorrect null checking/assignment? (with xpcshell test case). r=gal 2009-03-30 17:15:42 -07:00
Andreas Gal
38b604f834 Bug 485022 - TM: Assertion failure: JS_ON_TRACE(cx), at ../jsarray.cpp. r=mrbkap 2009-03-30 16:43:23 -07:00
Blake Kaplan
3b132823ae Bug 486029 - Use C++ style casts in more places. r=brendan 2009-03-30 16:33:54 -07:00
Peter Weilbacher
3378176bc8 [OS/2] Bug 483539: fix build break in jsnum.cpp by defining the underscored float properties. r=jorendorff 2009-03-30 15:26:51 -07:00
Igor Bukanov
0604ee2935 bug 453492 - hiding JSCodeSpec.(nuses|ndefs) behind inlines to properly deal with variable stack bytecodes. r=brendan 2009-03-30 16:19:50 +02:00
Igor Bukanov
a7851480ad bug 469492 - calling the call hook after fully initializing the freame. r=brendan 2009-03-30 15:29:17 +02:00
Igor Bukanov
d7e8a855d7 bug 426520 - limitting default xml namespace search to var objects as required by e4x. r=brendan 2009-03-30 11:47:46 +02:00
Andreas Gal
4bc6ae59db Bug 482271 - TM: Crash [@ js_AttemptCompilation]. r=graydon 2009-03-29 18:19:09 -07:00
Robert Sayre
d3ae3d827d Merge mozilla-central to tracemonkey. 2009-03-29 10:42:32 -07:00
Robert Sayre
bfa28b2971 Back out Bug 483723 - 'Trace string.indexOf'. It conflicts badly with mozilla-central. 2009-03-29 10:38:18 -07:00
Neil Rashbrook
00a79cf581 Bug 485605 Clean up JS ID code and fix allocators r=mrbkap sr=jag 2009-03-29 12:47:06 +01:00
Serge Gautherie
668db211d7 Bug 479978 - remove references to MOZ_PROFILE from the build system; (Cv2-MC) the 8 files; r=ted.mielczarek 2009-03-28 03:00:25 +01:00
Vladimir Vukicevic
c32792f55e backing out 273c85c827e1 2009-03-27 16:42:49 -07:00
Andrew Paprocki
24b97dd380 Bug 485576 - Fix a few minor gcc warnings. r=igor 2009-03-27 15:45:48 -07:00
Vladimir Vukicevic
2a8f257f6d b=484599; add calling convention tests to trace-tests and js shell; r=mrbkap 2009-03-27 14:35:46 -07:00
Vladimir Vukicevic
eb82870ba4 b=484561; [arm] fix EABI calling convention; clean up asm_call; r=graydon 2009-03-27 14:31:53 -07:00
Vladimir Vukicevic
34105fd15e b=484561; [arm] fix broken LIR_alloc; r=graydon 2009-03-27 14:29:14 -07:00
Vladimir Vukicevic
76a9a61a35 b=484599; TM: memory stomping when a tn called with > 5 args; r=gal 2009-03-27 10:03:14 -07:00
Brian Crowder
a41d08ee47 Bug 485013 - jsdate.cpp AdjustTime() breaks London (GMT+0) dates when DST activates Mar 29 2009 Summary: jsdate.cpp AdjustTime() breaks London (GMT+0) dates when DST activates Mar 29. r=mrbkap 2009-03-26 17:51:50 -07:00
Jeff Walden
69543b2f1f Make js_DumpValue more useful with function jsvals. r=mrbkap 2009-03-26 16:07:54 -07:00
Igor Bukanov
474bffab88 bug 485178 - proper stack limits for scatter threads. r=mrbkap 2009-03-26 17:06:49 +01:00
Igor Bukanov
a184e8f37e Backed out changeset 0b36bddcefe4 for bug 485178 to fix compiletaion errors on some platforms. 2009-03-26 16:14:07 +01:00
Walter Meinl
b2a122ec44 Bug 484287 - [OS/2] simplify test_os2.cmd; r=mozilla@Weilbacher.org 2009-03-27 00:45:15 +01:00
Igor Bukanov
5652e9c9b3 bug 485178 - proper stack limits for scatter threads. r=mrbkap 2009-03-25 19:06:31 +01:00
Igor Bukanov
0a955fa410 bug 426162 - allow calling JS_DestroyContext when cx->thread is null for API compatibility. r=brendan 2009-03-25 16:41:17 +01:00
Igor Bukanov
f51ef2ceec bug 375406 - PutProperty E4X correctness fix. r=brendan 2009-03-25 16:02:29 +01:00
Igor Bukanov
1e3ba71db4 bug 484769 - fixing the assert about the structure of sharp nodes. r=brendan 2009-03-25 16:01:29 +01:00
Ben Turner
01022c4478 Bug 483723 - 'Trace string.indexOf'. r=brendan+gal. 2009-03-24 21:32:09 -07:00
Ben Turner
7660fa19f9 Bug 484796 - 'Add properties with getters and setters to the shell'. r=gal. 2009-03-24 21:30:23 -07:00
Jeff Walden
61e8b53f29 Add a static assertion for another latent LIR opcode numbering constraint. No bug, r=mrbkap 2009-03-24 14:11:14 -07:00
David Mandelin
f55fd129f7 fix static analysis. r=gal 2009-03-24 12:56:13 -04:00
Igor Bukanov
b5f624afd6 forcing tinderbox re-run to check if bug 437325 indeed caused Windows orange 2009-03-24 15:50:39 +01:00
Igor Bukanov
a8094a7903 bug 437325 - JSThread is no longer shared between JSRuntime instances. r=brendan 2009-03-24 13:07:35 +01:00
Blake Kaplan
ef339102cf Bug 473262 - We can get an interface but no member without idispatch. r+sr=jst 2009-03-25 13:08:01 -07:00
Neil Rashbrook
5eb16a8164 Fix bogus debug assertions from bug 484692 r+sr=peterv 2009-03-25 13:12:13 +00:00
Arpad Borsos
b8ff8885f8 Bug 474369 - get rid of nsVoidArray, xpconnect part; r+sr=mrbkap 2009-03-24 14:23:30 +01:00
Igor Bukanov
81a69a36df bug 427196 - property cache fix. r=brendan 2009-03-23 21:05:25 +01:00
Bob Clary
305b65a693 bug 452498 - modify test to deal with new SyntaxError: duplicate argument is mixed with destructuring pattern error. 2009-03-23 10:43:16 -07:00
Jeff Walden
c9c51f7aa5 Bug 484750 - Assertion failure: newlen == 0 || obj->dslots[newlen - 1] != JSVAL_HOLE, at ../jsarray.cpp. Modify an assertion to properly handle intentional fenceposting behavior where we copy 0 elements to the end of an array -- can't assert that the end of the array isn't a hole in this case because we're intentionally not changing the array from what it was before -- demonstrated by [,].splice(1). r=me as obvious from debugging the testcase 2009-03-23 00:26:52 -07:00
Jeff Walden
2ef0c03fab Modify code which produces |if (cond);| in non-debug builds to not expand into an empty control statement. r=sparky 2009-03-22 18:37:06 -07:00
Robert Sayre
150b7d8a28 Merge tracemonkey to mozilla-central. 2009-03-24 13:49:05 -04:00
Peter Van der Beken
84c8c07ff1 Fix for bug 484692 (Set/clear cached wrappers from within XPConnect). r/sr=jst.
--HG--
extra : rebase_source : 3b0d0174919c8fdd027cde9ab9913c3dcb4052e1
2009-03-24 12:02:23 +01:00
Peter Van der Beken
5a742aa1e3 Fix for bug 484352 (Traceable quickstubs don't use the nsINode fastpaths). r=bent, sr=jst.
--HG--
extra : rebase_source : e20363b1ac181b6736d14085d9e8c2b44f442432
2009-03-24 12:02:16 +01:00
Brad Lassey
f7938e4fd5 bug 481584 - need lib path to link jemalloc on windows ce r=bsmedberg 2009-03-23 21:21:07 -04:00
Brad Lassey
78aa6785a1 bug 481582 - changes to configure.in needed to build jemalloc on windows ce r=bsmedberg 2009-03-23 21:18:19 -04:00
Robert Sayre
9047957f8e Merge tracemonkey to mozilla-central. 2009-03-31 01:20:54 -07:00
Robert Sayre
7fb5fed8c5 Merge tracemonkey to mozilla-central. 2009-03-30 11:23:56 -07:00
Robert O'Callahan
d0c58fb22f Bug 340571. Removing getBoxObjectFor from non-XUL documents. r+sr=bzbarsky
--HG--
extra : rebase_source : a57cb7c4ebee2149a2cdc009400c133d4904409d
2009-03-30 13:44:48 +13:00
Makoto Kato
b68fa392fb Bug 485264 followup - quote things to death, r=bsmedberg 2009-04-03 13:48:08 -04:00
Blake Kaplan
b57f8cf208 Bug 483847 - Remove bogo-assertion (and fix compilation warning). r=Waldo 2009-04-02 15:01:15 -07:00
Blake Kaplan
7d0b0d0a03 Bug 477128 - Add a mochitest. 2009-04-02 15:01:15 -07:00
Benjamin Smedberg
0a08800d0e Bug 486158 - Fix the quickstub dependencies: when multiple targets are listed for a single rule, GNU make doesn't run the rule once and combine the targets: instead, it builds each target separately. This only really matters in parallel builds where targets may be evaluated in parallel. r=ted 2009-03-30 17:29:41 -04:00
Robert Sayre
14ae902bf7 Merge tracemonkey to mozilla-central. 2009-04-01 08:12:53 -07:00
Benjamin Smedberg
00e5abb4e4 When building with pymake, use gmake for NSS because of the pain and suffering on Windows. 2009-03-11 16:32:10 -04:00
Brad Lassey
183b8bf73f bug 485227 - Don't force link jemalloc on windows ce r=ted, crowder 2009-03-31 12:27:25 -04:00
Peter Annema
dd77895150 Bug 482926: lastIndexOf pathologically slow in some cases. Patch by Neil Rashbrook <neil@parkwaycc.co.ul> and me. r=gal. 2009-03-23 10:46:16 -07:00
Ted Mielczarek
aaa58f8d73 Bug 421611 - Need to be able to run tests on arbitrary build - add packaging bits for xpcshell. r=bsmedberg
--HG--
rename : intl/strres/tests/397093.properties => intl/strres/tests/unit/397093.properties
rename : intl/strres/tests/strres.properties => intl/strres/tests/unit/strres.properties
2009-03-21 11:20:00 -04:00
Ted Mielczarek
dcc2d8f492 bug 482085 - fix all xpcshell tests to not reference files from the srcdir. r=bsmedberg,waldo
--HG--
rename : toolkit/components/downloads/test/downloads.empty.sqlite => browser/components/privatebrowsing/test/unit/downloads.empty.sqlite
rename : dom/src/json/test/fail1.json => dom/src/json/test/unit/fail1.json
rename : dom/src/json/test/fail10.json => dom/src/json/test/unit/fail10.json
rename : dom/src/json/test/fail11.json => dom/src/json/test/unit/fail11.json
rename : dom/src/json/test/fail12.json => dom/src/json/test/unit/fail12.json
rename : dom/src/json/test/fail13.json => dom/src/json/test/unit/fail13.json
rename : dom/src/json/test/fail14.json => dom/src/json/test/unit/fail14.json
rename : dom/src/json/test/fail15.json => dom/src/json/test/unit/fail15.json
rename : dom/src/json/test/fail16.json => dom/src/json/test/unit/fail16.json
rename : dom/src/json/test/fail17.json => dom/src/json/test/unit/fail17.json
rename : dom/src/json/test/fail18.json => dom/src/json/test/unit/fail18.json
rename : dom/src/json/test/fail19.json => dom/src/json/test/unit/fail19.json
rename : dom/src/json/test/fail2.json => dom/src/json/test/unit/fail2.json
rename : dom/src/json/test/fail20.json => dom/src/json/test/unit/fail20.json
rename : dom/src/json/test/fail21.json => dom/src/json/test/unit/fail21.json
rename : dom/src/json/test/fail22.json => dom/src/json/test/unit/fail22.json
rename : dom/src/json/test/fail23.json => dom/src/json/test/unit/fail23.json
rename : dom/src/json/test/fail24.json => dom/src/json/test/unit/fail24.json
rename : dom/src/json/test/fail25.json => dom/src/json/test/unit/fail25.json
rename : dom/src/json/test/fail26.json => dom/src/json/test/unit/fail26.json
rename : dom/src/json/test/fail27.json => dom/src/json/test/unit/fail27.json
rename : dom/src/json/test/fail28.json => dom/src/json/test/unit/fail28.json
rename : dom/src/json/test/fail29.json => dom/src/json/test/unit/fail29.json
rename : dom/src/json/test/fail3.json => dom/src/json/test/unit/fail3.json
rename : dom/src/json/test/fail30.json => dom/src/json/test/unit/fail30.json
rename : dom/src/json/test/fail31.json => dom/src/json/test/unit/fail31.json
rename : dom/src/json/test/fail32.json => dom/src/json/test/unit/fail32.json
rename : dom/src/json/test/fail33.json => dom/src/json/test/unit/fail33.json
rename : dom/src/json/test/fail34.json => dom/src/json/test/unit/fail34.json
rename : dom/src/json/test/fail4.json => dom/src/json/test/unit/fail4.json
rename : dom/src/json/test/fail5.json => dom/src/json/test/unit/fail5.json
rename : dom/src/json/test/fail6.json => dom/src/json/test/unit/fail6.json
rename : dom/src/json/test/fail7.json => dom/src/json/test/unit/fail7.json
rename : dom/src/json/test/fail8.json => dom/src/json/test/unit/fail8.json
rename : dom/src/json/test/fail9.json => dom/src/json/test/unit/fail9.json
rename : dom/src/json/test/json2.js => dom/src/json/test/unit/json2.js
rename : dom/src/json/test/pass1.json => dom/src/json/test/unit/pass1.json
rename : dom/src/json/test/pass3.json => dom/src/json/test/unit/pass3.json
rename : testing/xpcshell/example/location_load.js => testing/xpcshell/example/unit/location_load.js
rename : toolkit/components/commandlines/test/unit/unix/test_bug410156.js => toolkit/components/commandlines/test/unit_unix/test_bug410156.js
rename : toolkit/components/commandlines/test/unit/win/test_bug410156.js => toolkit/components/commandlines/test/unit_win/test_bug410156.js
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug257155/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug257155/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_a_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_a_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_a_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_a_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_b_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_b_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_b_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_b_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_c_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_c_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_c_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_c_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_d_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_d_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_d_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_d_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_e_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_e_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_e_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_e_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_f_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_f_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_f_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_f_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_g_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_g_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_g_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_g_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug335238_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug335238_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug335238_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug335238_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_10/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_10/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_11/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_11/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_12/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_12/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_13/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_13/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug394300_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug394300_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug394300_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug394300_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_a_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_a_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_a_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_a_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_b_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_b_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_b_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_b_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_c_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_c_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_c_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_c_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_d_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_d_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_d_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_d_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug397778/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug397778/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug425657/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug425657/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_1/README => toolkit/mozapps/extensions/test/addons/test_bug428341_1/README
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug436207/install.js => toolkit/mozapps/extensions/test/addons/test_bug436207/install.js
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_9/install.rdf
2009-03-21 11:20:00 -04:00
Blake Kaplan
a5b61f895b Bug 483751 - Switch to use the new JSPropertyDescriptor API. Also fix it to return values on the prototype chain (which was sort of the point of its existance...). r+sr=jst 2009-03-20 14:24:24 -07:00
Peter Van der Beken
5027e033b5 Fix for bug 481677 (Avoid hash lookups in XPCWrappedNative::GetNewOrUsed). r=bz, sr=jst.
--HG--
extra : rebase_source : 6062975766022118372d2e52f81659f87276b8ec
2009-03-18 19:02:48 +01:00
Ben Turner
0abaef9352 Bug 484319 - 'TM: Add logging mode for aborts only'. r=gal. 2009-03-19 20:39:18 -07:00
Jeff Walden
d7652099d9 Bug 484291 - INS_CONSTPTR should not cast to void*; callers should do their own casting if they want to interpret numbers as pointers. r=gal 2009-03-19 16:58:23 -07:00
Ben Turner
b9b06ef066 Fix further windows build bustage 2009-03-19 18:01:48 -07:00
Ben Turner
b554980985 Fix for windows build bustage 2009-03-19 17:19:19 -07:00
Ben Turner
38cd49ea51 Bug 480187 - 'Make qsgen.py generate traceable natives'. r+sr=jst. 2009-03-19 15:16:59 -07:00
Jeff Walden
2868deb3e6 Bug 483956 - gcc 4.4 warnings about "may be undefined" operations. r=gal 2009-03-19 15:05:48 -07:00
Robert Sayre
116429311e revert to changeset b59984b88601 2009-03-20 00:23:44 -04:00
Robert Sayre
f7b741972b Merge tracemonkey to mozilla-central. 2009-03-20 00:04:47 -04:00
Ben Turner
4596b84af7 Bug 484319 - 'TM: Add logging mode for aborts only'. r=gal. 2009-03-19 20:39:18 -07:00
Jeff Walden
23b0894344 Bug 484291 - INS_CONSTPTR should not cast to void*; callers should do their own casting if they want to interpret numbers as pointers. r=gal 2009-03-19 16:58:23 -07:00
Ben Turner
270aed708f Fix further windows build bustage 2009-03-19 18:01:48 -07:00
Ben Turner
364e0e0d6a Fix for windows build bustage 2009-03-19 17:19:19 -07:00
Ben Turner
3b7ccb55b7 Bug 480187 - 'Make qsgen.py generate traceable natives'. r+sr=jst. 2009-03-19 15:16:59 -07:00
Jeff Walden
9e48c3b9a6 Bug 483956 - gcc 4.4 warnings about "may be undefined" operations. r=gal 2009-03-19 15:05:48 -07:00
Ben Turner
c84205d797 Backed out changeset fbb48d6a27e3 2009-03-19 13:14:21 -07:00
Ben Turner
8a74533dad Bug 480187 - 'Make qsgen.py generate traceable natives'. r+sr=jst 2009-03-19 12:33:21 -07:00
Robert Sayre
d5acda3fc3 Merge tracemonkey to mozilla-central. 2009-03-19 14:49:04 -04:00
mrbkap@gmail.com
c46b004611 Bug 484151 - Initializing non-int elements calls the wrong imacro. Also call the right builtin when setting and initializing non-int properties (r=brendan). 2009-03-19 09:41:58 -07:00
Andreas Gal
47b45e60e7 Always check operation callback on backwards branches (484035, r=brendan). 2009-03-19 01:07:31 -07:00
Andreas Gal
3b47fbb12c Don't crash on non-primitive array indexes (484120, r=jwalden). 2009-03-18 18:50:15 -07:00
andrew@ishiboo.com
05975388f8 jslock.h conflicts with AIX system header priv.h (484010, r=mrbkap). 2009-03-18 18:08:35 -07:00
Andreas Gal
b20ebf6bfe NEWINIT creates objects with wrong prototype (484104, r=mrbkap). 2009-03-18 18:06:29 -07:00
Robert Sayre
a72a10f292 Merge tracemonkey to mozilla-central. 2009-03-18 02:56:46 -04:00
Andreas Gal
09195e59c7 Merge. 2009-03-17 21:51:19 -07:00
Andreas Gal
65c3cf58a6 Backed out changeset e71cb3993380 (bug 479110). 2009-03-17 21:50:57 -07:00
Jeff Walden
4a7b00dc77 Bug 469347 - TM: obj.length and slowArray.length don't trace. r=gal 2009-03-17 20:19:57 -07:00
Andreas Gal
771582b7b4 Extend tree when unboxing returns a different type (479110, r=jwalden). 2009-03-17 20:00:10 -07:00
dmandelin@mozilla.com
e93b7d4630 Copy entire regular expression into the code buffer (483920, r=gal). 2009-03-17 19:28:14 -07:00
Andreas Gal
1af13483ea Eliminate separate global frame and merge it with InterpState (482377, r=brendan). 2009-03-17 17:29:58 -07:00
David Mandelin
1b820884be Bug 483821: native regexps confused because of bug in hash key comparison, r=gal 2009-03-17 17:27:54 -07:00
Andreas Gal
2b615b1fd3 Compilation fix for MSVC (no bug). 2009-03-17 16:36:45 -07:00
Andreas Gal
b3e9ac412a Merge. 2009-03-17 15:55:35 -07:00
Andreas Gal
7da88f37bd Backed out changeset 186ae511d5f2 (static analysis annotation only, no bug). 2009-03-17 15:55:06 -07:00
Graydon Hoare
44c661ddb2 Bug 471373 - OOM in imacro trips assert, r=brendan. 2009-03-17 15:50:55 -07:00
Andreas Gal
43debacfae Remove unnecessary JS_REQUIRES_STACK from guardNotGlobalObject (rs=brendan). 2009-03-17 15:44:50 -07:00
Andreas Gal
facdb25f67 Merge. 2009-03-17 15:40:15 -07:00
Andreas Gal
210b2d31e2 Try harder to trace array access with non-int / non-string index (478525, r=brendan). 2009-03-17 15:39:42 -07:00
Jeff Walden
0d638ca87a Bug 483103 - TM: "Assertion failed: p->isQuad()" with str["-1"]; make str[-1] a non-special property rather than one that returns the length of str. r=brendan 2009-03-17 15:27:31 -07:00
Brendan Eich
fd84f47200 Followup nit-picks for 457065. 2009-03-17 12:52:16 -05:00
Andreas Gal
315a5d0bcb Read barrier for global object properties (463153, r=brendan). 2009-03-17 10:39:51 -07:00
Andreas Gal
6f8cc1ba9e Merge. 2009-03-17 10:27:06 -07:00
Andreas Gal
8fb6a7a444 Use lir->insImmf and emit ins_eq0 centrally in guard() (483365, r=brendan). 2009-03-17 10:26:37 -07:00
Brendan Eich
4117cd07fb Bug 457065. TM: Assertion failure: !fp->callee || fp->thisp == JSVAL_TO_OBJECT(fp->argv[-1]). r=mrbkap 2009-03-17 10:42:44 -04:00
Igor Bukanov
01b205d742 bug 369696 - improving object graph serialization. r=brendan 2009-03-17 09:51:38 +01:00
Robert Sayre
9ac4525064 Merge tracemonkey to mozilla-central. 2009-03-17 18:16:55 -04:00
Jim Blandy
debdb32ef3 Bug 480132: Clone lexical blocks only when needed. r=igor
Terminology:

A "script block" is an object of class Block allocated by the byte
compiler and associated with a script.  Script blocks are never
modified, and may be used as a prototype for a "closure block":

A "closure block" is an object of class Block that holds variables
that have been closed over (although we actually leave the variables
on the stack until we leave their dynamic scope).  A closure block is
a clone of a script block (its prototype is a script block).

Adjust the meanings of fp->blockChain and fp->scopeChain:

  fp->blockChain is always the innermost script block in whose static
  scope we're executing.

  fp->scopeChain is the current scope chain, including 'call' objects
  and closure blocks for those function calls and blocks in whose
  static scope we are currently executing, and 'with' objects for with
  statements; the chain is typically terminated by a global object.
  However, as an optimization, the young end of the chain omits block
  objects we have not yet needed to clone.

Closures need fully reified scope chains, so have js_GetScopeChain
reify any closure blocks missing from the young end of fp->scopeChain
by cloning script blocks as needed from fp->blockChain.  Thus, if we
never actually close over a particular block, we never place a closure
block for it on fp->scopeChain.

Have JSOP_ENTERBLOCK and JSOP_LEAVEBLOCK always keep fp->blockChain
current.  When JSOP_LEAVEBLOCK pops a block from fp->blockChain that
has been cloned on fp->scopeChain, pop fp->scopeChain as well.

Remove the JSFRAME_POP_BLOCKS flag, as it is no longer needed.

Ensure that the JIT won't have to create closure blocks or call
js_PutBlockObject; it can't handle those things yet.  Note our current
script block when we begin recording.  Abort recording if we leave
that block; we can't tell in advance whether it will need to be "put"
in future trace invocations.  Leave trace if we call js_GetScopeChain
while in the static scope of lexical blocks.  Remove JIT tests based
on JSFRAME_POP_BLOCKS.

Verify that generators capture the correct value for blockChain.

Add a constructor to JSAutoTempValueRooter for rooting JSObject
pointers.
2009-03-16 09:55:06 -07:00
Andreas Gal
c5b3eb193e Backed out changeset 10b781704400 (bug 457065). 2009-03-15 23:45:51 -07:00
Brendan Eich
719048c202 Fix bogus assertion (457065, r=gal). 2009-03-15 23:09:50 -07:00
Ted Mielczarek
c9f9c7bae8 bug 483800 - fix nsinstall.py to not error if a target dir already exists. r=pike 2009-03-17 12:09:50 -04:00
Robert Sayre
a6e93ac17a Merge tracemonkey to mozilla-central. 2009-03-16 18:44:07 -04:00
Robert Sayre
ca09c1a74b Merge mozilla-central to tracemonkey. 2009-03-15 12:23:57 -04:00
Doug Turner
ff0bc343ea Bug 478911. better geolocation mochitests. r=ctalbert/jmaher 2009-03-14 21:03:21 -07:00
Ben Turner
2a8109bd42 Bug 480185 - 'XPConnect shouldn't poke JS objects manually, should use JSAPI.' patch by Blake Kaplan <mrbkap@gmail.com> and myself. r+sr=jst. 2009-03-14 20:45:20 -07:00
Ben Turner
eed6c83bb8 Bug 482306 - "Several deadlocks related to nested requests and nsJSContext::CompileEventHandler". r+sr=mrbkap, a=blocking1.9.1+. 2009-03-14 20:42:50 -07:00
Wladimir Palant
1806ebc45a Bug 480765 - Scripts compiled before the debugger got activated cannot be debugged; r=timeless 2009-03-14 15:57:31 +01:00
Robert Sayre
9c46baf11f Merge tracemonkey to mozilla-central. 2009-03-13 20:07:22 -04:00
Jeff Walden
55ec4e74cd I hate config/*. 2009-03-13 14:45:45 -07:00
Igor Bukanov
8021720a68 backout merge 2009-03-13 18:37:27 +01:00
Igor Bukanov
4b95050fe2 Backed out changeset 57de81309176 - bug 437325 - due to mochitest leaks on tinderbox 2009-03-13 18:36:46 +01:00
Igor Bukanov
a9dd7cc7ab triggering tinderbox rebuild for bug 437325 to check if orange there persists 2009-03-13 16:06:23 +01:00
Igor Bukanov
3de011b9cd bug 437325 - JSThread is no longer shared between runtimes. r=brendan 2009-03-13 12:36:21 +01:00
Igor Bukanov
75640ecce1 Backed out changeset 4159ebdfe31e to fix some typos in the patch 2009-03-13 12:21:04 +01:00
Igor Bukanov
8eeedd9647 bug 437325 - JSThread is not shared between runtimes. r=brendan 2009-03-13 12:10:34 +01:00
Robert Sayre
d1d5f4493f Merge mozilla-central to tracemonkey. 2009-03-13 02:40:28 -04:00
Graydon Hoare
b65177a23f Bug 482263 - Avoid re-entering recorder while deep aborting, r=mrbkap. 2009-03-12 20:14:51 -07:00
Robert Sayre
ef566ce8da Merge tracemonkey to mozilla-central. 2009-03-12 21:56:18 -04:00
Graydon Hoare
2b47f671ac Backout changeset 5e0cc374593c for bug 482800. 2009-03-12 16:15:33 -07:00
Andreas Gal
d3533c3025 Don't emit overflow guards if the operation is constant (483030, r=danderson). 2009-03-12 16:51:34 -04:00
Andreas Gal
7118a3b6b6 Make sure we don't walk out of a thin loop even if the loop condition is constant (482800, r=danderson). 2009-03-12 16:49:29 -04:00
Igor Bukanov
16863b8913 triggering rebuild to check if bug 482038 really caused tinderbox failures 2009-03-12 15:04:00 +01:00
Ted Mielczarek
efd484eecc bug 482733 - nsinstall.py should support copying directories recursively. r=pike (fix the js/src copy as well) 2009-03-12 09:42:23 -04:00
Jason Orendorff
befcabe89e Bug 481444 - TM: objectHook is called on trace, via js_NewObject [@ LeaveTree] or [@ js_SynthesizeFrame]. r=gal.
Thanks Daniel!
2009-03-12 08:34:57 -05:00
Bob Clary
98c4c640f7 bug 452913 - JavaScript Test by Gary Kwong. 2009-03-14 15:27:08 -07:00
Bob Clary
152d76e179 bug 460504 - JavaScript Test by Jesse Ruderman. 2009-03-14 15:27:08 -07:00
Bob Clary
1e81ded1fe bug 466747 - JavaScript Test by Jesse Ruderman. 2009-03-14 15:27:08 -07:00
Bob Clary
d745dbd258 bug 476192 - JavaScript Test by Carsten Book, Jesse Ruderman. 2009-03-14 15:27:08 -07:00
Bob Clary
2494d76a7d bug 479740 - JavaScript Test by Gary Kwong. 2009-03-14 15:27:08 -07:00
Bob Clary
e21a72888c bug 480147 - JavaScript Test by Carsten Book, Jesse Ruderman. 2009-03-14 15:27:08 -07:00
Bob Clary
074e0979bd bug 481800 - JavaScript Test by Gary Kwong. 2009-03-14 15:27:07 -07:00
Bob Clary
b92e885cf8 bug 481989 - JavaScript Test by Gary Kwong. 2009-03-14 15:27:07 -07:00
Bob Clary
d6f16d4d2c bug 482263 - JavaScript Test by Gary Kwong. 2009-03-14 15:27:07 -07:00
Bob Clary
3f17b8b08a bug 482421 - JavaScript Test by Gary Kwong. 2009-03-14 15:27:07 -07:00
Bob Clary
f73e317351 Bug 482783, Bug 481793, Bug 476871, Bug 482349, Bug 482594 - merge js/src/trace-test.js, js/tests/js1_8_1/trace/trace-test.js. 2009-03-14 15:27:07 -07:00
Bob Clary
b80af17a33 bug 483438 - remove public failures from source control. 2009-03-14 15:27:07 -07:00
Bob Clary
af6906d71b bug 483434 - Sisyphus - JavaScript Tests - add support for narcissus. 2009-03-14 15:27:06 -07:00
Bob Clary
af1acbbe04 bug 483433 - comment bug number in spidermonkey-n-1.9.2.tests. 2009-03-14 15:27:05 -07:00
Igor Bukanov
20e6be9c80 bug 362910 - js_GetMethod cleanup. r=brendan 2009-03-14 17:41:47 +01:00
Jim Blandy
74847db9cd Back out 480132: orange on Linux (http://tinderbox.mozilla.org/showlog.cgi?log=TraceMonkey/1237017748.1237029269.2403.gz&fulltext=1) 2009-03-14 08:19:58 -07:00
Jim Blandy
bed3611385 Bug 480132: Clone lexical blocks only when needed. r=igor
Terminology:

A "script block" is an object of class Block allocated by the byte
compiler and associated with a script.  Script blocks are never
modified, and may be used as a prototype for a "closure block":

A "closure block" is an object of class Block that holds variables
that have been closed over (although we actually leave the variables
on the stack until we leave their dynamic scope).  A closure block is
a clone of a script block (its prototype is a script block).

Adjust the meanings of fp->blockChain and fp->scopeChain:

  fp->blockChain is always the innermost script block in whose static
  scope we're executing.

  fp->scopeChain is the current scope chain, including 'call' objects
  and closure blocks for those function calls and blocks in whose
  static scope we are currently executing, and 'with' objects for with
  statements; the chain is typically terminated by a global object.
  However, as an optimization, the young end of the chain omits block
  objects we have not yet needed to clone.

Closures need fully reified scope chains, so have js_GetScopeChain
reify any closure blocks missing from the young end of fp->scopeChain
by cloning script blocks as needed from fp->blockChain.  Thus, if we
never actually close over a particular block, we never place a closure
block for it on fp->scopeChain.

Have JSOP_ENTERBLOCK and JSOP_LEAVEBLOCK always keep fp->blockChain
current.  When JSOP_LEAVEBLOCK pops a block from fp->blockChain that
has been cloned on fp->scopeChain, pop fp->scopeChain as well.

Remove the JSFRAME_POP_BLOCKS flag, as it is no longer needed.

Ensure that the JIT won't have to create closure blocks or call
js_PutBlockObject; it can't handle those things yet.  Note our current
script block when we begin recording.  Abort recording if we leave
that block; we can't tell in advance whether it will need to be "put"
in future trace invocations.  Leave trace if we call js_GetScopeChain
while in the static scope of lexical blocks.  Remove JIT tests based
on JSFRAME_POP_BLOCKS.

Verify that generators capture the correct value for blockChain.

Add a constructor to JSAutoTempValueRooter for rooting JSObject
pointers.
2009-03-14 00:58:27 -07:00