Commit Graph

9348 Commits

Author SHA1 Message Date
Jason Orendorff
4119c39520 Bug 568886 - Instead of severing the stack in SJOW, function.caller should refuse to return an object from a different compartment. r=gal, r=mrbkap.
--HG--
extra : rebase_source : 83ee4482377769b8f59c72171acc62edc481fe7a
2010-06-30 18:09:38 -05:00
Robert Sayre
78608039a3 Fix bustage from jetpack including jstl on Windows. 2010-06-30 16:07:53 -07:00
Robert Sayre
b0ccdf3af2 Move includes in JetpackActorCommon.cpp only. 2010-06-30 14:28:08 -07:00
Robert Sayre
efd4bd36c6 Merge backout. 2010-06-30 13:50:52 -07:00
Robert Sayre
67c4011c63 Backed out changeset 562f69adb6b8 2010-06-30 13:50:26 -07:00
Robert Sayre
aed1689a0b Squash warning, rebuild with Windows clobbered. 2010-06-30 13:45:02 -07:00
Robert Sayre
77addc3777 try to fix moz_free macro substitution bustage on Windows by reordering includes 2010-06-30 13:26:15 -07:00
Robert Sayre
27b5a3b6fb Merge mozilla-central to tracemonkey.
--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-30 11:54:20 -07:00
Chris Leary
0094115549 Update |dis| docs in the shell. (r=me) 2010-06-30 00:18:38 -07:00
Neil Rashbrook
84258324f3 Bug 572996 Compiler dependencies don't work for debug-only includes r=ted 2010-06-30 12:44:18 +01:00
Blake Kaplan
50cdb5d92b Bug 574990 - cx->globalObject needs to be innerized before it can be used. r=gal
--HG--
extra : rebase_source : 6e31e65d2e265da850b871b78ec9af984350b08c
2010-06-28 16:38:54 -07:00
Rico
b3c8c97bf8 Bug 575575 - Variable name typo in js1_5/Array/regress-465980-02.js. r=jwalden 2010-06-29 09:00:10 -07:00
Jeff Walden
0ee447d3dd Bug 574992 - Make Date.prototype.toGMTString a normal, non-enumerable, non-alias property; also fixes a failure (with Object.getOwnPropertyNames support) in the MS ES5 tests. r=brendan 2010-06-26 14:08:58 -07:00
Wes Garland
18d86f784e Bug 574398 - New macro for JS_EnterLocalRootScope is not C 2010-06-28 17:14:31 -04:00
David Anderson
b4060da2c5 Bug 567577 - new Math.sin is NaN, not an object, in interpreter only. r=Waldo. 2010-06-28 14:49:12 -05:00
Jeff Walden
ac3f40a0c9 Bug 574867 - Make message, fileName, lineNumber own properties of <NativeError>.prototype, rather making them properties only of Error.prototype. r=luke
--HG--
extra : rebase_source : b01196842d33b177061701ceda47ec2a9319601a
2010-06-26 14:08:58 -07:00
Chris Leary
908f8ec587 Back out f8c6a272f2dc. It was working on Try a few minutes ago, I swear! (r=red) 2010-06-26 18:09:07 -07:00
Chris Leary
52608d352b Bug 559408: Turn arena pool macros into methods. (r=gal) 2010-06-26 17:55:00 -07:00
Jason Orendorff
605e647be1 Weaken compartment assertions to be non-fatal. This will allow us to compartmentalize Gecko without keeping the assertions continually happy (which would be impractical). no bug#, r=gal. 2010-06-26 17:42:22 -05:00
Ginn Chen
04688ebf28 Bug 568788 Implement GetNativeStackBaseImpl() on Solaris r=igor 2010-06-27 01:25:00 +08:00
Andreas Gal
38fdbd4e85 Implement new chrome wrappers (574539, r=mrbkap). 2010-06-25 17:58:09 -05:00
Andreas Gal
7c91c2898c Fix warnings (no bug, r=mrbkap). 2010-06-25 17:57:53 -05:00
Jason Orendorff
9ee0592d4e Fix horrible bug in EvalInContext when the result is an object. rs=mrbkap. 2010-06-25 15:49:17 -05:00
Jason Orendorff
0f2e011c39 Fix significant difference between the new caching code in bug 570622 and CallThisObjectHook. r=orange. 2010-06-25 15:06:49 -05:00
Jason Orendorff
88abf40622 Bug 570622 - TM: eagerly call thisObject hook and cache result in global objects. r=mrbkap. 2010-06-25 13:48:35 -05:00
Andreas Gal
b74167790a Resort to default compartment when global object is set to NULL (r=crash on startup). 2010-06-24 20:13:22 -05:00
Andreas Gal
b35f3418d2 Implement new content wrappers (574502, r=mrbkap). 2010-06-24 19:09:46 -05:00
Jason Orendorff
5eed79e767 Bug 574320 - Tweaks to compartments API. r=gal. 2010-06-24 16:44:18 -05:00
Andreas Gal
1efe5e2ec6 Implement runtime-wide wrap hook (574299, r=mrbkap). 2010-06-24 16:45:32 -05:00
Robert Sayre
1d56325898 Merge mozilla-central to tracemonkey. 2010-06-24 13:47:08 -07:00
Saint Wesonga
15c5e882f9 Bug 512447 - JSON.stringify does not correct handle replacer functions. r=sayrer 2010-06-24 13:32:07 -07:00
Andreas Gal
47613b6fab Function.prototype.toString shouldn't crash on function proxies (574294, r=brendan). 2010-06-24 13:25:09 -05:00
Brendan Eich
fc2a83c5ee Assertion failure: scope->canProvideEmptyScope(&js_ObjectOps, clasp) (574280, r=gal). 2010-06-24 10:10:04 -07:00
Igor Bukanov
60e3fb5cff bug 572678 - valgrind integration with conservative GC. r=nnethercote 2010-06-21 14:22:32 +02:00
Igor Bukanov
3ca4aa4529 bug 572428 - followup to fix a bad typo. 2010-06-24 10:55:18 +02:00
Igor Bukanov
6f0b0ed4fa bug 573709 - do not use history for conservative GC. r=gal 2010-06-24 10:30:56 +02:00
Eric Hennigan
a8d4b520e3 Bug 573646: add memory limit for Unix test harness in order to handle OOM crashes more gracefully 2010-06-23 19:05:33 -07:00
Robert Sayre
0a9fd0ff39 Merge mozilla-central to tracemonkey. 2010-06-23 17:04:20 -07:00
Jeff Walden
a255bae3b1 Add cycle-detection assertions to prototype/parent-setting methods, tighten some nearby code stylistically. (let r () (r)) 2010-06-23 16:57:52 -07:00
Jason Orendorff
b891ed049a Fix really dumb C++ error in shell/js.cpp. no bug, r=red.
--HG--
extra : rebase_source : 0e22db3a690a24820c8d02087cb12fde16e6db76
2010-06-23 17:45:36 -05:00
Blake Kaplan
8ad3135e90 Fix bug 572130. r=jst 2010-06-23 17:09:00 -05:00
Blake Kaplan
78d9a8bac6 Bug 572233 - Don't accidentally wrap an object on the prototype chain. r=jst
--HG--
extra : rebase_source : ff4c32ed65dde104f2630d9d435888b12298a29f
2010-06-23 16:56:28 -05:00
Ben Turner
a283994c5f Bug 553413 - 'Implement Asynchronous parts of the Indexed Database API.' p=sdwilsh+bent, r=jst. 2010-06-23 12:46:08 -07:00
Blake Kaplan
68ab0034ba Bug 569022 - XPCNativeWrapper is a proper MakeSOW candidate. r=jst
--HG--
extra : rebase_source : a4de66029f47e1f400eed3822132fd45ff98558a
2010-06-10 15:49:22 -07:00
Jason Orendorff
c1a1fb9be1 Bug 563099 - Compartments and wrappers API. r=gal.
--HG--
extra : rebase_source : cb34d0d0fc689fc6401d67e7f719344cd8e27655
2010-06-23 16:35:10 -05:00
Brendan Eich
e672f52623 Eliminate JSClass::reserveSlots and streamline new-object paths (535416, r=gal). 2010-06-18 17:43:02 -07:00
Jason Orendorff
c7000f4f86 Bug 574013 - Change JSObjectOps::call to compute this even later in certain cases. (This will also facilitate implementint ES5 primitive this.) r=gal.
--HG--
extra : rebase_source : 2f588a571cc7970ae2119338e4abfc34bdd6fdc8
2010-06-23 12:08:34 -05:00
Gregor Wagner
80ca0e83eb Bug 519949 - TM: remove LocalRootScopes r=igor 2010-06-23 11:37:35 -05:00
Nicholas Nethercote
1acb98c5ab Bug 551885 - TM: avoid stupid stack loads/stores at the end of fragments. r=dvander. 2010-06-22 20:09:11 -07:00
Brendan Eich
bacdc9d75e Assertion failure: slot < (uint32)dslots[-1] (571744, r=dvander). 2010-06-22 14:31:17 -07:00