Commit Graph

877 Commits

Author SHA1 Message Date
Siddharth Agarwal
1d4cdaa8e3 Part of bug 503756 -- Rename the js/ mozilla-config.h to js-confdefs.h. r=bsmedberg, jimb
--HG--
extra : rebase_source : 8b0956fef406cde43c329c76bf63594a882216e4
2009-07-30 00:05:05 +05:30
David Zbarsky
aca9dc4bae Bug 392526. Some callers of nsID::ToString use a mismatched allocator to free the string. r=bsmedberg 2009-07-29 13:54:44 -04:00
Blake Kaplan
ece0649965 Bug 480205 - Implement a wrapper for exposing chrome objects to content (aka COWs). r+sr=jst sr=bzbarsky on some parts. 2009-05-21 01:17:51 -07:00
Blake Kaplan
a81a467be4 Bug 503926 - Don't call QueryInterface on content JS objects. r=bzbarsky sr=jst 2009-07-23 14:41:16 -07:00
Blake Kaplan
00cd76535d Finish merging. 2009-08-10 19:32:28 -07:00
Blake Kaplan
eab38938f1 Backed out changeset 577258550954. Fixing mochitest-chrome bustage. 2009-08-10 19:32:15 -07:00
Blake Kaplan
9af6523aeb Bug 509583 - Deal with empty arrays the same way we deal with regular arrays. r+sr=jst 2009-08-10 18:08:13 -07:00
Blake Kaplan
7b08162c95 Bug 506838 - Deal with GetCxSubjectPrincipalAndFrame returning a non-scripted frame. r+sr=jst 2009-08-10 18:07:47 -07:00
Blake Kaplan
9515b85185 Fix bug 508752. r+sr=jst 2009-08-10 18:07:00 -07:00
Blake Kaplan
41dc1bdf6b Bug 508982 - Don't try to double-rewrap properties. It's a very expensive no-op. r+sr=jst 2009-08-10 16:01:42 -07:00
Blake Kaplan
674602e2c9 Bug 505217 - Don't wrap slim wrappers in SOWs. r+sr=peterv 2009-08-10 16:01:42 -07:00
Jacek Caban
f7ded6371a Bug 505729 - nsXPConnect.cpp fails to build on MinGW. r=bz 2009-08-09 16:45:00 +02:00
Blake Kaplan
492422a92a Merge backout of orange-causing changeset. 2009-08-06 23:52:14 -07:00
Blake Kaplan
ab354b731d Backed out changeset 5ea7f2882982. It's causing mochitest orange. 2009-08-06 23:52:01 -07:00
Blake Kaplan
3f98edd6fe Bug 502959 - Restore code to make caps allow wrapping same-origin wrappedjs objects. r=jst sr=bzbarsky 2009-08-06 20:26:33 -07:00
Blake Kaplan
f4d931d00a Bug 504877 - Check for UniversalXPConnect access further down on the stack chain. r=jst sr=bzbarsky 2009-08-06 20:25:13 -07:00
Blake Kaplan
5f7e2721c6 Fix bug 505988. r=bzbarsky sr=jst 2009-08-04 15:04:53 -07:00
Blake Kaplan
6c0c17f88a Bug 508483 - Don't try to create XPCNativeWrappers around a double-wrapped object. r+sr=jst 2009-08-04 20:52:10 -07:00
Blake Kaplan
87be09d504 Bug 507047. Remove unnecessary toString override from COWs. r=jst
--HG--
extra : rebase_source : 676013a9567ae59c1dba863a7975467f3cf4d847
2009-08-05 14:39:05 +12:00
Johnny Stenback
c4f6146af5 Fixing bug 501531. Make some functions static. r+sr=mrbkap@gmail.com
--HG--
extra : rebase_source : ef972db0100f2856724af0c9a958cada10a8e2c4
2009-07-06 14:01:45 -07:00
Peter Van der Beken
b805317eeb Try to fix orange. 2009-07-05 20:03:52 +02:00
Peter Van der Beken
ca8ccf47e0 Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Blake Kaplan
6307e86103 Bug 500931 - Ensure that weak reference wrappers return the right object when called upon. r=bent sr=jst 2009-07-02 17:00:21 -07:00
Blake Kaplan
9b28e7922b Bug 501577 - Add a missing call to Release in nsXPCWrappedJS::GetNewOrUsed. Also remove a hack needed to get around the missing release. r+sr=peterv 2009-07-02 17:00:20 -07:00
Blake Kaplan
3f48024026 Bug 500691 - Call JS_ClearScope before XPConnect tries to update our outer window's scope's concept of what {Function,Object}.prototype are so that we forward correctly to the inner window's versions. r=jst sr=bzbarsky 2009-07-01 16:43:50 -07:00
Blake Kaplan
434bedc0de Bug 496441 - Random cleanup: only calculate the callee once. r+sr=jst 2009-07-01 12:12:04 -07:00
Blake Kaplan
2f5c19b4ba Bug 496441 - Some random cleanup: remove an unnecessary macro. r+sr=jst 2009-07-01 12:12:04 -07:00
Blake Kaplan
8cddc0e049 Bug 498000 - Throw a better error when toString is called cross-origin on an XPCNativeWrapper from an unprivileged context. r+sr=bzbarsky 2009-07-01 12:12:04 -07:00
Blake Kaplan
e70a8f1ac4 Merge backout. 2009-06-30 16:22:43 -07:00
Blake Kaplan
aac9f0431d Backed out changeset 291552e67a3b due to leaks. 2009-06-30 16:22:20 -07:00
Johnny Stenback
a511964116 Fixing bug 442399. Remove LiveConnect from the tree. r=joshmoz@gmail.com, bclary@bclary.com, sr=brendan@mozilla.org 2009-06-30 15:55:16 -07:00
Blake Kaplan
920e1cabfe Bug 500931 - Ensure that weak reference wrappers return the right object when called upon. r=bent sr=jst
--HG--
extra : rebase_source : 5f73d1e92b912cf88c8a45a3ccd53de35c7b1e3d
2009-06-30 13:49:46 -07:00
Robert Sayre
5248dd661e Merge tracemonkey to mozilla-central. 2009-06-30 12:19:07 -07:00
Mike Hommey
52c585af70 Bug 501241 - xpcshell fails to build when setting EDITLINE. r=mrbkap
--HG--
extra : rebase_source : c41df07d7ccaf98a15335493aa9227788da323ee
2009-06-29 16:10:54 -07:00
Jason Duell
b92a22ef0f Bug 483689. Add fflush to print() and dump() in xpcshell, and do some cleanup. r=mrbkap
--HG--
extra : rebase_source : 4ad9ed9ddada4d6b6705c1f8a4a84c39213bf2f8
2009-06-29 11:01:42 +12:00
Olli Pettay
b0eab11c98 Bug 497780 - onmouseout's MouseEvent.relatedTarget is a chrome element and is completely inaccessible, r=mrbkap@gmail.com, sr=bz 2009-06-28 22:46:52 +03:00
Peter Van der Beken
876abb32f0 Fix for bug 499787 (Remove one AddRef/Release pair from GatherProtoScriptableCreateInfo). r/sr=mrbkap.
--HG--
extra : rebase_source : 2db51a8d57cf6bdb8c42e677a819e1d3687e3593
2009-06-23 12:09:13 +02:00
Olli Pettay
2e0f78e968 Bug 486990 - Context Menu can be disabled by stopping propagation, r=enn, sr=neil 2009-06-23 13:07:39 +03:00
Peter Van der Beken
3bc9cdbe64 Fix for bug 484821 (Have a separate hash for main-thread only XPCWrappedNativeProto). r/sr=mrbkap. 2009-03-24 11:14:43 +01:00
Peter Van der Beken
2cd9ab8291 Fix for bug 484764 (Set up DOM prototype chains from PostCreateProto instead of PostCreate). r/sr=jst.
--HG--
extra : rebase_source : 8e24cbcede7e48e42c4c06a55d3bc7dd91603020
2009-06-03 17:30:18 +02:00
Boris Zbarsky
bad520da1f Bug 499235. Quickstub nsIDOMNodeSelector. r+sr=peterv 2009-06-19 13:10:30 -04:00
Olli Pettay
4f0aa79a1e backout Bug 486990
--HG--
extra : rebase_source : 5947dd5fcc29bfb333c53cc2f60a00895910e9bb
2009-06-17 16:22:37 +03:00
Olli Pettay
b4d60fb950 Bug 486990 - Context Menu can be disabled by stopping propagation, r=enn, sr=neil
--HG--
extra : rebase_source : a425f116d1350ff1204f1b031754a262ec73f8b1
2009-06-17 13:26:21 +03:00
Boris Zbarsky
eb5f032de5 Bug 495167. Make XPCOMUtils.generateQI deal with string interface names. r+sr=bsmedberg 2009-06-15 16:06:20 -07:00
Blake Kaplan
982c6e4162 Bug 496486 - Don't let our wrapped natives get garbage collected out from under us. r+sr=bzbarsky 2009-06-12 14:35:35 -07:00
arno renevier
7ba51c715c Bug 496891. Handle NSGetModule returning null. r=bzbarsky 2009-06-11 13:16:21 -04:00
Boris Zbarsky
9e286af994 Bug 484459. Give SandboxClass a convert method so it doesn't end up delegating that to the prototype. r+sr=mrbkap 2009-06-03 18:49:53 -04:00
Peter Van der Beken
580d491113 Fix for bug 495554 (crash [@ XPCNativeSet::NewInstance(XPCCallContext&, XPCNativeInterface**, unsigned short) ]). r/sr/a=jst.
--HG--
extra : rebase_source : 29b4e1b88da5e56d1c33e7c09697c9fb0a1f9936
2009-05-31 20:07:26 +02:00
Johnny Stenback
f635245925 Re-landing backed out part of bug 483672 for parity with 1.9.1 2009-05-22 15:59:33 -07:00
Peter Van der Beken
faf20b2693 Fix for bug 494445. r/sr=mrbkap.
--HG--
extra : rebase_source : 33e2bfe1c564abf2cad000ee62fb2d0520976585
2009-05-22 22:19:25 +02:00
Johnny Stenback
e58e630925 Backing out part of bug 483672 to see if this part is what caused the performance regression. 2009-05-21 20:27:30 -07:00
L. David Baron
3dd611372e Backed out changeset 1abeb6c87131 (Bug 480205 - Implement a wrapper for exposing chrome objects to content (aka COWs)) due to mochitest failures and leaks. 2009-05-21 06:54:41 -04:00
Blake Kaplan
83e011d635 Bug 480205 - Implement a wrapper for exposing chrome objects to content (aka COWs). r+sr=jst sr=bzbarsky on some parts. 2009-05-21 01:17:51 -07:00
Peter Van der Beken
e9612afa0d Fix quickstubs dependency problem, .h doesn't depend on any headers so don't add it to .dep and make .cpp depend on the interface files instead. rs=ted. 2009-05-20 14:07:20 +02:00
Olli Pettay
fd7e16f279 Bug 493366 - Assertion failure: (cx)->requestDepth || (cx)->thread == (cx)->runtime->gcThread, at mozilla/js/src/jsapi.cpp:5196, r+sr=mrbkap 2009-05-20 12:30:57 +03:00
Ben Turner
ba0f386cbd Bug 490718 - 'XPCWrappedNativeScope creates a needless cycle with its principal provider.' r=peterv, sr=jst. 2009-05-19 10:56:01 -07:00
Blake Kaplan
0163278d15 Bug 491219 - Make SOWs wrap more deeply. r+sr=jst 2009-05-18 16:52:12 -07:00
timeless@mozdev.org
b2e7596a82 Bug 491194 - fixing miscellaneous warnings. r=biesi 2009-05-18 12:43:55 +02:00
Peter Van der Beken
98633d5f16 Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes). r/sr=bz. 2009-05-07 11:19:41 -07:00
Peter Van der Beken
e267b828d9 Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst. 2009-05-07 11:19:36 -07:00
Peter Van der Beken
3c7951a396 Merge backout. 2009-05-16 16:17:50 +02:00
Peter Van der Beken
d7f8357ac2 Backed out changeset 0c8d4f846be8 (Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly).) to try to fix Tshutdown regression. 2009-05-16 16:16:55 +02:00
Honza Bambas
b1ee7471c1 Bug 492219 - localStorage's constructor should be Storage, r+sr=jst 2009-05-16 15:59:30 +02:00
Simon Fraser
9a33168aa0 Bug 74803 - Should make global data const where possible; xpconnect; r=brendan 2009-05-16 01:14:17 +02:00
Peter Van der Beken
e07ba2eafd Merge backout. 2009-05-15 16:39:20 +02:00
Peter Van der Beken
a45851d286 Backed out changeset 5e867032abe5 (Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes).) to try to fix Tshutdown regression. 2009-05-15 14:49:21 +02:00
Olli Pettay
a26f88717b Bug 461861, r=mrbkap, sr=jst
--HG--
extra : rebase_source : a5aea484f992785a3d67bb03d7fe074ce4f7f95a
2009-05-14 10:03:15 +03:00
Blake Kaplan
3bab9bf56c Bug 483672 - Give regular JS objects that have been reflected into C++ a security policy that follows the same-origin model. Also teach caps about "same origin" for these cases. r=jst sr=bzbarsky 2009-05-13 15:01:01 -07:00
Peter Van der Beken
b865be6ac9 Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst.
--HG--
extra : rebase_source : 459f24ea980bf4cab29bc88115138f6ed5144e49
2009-05-07 11:19:36 -07:00
Robert Sayre
75bb19d6c8 Merge tracemonkey to mozilla-central. 2009-05-14 21:37:49 -04:00
Igor Bukanov
92f94e451c bug 491126 - sharing object map for non-native objects. r=brendan 2009-05-14 12:35:23 +02:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Daniel Holbert
f91679f7b6 Bug 478438 trivial follow-up: remove unneeded 'typedef' keyword to fix compile warning. r=bnewman sr=mrbkap 2009-05-04 13:08:48 -07:00
timeless@mozdev.org
b8ace0c61f Bug 485868 - Remove code duplication in xpcjsruntime.cpp.
Fixing XPC_TRACK_DEFERRED_RELEASES build bustage (DEBUG_timeless)
2009-04-30 18:50:24 +02:00
timeless@mozdev.org
7147aba324 Bug 485868 - Remove code duplication in xpcjsruntime.cpp.
Fixing XPC_TRACK_DEFERRED_RELEASES build bustage (DEBUG_timeless)
2009-04-30 16:43:32 +03:00
Robert Sayre
33a65e9684 Merge tracemonkey to mozilla-central. 2009-04-28 20:33:18 -04:00
Olli Pettay
bdb6b5dd69 backout Bug 486990 2009-04-28 06:42:59 -07:00
Andreas Gal
a51f22dbdf Need an API exposed to control code cache size (474497, r=bent,brendan, sr=mrbkap). 2009-04-22 16:52:59 -07:00
Igor Bukanov
e4bc4e81cb bug 488995 - fixing error reporting for getter-only properties. r=mrbkap sr=jst 2009-04-22 12:39:08 +02:00
Blake Kaplan
38b83aefae Bug 485868 - Remove code duplication in xpcjsruntime.cpp. r=jst sr=brendan
--HG--
extra : rebase_source : 68dbe531ff1dca8b436ae938be763ff3921a1c9a
2009-04-17 16:52:15 -07:00
Blake Kaplan
da5b280a51 Bug 484180 - Don't call the class getter (especially not the scriptable helper!) for functions. r+sr=jst
--HG--
extra : rebase_source : 15e927e3a4281a0d5ffd54b528c9c90c76b7c6ee
2009-04-17 16:52:10 -07:00
Blake Kaplan
f4e59bf91a Bug 479560, r+sr=jst 2009-04-17 12:41:42 +01:00
Benjamin Smedberg
c2ec582f57 Fix the PYTHONPATH bits of bug 436062 in a not-hacky way by using a script which can set up the path and then forward to the real script we're trying to run, r=ted 2009-04-15 09:06:09 -04:00
Ben Newman
17a2ceeaca Bug 484107 - XPCSafeJSObjectWrapper allows regexp variables to be clobbered. r=mrbkap+sr=brendan 2009-04-14 19:32:17 -07:00
Arpad Borsos
07dc31e45f Bug 485782 - get rid of nsSupportsArray; r=sicking, sr=bsmedberg 2009-04-14 10:02:58 +02:00
Jason Orendorff
b5d4ba583e Bug 487676 - Nesting deep-aborting trace calls don't work. r=gal.
--HG--
extra : rebase_source : 436164485bd5e981e5ae8997eed2c371f3ecd77b
2009-04-09 18:07:00 -05:00
Peter Van der Beken
8a43b9d5cc Fix for bug 486585 ("ASSERTION: bad!" in XPCCallContext::XPCCallContext with feed in frame, gc). r/sr=mrbkap.
--HG--
extra : rebase_source : c0977ba2150e1369b8397c45839058f542510ffd
2009-04-06 14:58:45 +02: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
timeless@mozdev.org
15a540ba45 Bug 491192 - fixing xpcshell error message; r=ted.mielczarek sr=cbiesinger 2009-05-12 03:38:31 +02:00
Peter Van der Beken
1ec8d2bfcb Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes). r/sr=bz.
--HG--
extra : rebase_source : 8a05db1e4aab7dde3b38c7613488314dde05f163
2009-05-07 11:19:41 -07:00
Olli Pettay
034f889291 Bug 486990, move contextmenu listener to system event group, r=enn, sr=neil 2009-04-25 11:45:30 +03:00
Peter Van der Beken
ab53b05c94 Fix for bug 488561 (Typo in dom_quickstubs.qsconf). r=bent, sr=mrbkap.
--HG--
extra : rebase_source : f1647690e279aea0134fbe0915fe81ca5a238b21
2009-04-24 12:36:14 +02:00
Blake Kaplan
b977562fb5 Bug 475864 - Distinguish between "there is no JS code running" and "there are only native frames on the stack." Also clean up the rest of the code's handling of null fp. 2009-04-23 00:21:22 -07:00
Blake Kaplan
54734b9d0b Bug 475864 - Move native anonymous content checks into a wrapper so that quickstubs don't sidestep them. r=jst sr=bzbarsky 2009-04-23 00:21:22 -07:00
Blake Kaplan
c845651c78 Bug 489440 - Don't call into JS when asked if we support a wrapper cache. r+sr=peterv 2009-04-22 13:19:42 -07:00
Robert Sayre
150436c482 Merge tracemonkey to mozilla-central. 2009-04-22 13:49:32 -04: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
Blake Kaplan
fb9e760b6d Fix style inconsistency I just introduced in bug 485840 2009-03-29 22:09:57 -07:00
Blake Kaplan
888c327f3d Bug 485840 - Protect against reentrancy in deferred releases. r+sr=roc 2009-03-29 22:03:07 -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
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
Robert Sayre
150b7d8a28 Merge tracemonkey to mozilla-central. 2009-03-24 13:49:05 -04:00
Igor Bukanov
a8094a7903 bug 437325 - JSThread is no longer shared between JSRuntime instances. r=brendan 2009-03-24 13:07:35 +01: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
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
38cd49ea51 Bug 480187 - 'Make qsgen.py generate traceable natives'. r+sr=jst. 2009-03-19 15:16:59 -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
3b7ccb55b7 Bug 480187 - 'Make qsgen.py generate traceable natives'. r+sr=jst. 2009-03-19 15:16:59 -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
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
Blake Kaplan
32bd109aca Bug 482830 - Use a principal when compiling -e scripts. r+sr=jst 2009-03-11 16:13:01 -07:00
Peter Van der Beken
69e9aba8c8 Backing out f385e435c082, fix for bug 481677 (Avoid hash lookups in XPCWrappedNative::GetNewOrUsed), to try to fix orange. 2009-03-19 14:05:26 +01:00
Peter Van der Beken
f6b313dc83 Fix for bug 481677 (Avoid hash lookups in XPCWrappedNative::GetNewOrUsed). r=bz, sr=jst.
--HG--
extra : rebase_source : 9e25f0d56df57d65559e18acd49412e3e164821e
2009-03-18 19:02:48 +01:00
Honza Bambas
8d8bbb95c2 Bug 422526 - implement localStorage, p=Honza Bambas+Dave Camp, r=jst+dcamp+bz 2009-03-19 00:43:45 +01:00
Blake Kaplan
8afe2165b9 Bug 482384 - Fix GCC warnings about casting between data and function pointers. r+sr=jst
--HG--
extra : rebase_source : bb9356f20f563511e5f4bd3e4308e1f82b1f8d52
2009-03-10 15:21:25 -07:00
Benjamin Smedberg
329e9b5420 Bug 481336 - Quickstub additional properties on nsIDOMHTMLAnchorElement and nsIDOMNSHTMLAnchorElement, r=bz 2009-03-10 15:55:55 -04:00
brian crowder
1f7e7c617f Bug 439110 - xpcshell's load() just silently fails for non-existent files; r=mrbkap 2009-03-08 10:38:55 +01:00
Markus Stange
97d6e4aab9 Fixing test_bug478438; only print exceptions when something fails so that the Tinderbox error parser doesn't get confused 2009-03-05 16:44:24 +01:00
Blake Kaplan
730caf95a4 Bug 420642 - Remove a now-unnecessary eval hack. r+sr=jst 2009-03-04 16:28:49 -08:00
Ben Newman
e6a74e3560 Bug 478438 - Can't access allAccess properties of cross-origin XPCNativeWrappers. r+sr=mrbkap 2009-03-04 13:49:08 -08:00
Blake Kaplan
3aa6182e81 Bug 481434 - Fix up the logic a bit. r+sr=bzbarsky 2009-03-04 12:17:11 -08:00
Blake Kaplan
dfa1718740 Bug 480430 followup -- wrap for different-scope bug same-origin chrome wrappers since we have code that depends on it. 2009-03-03 20:26:13 -08:00
Blake Kaplan
471bb67580 Bug 480430 followup -- don't wrap when the scopes are actually the same (even if they don't have principals. 2009-03-03 16:45:59 -08:00
Blake Kaplan
69b42859dd Bug 480430 - Don't wrap objects that are same-origin but differently scoped. r=jst sr=bzbarsky 2009-03-03 15:02:57 -08:00
Blake Kaplan
561c7c3f03 Add a mochitest for bug 477431. 2009-02-26 17:01:42 -08:00
Robert Sayre
ae78a8d6dc Bug 464159 - Quickstubs leaks IIDs. r=jorendorff 2009-03-02 01:32:40 -05:00
Blake Kaplan
b6d30b3a27 Bug 478433 - Use a better method to create this function. r+sr=jst 2009-02-25 17:33:54 -08:00
Blake Kaplan
db3e4717db Bug 477431 - The JS spec says that we have to iterate over string properties only. r+sr=jst 2009-02-25 17:33:12 -08:00
Blake Kaplan
086c266705 Bug 435151 - XPCSafeJSObjectWrapper's construct hook was not correct. r+sr=jst 2009-02-25 17:32:23 -08:00
Blake Kaplan
14658eb0ed Bug 479288 - Move wrapping back into the outerObject hook. r+sr=bent/jst 2009-02-25 17:32:09 -08:00
Peter Van der Beken
1e22744844 Fix for bug 471395 ( "Illegal Value" exception when accessing XHR request within an extension). r=mrbkap, sr=jst. 2009-02-24 17:44:31 +01:00
Doug Turner
f13be3aee2 Bug 318077
7 - reverting the work around for PR_MemMap on windows CE. r=blassey
2009-02-20 11:56:31 -08:00
Robert Sayre
695b4646c3 Merge tm to mc 2009-02-19 11:48:08 -05:00
Benjamin Smedberg ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
d40f9751c8 Bug 476643 - JS_REQUIRES_STACK errors in nsXPCWrappedJSClass::CallMethod. Mozilla code uses some JS-internal APIs and needs to bail off trace before doing so. This shouldn't affect performance now becuase XPConnect methods are not traceable yet. r=mrbkap, sr=mrbkap. 2009-02-18 12:47:16 -06:00
Ben Turner
640a5fdfa3 Bug 477924 - 'Context switch in mozJSComponentLoader::ImportInto without suspending outer context's request'. r+sr=jst, a=blocking1.9.1+ 2009-02-17 20:11:09 -08:00
Jesse Ruderman
68344d4b52 Add a bunch of crashtests 2009-02-10 22:18:05 -08:00
Jesse Ruderman
c9eb6349ac Add some crashtests 2009-02-10 16:36:04 -08:00
Vladimir Vukicevic
ecf8d0a67a b=477735; fix XPCOMUtils.generateQI to handle null/undef members in array; r=sayrer 2009-02-10 15:10:07 -08:00
Robert Sayre
7401f9c47c Merge tm to m-c 2009-02-10 16:03:33 -05:00
Blake Kaplan
d9f6caa753 Bug 477128 - Don't throw if XPCNativeWrapper is called as a function but passed a primitive value to allow for safe primitive testing. r+sr=jst 2009-02-10 12:06:56 -08:00
Andreas Gal
f796bcd60a Substitute operation counting with a watchdog thread (477187, 2nd attempt, r=brendan/mrbkap/jst, sr=brendan/jst). 2009-02-10 03:45:36 -08:00
Andreas Gal
2a20c2a6de Backing out bug 477187. Breaks xpcshell. 2009-02-09 22:54:05 -08:00
Andreas Gal
cbfbbd3cac Substitute operation counting with a watchdog thread (477187, r=brendan/mrbkap/jst, sr=brendan/jst). 2009-02-09 18:20:50 -08:00
Jeff Walden
3c038a63cb Bug 463243 - Assert correct type in JSVAL_TO_* (and vice versa) macros to fail fast when type errors happen. r=brendan 2009-02-03 13:56:25 -08:00
Mark Banner
11f1eafae9 Bug 476676 --enable-static builds (for comm-central apps) broken on trunk due to xpcshell requiring libxul - disable building of xpcshell for static builds. r=ted.mielczarek 2009-02-04 08:15:24 +00:00
Nickolay_Ponomarev
1820b09634 Bug 472258 - Reinitializing one-shot timers by resetting delay (->SetDelay) doesn't work anymore - fix callers; r+sr=bzbarsky 2009-02-03 15:42:21 +01:00
Ben Turner
60956ac6bd Bug 460882. r+sr=mrbkap. 2009-02-16 13:16:13 -08:00
Jim Blandy
7defe5d8ef Bug 461841: xpcshell: default to non-interactive when isatty is missing. r=roc 2009-02-16 16:27:13 +01:00
Aiko
cad71e2047 Bug 446689 - xpcshell's load() function doesn't close file handle; r+sr=mrbkap 2009-02-15 17:23:50 +01:00
Jesse Ruderman
f154077a31 Add crashtests 2009-02-13 14:54:17 -08:00
Vladimir Vukicevic
3bdaaf6021 b=477727; add WINCE_WINDOWS_MOBILE define and associated configure flag; r=ted 2009-02-12 18:26:01 -08:00
L. David Baron
89a43a453a Merge backout of changeset 423eea03fb54 (Bug 460882) for being one of the two changesets that may be causing chrome and a11y tests not to start. 2009-02-06 20:57:35 -08:00
L. David Baron
9cd8a585e6 Backed out changeset 423eea03fb54 (Bug 460882) for being one of the two changesets that's causing chrome and a11y tests not to start. 2009-02-06 20:57:11 -08:00
Ben Turner
6a62636303 Bug 467900 - 'nsScriptSecurityManager not thread-safe called by IsCallerChrome'. p=timeless+bent, r+sr=jst, a=blocking1.9.1+ 2009-02-06 16:01:21 -08:00
Ben Turner
a6d6b36d50 Bug 460882. r+sr=mrbkap, a=blocking1.9.1 2009-02-06 16:01:16 -08:00
Benjamin Smedberg
c43bd56aa5 Backed out changeset 64d5b7cdeb69 - bug 476643 because of Windows bustage (js_LeaveTrace is not a friend API) 2009-02-05 20:20:03 -05:00
Benjamin Smedberg
2a67684f74 Bug 476643 - mozilla code uses some JS-internal APIs and needs to bail off trace before doing so. This shouldn't actually affect runtime now, because XPConnect doesn't use traceable natives. But in the 1.9.2 future we want to use traceable natives r=mrbkap r=jorendorff 2009-02-05 19:57:34 -05:00
Benjamin Smedberg
748193ada5 Bug 470971 - Add ability to pass the GRE dir to xpcshell, r=ted - fixed patch: XRE_GetBinaryPath gets the file of the executable: we want to pass the parent directory to XPCOM. 2009-01-20 14:56:44 -05:00
Ted Mielczarek
e175cfbb93 bug 470914 followup - don't normalize symlinks in xpcshell's __LOCATION__. r+sr=mrbkap 2009-02-02 08:53:23 -05:00
Walter Meinl
d8710dccee Bug 474366: follow-up patch, r=ted.mielczarek 2009-02-01 10:03:41 +01:00
Atul Varma
3ab92bc3a0 bug 445873 - let callers of Components.utils.Sandbox specify JS version; r+sr=mrbkap 2009-01-30 13:17:23 -08:00
Peter Weilbacher
5018346dd2 Bug 474366: OS/2 build break in xpcshell.cpp due to bug 470914, p=wuno@lsvw, r=ted.mielczarek 2009-01-30 10:19:43 +01:00
Blake Kaplan
ce01acfd86 Bug 475185 - Add a crashtest. 2009-01-27 15:34:16 -08:00
Blake Kaplan
0b7c1577e8 Bug 475185 - Fast natives don't enforce minargs, so we have to do it ourselves. r=jorendorff sr=brendan 2009-01-26 16:55:53 -08:00
Blake Kaplan
b4c4aae1e9 Bug 475291 - Avoid roundtripping arbitrary jsids through JSAtom *s. r=brendan 2009-01-26 16:55:43 -08:00
Peter Van der Beken
690b96a622 Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst. 2009-01-26 14:12:37 +01:00
Peter Van der Beken
367cc8bd4d Backed out changeset 81428de4b5dc (Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.). 2009-01-26 09:09:22 +01:00
Peter Van der Beken
3529749b50 Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst. 2009-01-26 08:44:22 +01:00
Peter Van der Beken
d692e5fef1 Fix for bug 443483 (Closed windows need two cycle collections to be collected). r=bent, sr=jst, a=jst. 2009-01-25 15:34:26 +01:00
Peter Van der Beken
810702a01e Back out changeset e919f0c1dfa9 (Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.) to try to fix red on leak tinderboxes. 2009-01-24 23:13:29 +01:00
Peter Van der Beken
e3d2fe16b2 Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst. 2009-01-24 18:28:40 +01:00
Peter Van der Beken
7522cec61c Fix DEBUG_CC build. NPOTB. 2009-01-24 18:28:33 +01:00
Igor Bukanov
f28d80b499 Backed out changeset e117c22cc1d1 - the landed patch for bug 437325 has a shutdown leak. 2009-03-22 10:15:27 +01:00
Igor Bukanov
a61176553e bug 437325 - JSThread is no longer shared between JSRuntime instances. r=brendan 2009-03-22 10:07:14 +01:00
Blake Kaplan
2ddd004009 Bug 462428 - Make __lookup[GS]etter__ work on quickstubbed properties by faking it for XPConnect prototype objects only. r=jorendorff sr=brendan 2009-01-23 15:44:01 -08:00
Peter Van der Beken
5a2f84bb76 Back out changeset 32dc89bc34ad (Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.) to fix orange. 2009-01-23 17:05:05 +01:00
Peter Van der Beken
9157343457 Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst. 2009-01-23 15:47:24 +01:00
Brad Lassey
36b666091c bug 470914 - fixing build bustage in xpcshell, GetCurrentDirectoryW doesn't exist on windows ce, punt on that platform r+sr=mrbkap 2009-01-22 10:17:22 -05:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Blake Kaplan
dade53b4d3 Bug 472674 - Allow XPCNativeWrapper to unwrap SJOWs again. r+sr=jst 2009-01-16 18:05:14 -08:00
Benjamin Smedberg
361067676a Merge backout of bug 470971 2009-01-20 19:00:24 -05:00
Benjamin Smedberg
4e93b0aaec Backed out changeset 700bca4b693f due to reftest failure (bug 470971) 2009-01-20 18:59:20 -05:00
Benjamin Smedberg
ca209777c0 Copy xpcshell instead of symlinking it, so that it knows where it is... Followup to bug 470971 2009-01-20 17:21:03 -05:00
Benjamin Smedberg
0218b0f59a Bug 470971 - Add ability to pass the GRE dir to xpcshell, r=ted 2009-01-20 14:56:44 -05:00
Ted Mielczarek
42c738edc4 bug 470914 - add a __LOCATION__ field to the global object for files loaded on the commandline in xpcshell. r=timeless 2009-01-18 12:01:15 -05:00
Blake Kaplan
a0d6f6e2e6 Backed out changeset 5d3af3ff9639. It doesn't allow UniversalXPConnect scripts to arbitrarily unwrap XPCNativeWrappers. 2009-01-16 19:36:38 -08:00
Blake Kaplan
38471d2166 Bug 472674 - Allow XPCNativeWrapper to unwrap SJOWs again. r+sr=jst
--HG--
extra : rebase_source : 628b9152dd0bd16cc5d211e949fe1921070d01a2
2009-01-16 18:05:14 -08:00
Jim Blandy
9746bd2c6d Bug 461841: Use configure-defined macros in #ifdefs for WinCE in js/src. r=crowder
Perform the appropriate configure-time tests, and hard-code the
answers for targets that don't support autoconf-style tests.  Check
for the io.h header, and the setbuf and isatty library functions.

In js/src/xpconnect/shell/xpcshell.cpp, use configure-#defined
preprocessor symbols to decide what to #include and use.  The
top-level configure script defines the preprocessor symbols used here.

In js/src/prmjtime.cpp, use them to select the appropriate method for
retrieving fine-grained time information for Windows and WinCE.  The
js/src/configure script defines the preprocessor symbols used here.

(This should cover the issues addressed by patch.v2 in bug 461841,
except for the stdint issue.)
2009-01-16 14:10:48 -08:00
L. David Baron
bb123815cb Put nsIDOMNSCSS2Properties in its own file to reduce risk of bumping the IID of the wrong interface. (Bug 473418) r+sr=jst
--HG--
rename : dom/public/idl/css/nsIDOMCSS2Properties.idl => dom/public/idl/css/nsIDOMNSCSS2Properties.idl
2009-01-16 13:32:09 -08:00
timeless@mozdev.org
3d9be831e9 Bug 422340 Firefox 3 beta 4 gives unhelpful slowscript warning on leaving gmail, r+sr=mrbkap 2009-01-15 20:02:21 -08:00