Jeff Walden
2a8187e20b
Bug 548671 - Stop using shared-permanent properties "inherited" from the prototype to represent (function(){}).length and [].length. r=jorendorff
...
--HG--
extra : rebase_source : c5d48e4fe489f9e350798b49bed70f763e3abf37
2010-06-02 23:44:24 -07:00
Andreas Gal
70617110b8
Add an API for compartments (570040, r=jorendorff).
2010-06-04 16:32:10 -07:00
Taras Glek
7bfee6e728
Bug 570195 - Object.prototype.hasOwnProperty doesn't set the JSRESOLVE_DETECTING flag. r=jorendorff, test by jorendorff.
...
--HG--
extra : rebase_source : 20ef8f345efc18887c296059aff94e8d4e754cc9
2010-06-04 14:20:53 -07:00
Leon Sha
b892e48516
http://www.dancertheband.com/ does not work correct with flash player 10.1 beta for solaris sparc. r=edwsmith
...
--HG--
extra : convert_revision : ccfc1e56c6f7dcf68719329cf1615aa5bfc4e3a5
2010-06-02 13:13:24 +08:00
Peter Van der Beken
af2c89c538
Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3j - use fast unwrapping for nsIDOMElement_. r=jst.
...
--HG--
extra : rebase_source : f4cbf4af1213028818e48cd8c3c4200dab2b6c5e
2010-05-31 22:49:44 +02:00
Peter Van der Beken
8d54bc7760
Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3i - use fast unwrapping for nsIDOMDocument_, nsIDOMNSDocument_, nsIDOM3Document_. r=jst.
2010-05-31 22:46:56 +02:00
Peter Van der Beken
9d3d2c1e46
Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3i - use fast unwrapping for nsIDOMDocument_, nsIDOMNSDocument_, nsIDOM3Document_. r=jst.
2010-05-31 22:46:56 +02:00
Peter Van der Beken
1c10d19031
Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3h - use fast unwrapping for nsIDOMNSHTMLElement_. r=jst.
2010-05-31 22:40:42 +02:00
William Maddox
2166eb30ff
Support arithmetic with branch on overflow on MIPS -- bug 560926 (r=rreitmai+)
...
Adds support for MIPS target lacking in earlier patch.
Bug 560926 - Add support for arithmetic with branch on overflow
We simply extend the existing logic for exit-on-overflow in the
manner done for other targets. There appear to other issues
with oveflow detection in general that are not dealt with here.
--HG--
extra : convert_revision : 3a62ee8cc7d6caf63cbd594f71814c8e8f3d4f7a
2010-05-27 18:00:45 -07:00
William Maddox
4600797689
Fix missed renaming in NativeMIPS.cpp in patch for bug 560926 (r=rreitmai+)
...
Bug 560926 - Add support for arithmetic with branch on overflow
--HG--
extra : convert_revision : 8c6a61c935172f56eb7c660b476a5516cd3f04ab
2010-05-27 12:53:35 -07:00
Rick Reitmaier
cfc75a5c0d
Fix winmo macro madness breakage
...
Extra parenthesis needed in order to correctly resolve macros;
NativeARM.cpp(2040) : error C2105: '--' needs l-value
--HG--
extra : convert_revision : 6f625518afb60a49717b27ba482ace08309cff12
2010-05-27 11:29:47 -07:00
Rick Reitmaier
af0bc4b0af
Bug 568393 - msvc 2008 compiler generates bad code for CallInfo static initializer (r+wmaddox)
...
ugh
--HG--
extra : convert_revision : f7c07b8ca96fc2ef1179171f05e69b841ac2865f
2010-05-26 18:02:31 -07:00
William Maddox
5ccfce19cc
Bug 560639 - Reinstate CodeAlloc::size(const CodeList*) recently removed as "dead" (r=edwsmith+ nnethercote+)
...
--HG--
extra : convert_revision : aec5028a49e90c4be18de667a2807896e3b689ad
2010-05-26 17:29:16 -07:00
Rick Reitmaier
80f3c51d06
Bug 567900 - Enable JIT verbose output for release debugger builds (r+stejohns)
...
Somewhere along the line -Dverbose=jit was disabled for all non-debug builds.
This means that we can no longer see jit generated verbose output unless we
build a debug build, which is very inconvenient.
Also, the define NJ_VERBOSE_DISABLED was introduced without a corresponding
ifdef around the JIT verbose flags of the shell which leads one to erroneously
assume that methods are not being JIT'd (no output visible).
As the verbose mechanism in the JIT adds less than 2% to overall size (measured
on xcode built x86-32 shell) , recommend adding it back.
--HG--
extra : convert_revision : 367041a278adc74f7db6c9a13166f1700b133ec7
2010-05-26 11:08:55 -07:00
Edwin Smith
3b4ffa11f5
Bug 560926 - Add support for arithmetic with branch on overflow (r=nnethercote+ edwsmith+ wmaddox+)
...
Patch to add 'j' (branch) variants of the exit-on-overflow instructions,
plus a few dependents:
32-bit:
LIR_addjovi
LIR_subjovi
LIR_muljovi
64-bit:
LIR_subq
LIR_addjovq
LIR_subjovq
--HG--
extra : convert_revision : 68023362b0833433a0bc0c3b5af8994894488f33
2010-05-26 14:03:14 -04:00
Edwin Smith
d50c384574
Constant folding for LIR_i2q and ui2uq (bug 560106 r=gal+)
...
Helps x64 and ppc64.
--HG--
extra : convert_revision : e6ce59a07d5fd363fadc242a93a2677f6fc69989
2010-05-24 09:13:11 -04:00
Jacob Bramley
551c835b39
Remove stack-size limitations in asm_spill for ARM. [Bug 561977] [r=rreitmai]
...
--HG--
extra : convert_revision : 09f682eb3100993e4f15758f209601c033d5ca3c
2010-05-24 11:30:06 +01:00
Jeff Walden
2b36f0a5ed
Split up DST tests a bit more. r=time
2010-06-03 15:48:26 -07:00
Andreas Gal
7c92be3535
Rename JSNoopProxyHandler to JSWrapper and move it into jswrapper.[h|cpp] (568731, r=cdleary).
2010-06-03 15:27:29 -07:00
David Mandelin
ca064d6c6b
Bug 569767: add separate trace-type 'magic' for JSVAL_HOLE, r=dvander
2010-06-03 10:38:44 -07:00
Brendan Eich
cbe7c0ca5a
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
3ceb4d071b
Bug 569471 - Rename js_GetWrappedObject to JSObject::wrappedObject. r=jorendorff
2010-06-01 15:59:02 -07:00
Jason Orendorff
26599ba47e
Bug 569771 - Factor out calling resolve hooks from js_LookupPropertyWithFlags. r=gal.
2010-06-02 23:11:31 -07:00
Jason Orendorff
a1e58bc1c7
Back out changeset 96dbe8a784f1 (bug 569735) due to failing tests.
2010-06-02 23:48:22 -07:00
Andreas Gal
c7677875dc
Rip out proto cache and store prototypes in the global object (569537, r=jorendorff).
2010-06-02 20:30:45 -07:00
Andreas Gal
a17cfb3b61
Suppress deleted properties during iteration (569735, r=brendan).
2010-06-02 20:11:56 -07:00
Jason Orendorff
8da1998760
Bug 567152 - Assertion failure: !generic(). r=brendan.
...
--HG--
extra : rebase_source : 8a09f3c6b9570d764ebc404a2ff870625e156801
2010-06-02 16:45:23 -07:00
Jeff Walden
f689b9994b
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
ac912dfcf4
Test for bug 568056.
2010-06-02 16:39:49 -07:00
Brendan Eich
6012f91709
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
635c071944
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
d364454f75
Back out changeset ca772ab995c9 (bug 559813, trace script setters).
...
--HG--
extra : rebase_source : 09944589c3f8c5acbd79ddc29878b25efcb87e14
2010-06-02 15:58:17 -07:00
Jason Orendorff
b0d9c052bf
Back out changeset ade35d045bc8 (the tests were fixed earlier today).
2010-06-02 15:49:19 -07:00
Jason Orendorff
3fd95b6b36
Back out changeset ade35d045bc8 (the tests were fixed earlier today).
2010-06-02 15:46:12 -07:00
Andreas Gal
84c5602584
Add test for bug 569306.
2010-06-02 14:54:18 -07:00
Andreas Gal
5d9a7d91af
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
6c7bbffed4
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
0898d769c7
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
e5eade11c9
Bug 563938 - Cache DST offsets to improve SunSpider score. r=sayrer
2010-05-26 17:49:04 -07:00
Jeff Walden
9dad862cef
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
6ae9532281
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
6869b77cae
Bug 559813 - Trace script setters. r=brendan.
2010-06-02 12:05:53 -07:00
Jason Orendorff
882ce0d27b
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
b78259f52e
Fix warning about printf format types.
...
--HG--
extra : rebase_source : 06b0e1f60ba86f36da99eb06513f83eba436b8f3
2010-06-02 10:22:03 -07:00
Luke Wagner
db6f35351f
Bug 567530 - silence strict-aliasing warnings on threadsafe opt builds (r=igor)
2010-06-02 10:03:36 -07:00
Brendan Eich
85dcf30556
Followup fix and cleanup for 523452.
2010-06-02 07:18:25 -07:00
Andreas Gal
966cb32879
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
d0251b679e
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
2de0da668b
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
985627641f
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
36455669c8
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
7a82abbc1b
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
b776dfabce
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
c0a1052f82
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
36e472fba8
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
f1e28c8e25
Fix test expectations for new error messages, r=orange
2010-06-01 21:31:18 -07:00
Jason Orendorff
e7ae1fdb12
Merge.
2010-06-01 21:21:36 -07:00
Jason Orendorff
bf6f2c259c
Bug 559653 - Record assignment before the interpreter goes; avoid record_SetPropHit. r=brendan.
2010-06-01 21:18:49 -07:00
Brendan Eich
dd3fb0ab0f
Trace JSOP_DEL{PROP,ELEM} (523452, r=gal).
2010-06-01 19:42:37 -07:00
Brendan Eich
3f7c00b2c9
Can't rely on UINT16_MAX cross-platform (followup for 569391, bustage fix).
2010-06-01 17:21:01 -07:00
Andreas Gal
0119ec2a9a
Properly handle errors during lookup when recording JSOP_IN (569384, r=luke).
2010-06-01 15:45:16 -07:00
Brendan Eich
9c5f58d3ca
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
ea28a37159
Bug 568068 - fix jscntxt/jsnativestack build breaks on OS/2 (r=wuno)
2010-06-01 14:48:58 -07:00
David Mandelin
4057e31aea
Bug 568991: allow shell jstests to run from 'src' directories, r=vlad
2010-05-28 16:51:06 -07:00
Andreas Gal
9ddcbe92a3
Don't use tinyids in jsregexp.cpp (569115, r=jorendorff, brendan).
2010-05-30 18:31:04 -07:00
Andreas Gal
f5c054ecec
Nit patrol shot me down. Follow-up nits for bug 569114.
2010-05-30 17:27:56 -07:00
Andreas Gal
c84cee0514
Don't use tinyids in jsxml.cpp (569114, r=jorendorff).
2010-05-30 17:02:09 -07:00
Marco Perez
8b429d23a7
bug 569145 - fixing FreeBSD regression from the bug 237006. r=igor
2010-05-30 22:50:11 +02:00
Brendan Eich
66e2a9929e
Nit patrol flies at dawn, spots minor spacing infractions.
2010-05-30 11:40:14 -07:00
Jason Orendorff
ef28c57f9e
Fix js shell test runner to cope with assert-if. No bug, r=cdleary.
...
--HG--
extra : rebase_source : fc5685b3195dd9f4d34df5b38d61d70112f3ec17
2010-05-30 00:57:13 -07:00
Andreas Gal
336333df60
Follow-up for bug 568966. js_Call is never called with JSFRAME_CONSTRUCT.
2010-05-29 19:43:24 -07:00
Andreas Gal
3026562007
Improve error reporting for proxy handlers and __iterator__ (568966, r=brendan).
2010-05-29 19:04:01 -07:00
Andreas Gal
567a99fb7e
Must resolve standard classes even when assigning (568826, r=jorendorff).
2010-05-29 18:59:50 -07:00
Igor Bukanov
368d84dcd5
bug 568285 - jstests.py: option to write list of failures to a file. r=dmandelin
2010-05-29 23:15:53 +02:00
Jacek Caban
1195ed3cc1
Fix NativeCompareAndSwap bustage on mingw (bug 568464, r=dvander).
2010-05-29 12:33:19 -07:00
Andreas Gal
f29c1a11df
Properly propagate deep aborts from within js_FindIdentifierBase (568855, r=dvander).
2010-05-29 00:24:26 -07:00
Andreas Gal
8aefb376a8
The iterate() trap of proxy handlers must return an object (568867, r=brendan).
2010-05-28 15:02:33 -07:00
Igor Bukanov
8a9dacca13
Backed out changeset 1070cd7a9da0
2010-05-28 14:19:20 +02:00
Igor Bukanov
28c45dfff3
bug 516832 - temporaral landing to get tinderbox stats
2010-05-28 14:09:25 +02:00
Igor Bukanov
95e3f4ccd7
bug 568303 r=brendan
2010-05-28 10:03:06 +02:00
Igor Bukanov
e31161b87b
bug 568485 - fixing my bad typos in other patches. r=brendan
2010-05-28 10:00:07 +02:00
Andreas Gal
8c3e167f37
Update our local copy of the V8 benchmarks to the latest test harness.
2010-05-27 17:15:56 -07:00
Jason Orendorff
4426bcc441
Bug 533592, part 2 - Get rid of BYPASS code in XPCNativeWrappers. r=mrbkap.
...
--HG--
extra : rebase_source : 69e23e74b696b58f2f0a8c89b1d120e2cbb35084
2010-05-27 12:34:28 -07:00
Jason Orendorff
d7cbea1f4d
Bug 533592, part 1 - Remove uses of and support for xpcnativewrappers=no/yes in manifests. (The default has been yes for some time and we will now only have that behavior.) r=mrbkap.
...
--HG--
extra : rebase_source : 996d2abecb15f44293abd470a28a3fe2706e130e
2010-05-27 12:33:54 -07:00
Jason Orendorff
020bbaf05d
Bug 568379, part 2 - Remove support for "shallow" XPCNativeWrappers, thus eliminate FLAG_DEEP. r=mrbkap.
...
--HG--
extra : rebase_source : 324fea0a26640cdd2d2ac169d901f4619cb2b4c0
2010-05-27 12:32:26 -07:00
Jason Orendorff
b429d9ab76
Bug 568379, part 1 - Remove hasStringArgs weirdness from XPCNativeWrapper constructor. r=mrbkap.
...
--HG--
extra : rebase_source : 9db4cc0f4d436d015645d074d64137a1d88e5c66
2010-05-27 12:30:37 -07:00
Jason Orendorff
9cddfe0be7
Avoid warning in jsapi-tests/tests.h due to printf type mismatch. No bug, rs=Waldo.
...
--HG--
extra : rebase_source : 22429e5178fa794fc06da843ba8046a2678ca114
2010-05-27 11:18:06 -07:00
Brendan Eich
f3b00954e9
Followup for 568148 to cure orange from e4x/decompilation/regress-463360.js.
2010-05-27 14:33:57 -07:00
Jeff Walden
f21160d5f0
Fix bustage, add prmjtime.h to the list of headers...
2010-05-27 13:15:51 -07:00
Andreas Gal
8df6c7db72
Fix for bug 568413: I accidentally removed a required () pair when fixing formating nits.
2010-05-27 12:49:14 -07:00
Jeff Walden
16068a18f0
Bug 563938 - Refactor units-of-time used in computing DST offsets. r=sayrer
...
--HG--
extra : rebase_source : 38ffc11fbd00aaca53fb399e6ff2c1cec4cc5f3b
2010-05-26 17:00:28 -07:00
Jeff Walden
e98ca56524
Bug 563938 - Refactor DST offset computation to pave the way for caching the DST offset when possible. No functionality change. r=sayrer
...
--HG--
extra : rebase_source : ad70045b70cc23dd7578e594490a10b4fc6fc7ef
2010-05-26 17:00:28 -07:00
Andreas Gal
22db0647cc
Implement iterate trap for proxy handlers (568413, r=brendan).
2010-05-27 12:03:25 -07:00
Andreas Gal
e85c97aafb
Stringify property names when invoking scripted proxy handlers (568051, r=mrbkap).
2010-05-27 12:01:55 -07:00
Igor Bukanov
f362c01610
bug 561657 - Replacing js_CountThreadRequests with an explicit counter. r=jorendorff
2010-05-27 16:57:55 +02:00
Igor Bukanov
735d63b45a
Backed out changeset c78751701c46 - wrong commit
2010-05-27 16:56:34 +02:00
Igor Bukanov
b4468fa229
bug 561657 - Replacing js_CountThreadRequests with an explicit counter. r=jorendorff
2010-05-27 16:51:44 +02:00
Igor Bukanov
823bff32f4
Backed out changeset 7ebdbaba843a - that was temporary commit
2010-05-26 14:04:15 +02:00
Igor Bukanov
ef5bf20abd
bug 516832 - temporary landing to collect tinderbox logs
2010-05-26 13:40:49 +02:00
Igor Bukanov
69c8687fd7
bug 568073 r=brendan
2010-05-26 12:56:57 +02:00