18710 Commits

Author SHA1 Message Date
Andreas Gal
48ee43fde4 Rename JSNoopProxyHandler to JSWrapper and move it into jswrapper.[h|cpp] (568731, r=cdleary). 2010-06-03 15:27:29 -07:00
David Mandelin
175ff103aa Bug 569767: add separate trace-type 'magic' for JSVAL_HOLE, r=dvander 2010-06-03 10:38:44 -07:00
Brendan Eich
d5e7d067e2 Fix failure to handle deep bail, and stop recording properly, in wake of bug 523452 (569843&569849, r=jorendorff). 2010-06-03 11:08:58 -07:00
Jeff Walden
aa9aa411ea Bug 569471 - Rename js_GetWrappedObject to JSObject::wrappedObject. r=jorendorff 2010-06-01 15:59:02 -07:00
Jason Orendorff
d7d1646903 Bug 569771 - Factor out calling resolve hooks from js_LookupPropertyWithFlags. r=gal. 2010-06-02 23:11:31 -07:00
Jason Orendorff
37f324c09c Back out changeset 96dbe8a784f1 (bug 569735) due to failing tests. 2010-06-02 23:48:22 -07:00
Andreas Gal
98a785e069 Rip out proto cache and store prototypes in the global object (569537, r=jorendorff). 2010-06-02 20:30:45 -07:00
Andreas Gal
ae899f25c0 Suppress deleted properties during iteration (569735, r=brendan). 2010-06-02 20:11:56 -07:00
Jason Orendorff
7182d1f3dd Bug 567152 - Assertion failure: !generic(). r=brendan.
--HG--
extra : rebase_source : 8a09f3c6b9570d764ebc404a2ff870625e156801
2010-06-02 16:45:23 -07:00
Jeff Walden
6b0f8e657a Bump jstests.py timeout limit to 150s; reftest harness times out at 300s now, so this both substantially raises the ceiling and doesn't raise it so far that a fast-in-shell-but-slow-in-browser test might time out only in browser, or at least that's the hope. r=flakiness 2010-06-02 17:04:37 -07:00
Brendan Eich
8e61d91a7b Test for bug 568056. 2010-06-02 16:39:49 -07:00
Brendan Eich
69cb324d4d Iterator(obj) returns a property key/value iterator that skips the proto chain (568056, r=gal). 2010-06-02 16:21:58 -07:00
Jason Orendorff
a2432d0b52 Back out changeset a72a9d72c028 (bug 559653, remove SetPropHit). Checking to see if this caused a 5% Dromaeo regression today.
--HG--
extra : rebase_source : 5b1726c8bc4f9504cb1d452d0d21d59d61091ee0
2010-06-02 16:01:36 -07:00
Jason Orendorff
b3b95c0014 Back out changeset ca772ab995c9 (bug 559813, trace script setters).
--HG--
extra : rebase_source : 09944589c3f8c5acbd79ddc29878b25efcb87e14
2010-06-02 15:58:17 -07:00
Jason Orendorff
99b9cc1514 Back out changeset ade35d045bc8 (the tests were fixed earlier today). 2010-06-02 15:49:19 -07:00
Jason Orendorff
69c88d491b Back out changeset ade35d045bc8 (the tests were fixed earlier today). 2010-06-02 15:46:12 -07:00
Andreas Gal
49e3dca9b0 Add test for bug 569306. 2010-06-02 14:54:18 -07:00
Andreas Gal
e6a3c1073c Disable invalid tests that rely on resolve hooks reviving deleted standard classes/names (no bug, r=orange). 2010-06-02 14:38:04 -07:00
Luke Wagner
3e5a182707 Bug 569707 - avoid double-reporting OOM in jsiter (r=gal)
--HG--
extra : rebase_source : 6f486dad54e8b577a4baf3711dd785a394596bb6
2010-06-02 14:17:52 -07:00
Jason Orendorff
ffbcf25e14 Update jstests.list to get rid of some more orange: remove the "fails-if" tag from a test that no longer fails. My best guess is that the seemingly trivial simplification in bug 569114 fixed an actual browser-only correctness bug. Amazing. shame=andreas, rs=Waldo, no bug#. 2010-06-02 13:58:58 -07:00
Jeff Walden
881848ccc4 Bug 563938 - Cache DST offsets to improve SunSpider score. r=sayrer 2010-05-26 17:49:04 -07:00
Jeff Walden
5e6dcaf347 Bug 569666 - Define global.ctypes as non-enumerable, so it doesn't break uneval(this). r=jorendorff 2010-06-02 11:53:41 -07:00
Jason Orendorff
ae66caac45 Fix silly tests that were failing because we fixed bug 569306. shame=andreas, rs=Waldo, no bug#. 2010-06-02 12:57:26 -07:00
Jason Orendorff
464c5a51fe Bug 559813 - Trace script setters. r=brendan. 2010-06-02 12:05:53 -07:00
Jason Orendorff
fb50dee2f3 Fix regression of js1_5/GC/regress-341877-01.js noted in bug 523452 comment 11. rs=dmandelin. 2010-06-02 11:56:53 -07:00
Jason Orendorff
3fd4c92a82 Fix warning about printf format types.
--HG--
extra : rebase_source : 06b0e1f60ba86f36da99eb06513f83eba436b8f3
2010-06-02 10:22:03 -07:00
Luke Wagner
44cea573ae Bug 567530 - silence strict-aliasing warnings on threadsafe opt builds (r=igor) 2010-06-02 10:03:36 -07:00
Brendan Eich
7873a7927a Followup fix and cleanup for 523452. 2010-06-02 07:18:25 -07:00
Andreas Gal
256065fb13 Don't re-run resolve hooks after a standard class was delete (569306, r=mrbkap). 2010-06-02 01:18:50 -07:00
Jason Orendorff
ee1ad23d2e Bug 568070 - jsapi.cpp refactoring. Part 7, Compile, Execute, and Evaluate functions, etc. r=Waldo.
--HG--
extra : rebase_source : af19ff0811379622bd15c0abf4ec41c12a6c6543
2010-06-02 00:32:47 -07:00
Jason Orendorff
acd69fbc43 Bug 568070 - jsapi.cpp refactoring. Part 6, Get Set and Delete functions. r=Waldo.
--HG--
extra : rebase_source : 472d8e670ca30e05e9ee4ae5adead13b19b0ccf8
2010-06-02 00:32:09 -07:00
Jason Orendorff
8aea4a1d51 Bug 568070 - jsapi.cpp refactoring. Part 5, AttrsGetterAndSetter functions. r=Waldo.
--HG--
extra : rebase_source : a473a81fab118ba6a331a0609642f2490a37d3a0
2010-06-02 00:31:29 -07:00
Jason Orendorff
ff327fb0ea Bug 568070 - jsapi.cpp refactoring. Part 4, eliminate redundancy in Define functions. r=Waldo.
--HG--
extra : rebase_source : 2fdce2843e83f73892a19387ae2e8c7280f63e1b
2010-06-02 00:30:36 -07:00
Jason Orendorff
6f8b41590c Bug 568070 - jsapi.cpp refactoring. Part 3, eliminate redundancy in Lookup, Has, and AlreadyHas functions. r=Waldo.
--HG--
extra : rebase_source : 7ac0bcdd4cbfc43398afed590588945d9968936f
2010-06-02 00:29:27 -07:00
Jason Orendorff
cab6466c09 Bug 568070 - jsapi.cpp refactoring. Part Q, CHECK_REQUEST in js_Atomize and js_AtomizeChars, as requested in reviews.
--HG--
extra : rebase_source : 33f35f7723315a96ccf15d72d23df00e5dd9a238
2010-06-02 00:23:43 -07:00
Jason Orendorff
f86217ef52 Bug 568070 - jsapi.cpp refactoring. Part 2, whitespace changes. r=Waldo.
--HG--
extra : rebase_source : 8d3c5411ea4bb54c10c5fb00da08474390f1a7eb
2010-06-01 21:50:54 -07:00
Jason Orendorff
099ab1b0c5 Bug 568070 - jsapi.cpp refactoring. Part 1, rearrange functions. No behavior change. r=Waldo.
--HG--
extra : rebase_source : 88efb983301501cbb648611e4f8d6c87ebffa2a3
2010-06-01 21:39:48 -07:00
Jeff Walden
28d7207407 Fix test expectations for new error messages, r=orange 2010-06-01 21:31:18 -07:00
Jason Orendorff
dece61dd6f Merge. 2010-06-01 21:21:36 -07:00
Jason Orendorff
e95bdf7a84 Bug 559653 - Record assignment before the interpreter goes; avoid record_SetPropHit. r=brendan. 2010-06-01 21:18:49 -07:00
Brendan Eich
b409820d54 Trace JSOP_DEL{PROP,ELEM} (523452, r=gal). 2010-06-01 19:42:37 -07:00
Brendan Eich
71097d4e5b Can't rely on UINT16_MAX cross-platform (followup for 569391, bustage fix). 2010-06-01 17:21:01 -07:00
Andreas Gal
5e1efde628 Properly handle errors during lookup when recording JSOP_IN (569384, r=luke). 2010-06-01 15:45:16 -07:00
Brendan Eich
fc8011dc86 Call instances uniquely shaped at birth due to lack of runtime-shared empty scope (569391, r=jorendorff). 2010-06-01 15:01:11 -07:00
Rich Walsh
63e1dcbe10 Bug 568068 - fix jscntxt/jsnativestack build breaks on OS/2 (r=wuno) 2010-06-01 14:48:58 -07:00
David Mandelin
de5b7c39b2 Bug 568991: allow shell jstests to run from 'src' directories, r=vlad 2010-05-28 16:51:06 -07:00
Andreas Gal
648e88c3a2 Don't use tinyids in jsregexp.cpp (569115, r=jorendorff, brendan). 2010-05-30 18:31:04 -07:00
Andreas Gal
20bf6bff8f Nit patrol shot me down. Follow-up nits for bug 569114. 2010-05-30 17:27:56 -07:00
Andreas Gal
eafd5546f6 Don't use tinyids in jsxml.cpp (569114, r=jorendorff). 2010-05-30 17:02:09 -07:00
Marco Perez
842e4eae72 bug 569145 - fixing FreeBSD regression from the bug 237006. r=igor 2010-05-30 22:50:11 +02:00