Commit Graph

1271 Commits

Author SHA1 Message Date
Vladimir Vukicevic
02fe8f1b07 b=534735; use custom quickstubs for canvas fillStyle and strokeStyle; r=bz 2010-03-03 16:40:25 -08:00
Robert Sayre
27b961ed50 Merge tracemonkey to mozilla-central. 2010-02-24 12:25:40 -08:00
Andreas Gal
7fc1c8efb0 Introduce ObjectOps for typeOf and make trace a mandatory ObjectOp (547314, r=brendan). 2010-02-22 16:30:22 -08:00
Robert Sayre
84d7499b25 Merge mozilla-central to tracemonkey. 2010-02-22 12:29:54 -08:00
Luke Wagner
df420a425b Bug 542797 - change obj_eval from JSNative to JSFastNative (r=mrbkap)
--HG--
extra : rebase_source : 5138b86418081cfa331b05947e5988c1f81065ef
2010-02-16 17:41:39 -08:00
Robert Sayre
f146d11898 Merge mozilla-central to tracemonkey. 2010-02-09 13:08:35 -05:00
Boris Zbarsky
db71c4ce64 Bug 538663 followup. Don't rely on having python 2.5. r=jorendorff 2010-02-08 15:53:32 -05:00
Luke Wagner
3b828cd733 Fix &va_list on x86-64, quiet warning 2010-02-06 21:28:18 -08:00
Luke Wagner
fbab1d732f Fix opt test bustage
--HG--
extra : rebase_source : 232d3e154a7c2d5fc0cc31cde68cf58657c9cea4
2010-02-06 15:25:38 -08:00
Luke Wagner
9dabae3069 Bug 542091 - remove JS_PushArguments[VA] (r=mrbkap,dveditz) 2010-02-06 12:26:24 -08:00
Robert Sayre
29798de341 Merge mozilla-central to tracemonkey. 2010-02-05 10:53:48 -05:00
Boris Zbarsky
870b21a0c8 Bug 538663. Allow traceable natives with up to 8 arguments, and use that in quickstubs as we can. r=jorendorff 2010-02-03 16:14:14 -05:00
Jeff Walden
82210191cf Backed out changeset bc8bb2def82d, something's weird with this and we try to generate 9-argument traceable natives (maxargs is 8). 2010-02-03 17:10:23 -08:00
Boris Zbarsky
ede71f67a6 Bug 538663. Allow traceable natives with up to 8 arguments, and use that in quickstubs as we can. r=jorendorff 2010-02-03 16:14:14 -05:00
Robert Sayre
c7ce498f03 Merge mozilla-central to tracemonkey. 2010-01-29 09:51:21 -08:00
Luke Wagner
2645ecd2da Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff) 2010-01-22 14:49:18 -08:00
Jonas Sicking
6f2368d0b0 Bug 543696: Remove unused nsIScriptSecurityManager::CheckConnect. r/sr=mrbkap 2010-02-02 02:29:15 -08:00
Vladimir Vukicevic
b0353d0b45 b=542885; webgl types should not be enumerable on global objects; r=smaug 2010-02-02 01:18:35 -08:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Ms2ger@gmail.com
8ac5baea31 Bug 41464 - Implement textarea.wrap. r=bz 2010-02-06 09:51:10 +01:00
Vladimir Vukicevic
11da29f6d4 b=538255; [quickstubs] add ability to negate/remove stubs included through wildcards; r=jorendorff 2010-01-09 13:01:37 -08:00
Vladimir Vukicevic
3f208aeae6 b=538258; [quickstubs] return types for traceable natives not fully resolved; r=jorendorff 2010-01-09 13:01:37 -08:00
Vladimir Vukicevic
cc8708cca8 b=534733, add support for fully custom quickstubs; r=jorendorff 2010-01-09 13:01:37 -08:00
Marco Bonardo
3b9c85bd88 Bug 544241 - xpcshell-tests head.js should always remap resource://test to the current test dir, r=ted 2010-02-23 14:11:37 +01:00
Brad Lassey
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Makoto Kato
c79f7aed7a Bug 560477 - ambiguous call to overloaded function of ATL::CComPtr<T>::CComPtr. r=timeless 2010-04-28 13:40:56 +09:00
Mounir Lamouri
dbdc60fd52 Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst] 2010-04-26 03:42:00 -04:00
Blake Kaplan
e11777b779 Fix bug 554449. r=jst sr=peterv 2010-04-27 16:24:35 -07:00
Blake Kaplan
1051194298 Bug 559231 - Don't assert if there's no code running. r=jst 2010-04-27 16:24:18 -07:00
Dan Mills
d6ce8dbd19 Bug 393119 - XPConnect's Dump doesn't do string conversions correctly. r+sr=jst 2010-03-23 14:08:18 -07:00
Blake Kaplan
af17535f3b Bug 545291 - Don't lookup non-quickstubbed properties. r=jorendorff 2010-02-11 17:04:42 -08:00
Robert Sayre
5ef05c8584 Merge mozilla-central to tracemonkey. 2010-04-09 11:43:07 -04:00
Nicholas Nethercote
26d8277a75 Bug 413730 - Replace all OBJ_GET_CLASS() macro calls with JSObject::getClass() calls. r=gal. 2010-04-07 16:09:49 -07:00
Robert Sayre
744599315f Merge mozilla-central to tracemonkey. 2010-04-04 14:15:05 -04:00
Jacek Caban
a143357a5d Bug 393119: Followup bustage fix for mingw. r=mrbkap 2010-04-03 07:32:59 -04:00
Nicholas Nethercote
795d4b8ad2 Bug 556353 - Remove OBJ_IS_NATIVE, HAS_FUNCTION_CLASS. r=brendan. 2010-03-31 22:13:51 -07:00
Robert Sayre
c8c02b70fc Merge mozilla-central to tracemonkey. 2010-03-31 12:47:53 -07:00
Robert Sayre
cd70d71b16 Fix merge bustage. 2010-03-31 08:21:07 -07:00
Robert Sayre
baeb2d1edf Merge mozilla-central to tracemonkey. 2010-03-30 21:13:01 -07:00
Nicholas Nethercote
684396fb91 Bug 555631 - Convert STOBJ_* macros to inline functions. r=gal. 2010-03-30 14:42:48 -07:00
Jeff Walden
c8c8503f4e Readd jsregexp.{cpp,h} (and to users of the regex-statics save/restore methods) changes for bug 548702, betting the nsJSEnvironment.{cpp,h} changes were the bad ones causing n810 bustage. 2010-03-29 12:24:03 -07:00
Jeff Walden
ba84f1175f Readd ctypes, xpconnect, plugin, xpinstall, canvas, and typed array changes from bug 548702. 2010-03-29 19:47:40 -07:00
Jeff Walden
fbc0da3a62 Backed out changeset 79fd90e2dd87, n810s all orange -- yay! Something fruitful to investigate! 2010-03-29 19:46:37 -07:00
Jeff Walden
fa7bcd268b Readd jsregexp.{cpp,h} (and to users of the regex-statics save/restore methods) and nsJSEnvironment.{cpp,h} changes for bug 548702. 2010-03-29 12:24:03 -07:00
Jeff Walden
0973dfd6ab Merge. 2010-03-26 21:53:40 -07:00
Jeff Walden
95422c65a3 Backed out changeset e7065853ef79; I'll be repushing this incrementally, attempting to find the precise place where things go bad, in the near future. Happy days are here again! :-\ 2010-03-26 18:01:54 -07:00
Blake Kaplan
7fa2e3d1ad Bug 555109 - Reparent wrappers harder. r=jst, sr=peterv. 2010-03-31 13:45:46 +02:00
Andreas Gal
4f38e87c72 add missing test file for bug 553407 2010-03-18 18:02:35 -07:00
Andreas Gal
32268bb413 Report proper typeof for XPCNativeWrapper(obj) and XPCNativeWrapper(fun) (553407, r=mrbkap). 2010-03-18 18:00:58 -07:00
Josh Matthews
037d47f249 Bug 526793 - Add gczeal() function to xpcshell. r=mrbkap 2010-03-18 13:05:22 +13:00
Igor Bukanov
6231f35ccd bug 551680 - replacing JS_(Suspend|Resume)Request with JSAutoSuspendRequest. r=mrbkap 2010-03-17 10:29:37 +03:00
Robert Sayre
84b14d6f30 Merge mozilla-central to tracemonkey. 2010-03-13 11:51:12 -05:00
Jeff Walden
106fbd8085 Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06:00
Igor Bukanov
9d1cbd468c bug 549010 - folowup to replace PROTO access macros with the inlne function 2010-03-04 23:52:52 -08:00
Mike Moening
0373a2437d bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
Ms2ger
96f599dff1 Bug 553804: s/MoMo/MoFo/ in license blocks. r=gerv 2010-03-28 11:52:43 -04:00
Robert Sayre
5cf27a725e Merge tracemonkey to mozilla-central. 2010-03-26 15:53:14 -07:00
Nicholas Nethercote
c8a754a27d Bug 545274 - nanojit: start adding alias info to loads/stores/calls (TM-specific part). r=jseward. 2010-03-02 13:47:17 +11:00
Drew Willcoxon
8cc429da4e Bug 570291 - dump() inside sandbox truncates string's high bytes. r=bzbarsky 2010-06-09 14:08:14 -07:00
Peter Van der Beken
2f373e4698 Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3k - use wildcards. r=jst. 2010-05-31 23:02:10 +02:00
Dan Witte
78b72f1c78 Bug 568059 - Remove navigator.preference. r=sicking, sr=jst 2010-06-08 16:43:55 -07:00
Peter Van der Beken
fd4084623b Fix for bug 519614 (Having to QI javascript scriptable helpers to nsIXPCScriptable is silly). r=mrbkap.
--HG--
extra : rebase_source : 10d46903d75cecff0f47f3bd483f849ea740e446
2009-09-28 23:00:35 +02:00
Peter Van der Beken
e882d412ac Fix for bug 554432 (Allow non-scriptable types for QS arguments). r=mrbkap.
--HG--
extra : rebase_source : ee8983f5578c658e9a3ecf1a8f0e5b0b0861e03c
2010-01-27 10:53:51 +01:00
Robert Sayre
5927f9eed6 Merge tracemonkey to mozilla-central. 2010-04-05 13:17:29 -04:00
L. David Baron
af77e2a01f Fire assertions when guard objects are used as temporaries. (Bug 531460) r=jst 2010-04-04 11:15:18 -07:00
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Jeff Walden
52312bac03 Bug 518663 - ES5: Object.getOwnPropertyNames. r=jorendorff 2009-09-24 14:33:14 -07:00
Jason Orendorff
cbe2891235 Backed out changeset d4caa61e69ab. It turned the tree red. 2010-07-01 20:06:33 -05:00
Andreas Gal
5c69f9ab84 Implement remaining cross compartment wrappers (574924, r=mrbkap). 2010-07-01 15:45:08 -07:00
Jason Orendorff
285e13d2c5 Bug 568885 - Put Cu.Sandbox globals in a separate compartment from non-sandbox objects in the same domain. r=gal, sr=mrbkap. 2010-06-24 18:08:52 -05: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
Andreas Gal
38fdbd4e85 Implement new chrome wrappers (574539, r=mrbkap). 2010-06-25 17:58:09 -05:00
Andreas Gal
b35f3418d2 Implement new content wrappers (574502, r=mrbkap). 2010-06-24 19:09:46 -05:00
Robert Sayre
0a9fd0ff39 Merge mozilla-central to tracemonkey. 2010-06-23 17:04:20 -07: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
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
Robert Sayre
690a859635 Merge mozilla-central to tracemonkey. 2010-06-21 18:01:14 -07:00
Blake Kaplan
7ee058443a Backed out changeset 5e948055cc43 2010-06-21 11:40:35 -07:00
Blake Kaplan
731acc336b Bug 565230 - Don't try to resolve standard classes if an XPCNativeWrapper is resolving through us. r=gal 2010-06-10 14:48:19 -07:00
Jason Orendorff
a77184c334 Bug 560643 - Part 3, add support for jsval XPIDL type. r=jst, sr=jst.
--HG--
extra : rebase_source : dc17a29e8f4e8d174064df5ead078bce2970ff95
2010-06-18 15:29:21 -05:00
Igor Bukanov
7cf58c5d22 bug 516832 - conservative stack scanning. This is based on the initial work by Anreas Gal and Gregor Wagner. r=brendan,gal 2010-06-04 16:22:28 +02:00
Igor Bukanov
5a45e44fd0 bug 571661 - removal of unused xpconnect-specific auto request classes. r=mrbkap 2010-06-12 18:28:19 +02:00
Vladimir Vukicevic
050bac772e b=560818; use jemalloc chunk allocation in GC, also add GC chunk memory report; r=shaver 2010-06-09 14:56:53 -07:00
Blake Kaplan
8a79fe9040 Bug 553597 - Add a mochitest. r=bzbarsky 2010-06-08 09:13:11 -07:00
Blake Kaplan
62c84f09e1 Bug 567451 - Inline some functions that have no business appearing in profiles. r=jst 2010-06-08 09:13:08 -07:00
Blake Kaplan
0130483c24 Bug 567048 - Cache same-origin XOWs in the wrapped native's object. r=jst 2010-05-28 16:01:08 -07:00
Luke Wagner
f032df96b4 Bug 565157 - typed JS_AddRoot (r=igor) 2010-06-07 17:05:02 -07:00
Benjamin Smedberg
3ad7eb7f3a Merge mozilla-central into electrolysis. 2010-02-09 21:22:09 -05:00
Serge Gautherie
5ffe6a4f3a Bug 117440 - remove usages of DEBUG_PRINTF in favor of NS_ASSERTION/NS_WARNING; (Ev1) <xpcwrappednativescope.cpp> remove unused |#ifdef + NS_WARNING()| case.
r=jst.
2010-02-10 02:13:45 +01:00
Justin Dolske
d8daefadb7 Bug 541594 - extend nsIINIParser to allow writing INI files. p=dolske+benjamin, r=benjamin, r=dolske 2010-02-09 17:05:31 -08:00
Benjamin Smedberg
33745658c4 Merge mozilla-central into electrolysis 2010-02-09 11:39:28 -05:00
Benjamin Smedberg
f64a66954c Merge mozilla-central into electrolysis. 2010-02-03 13:28:22 -05:00
Benjamin Smedberg
6e31be0f2d Merge mozilla-central into electrolysis. 2010-02-01 15:30:27 -05:00
Robert Sayre
62ad0ec794 Merge tracemonkey to mozilla-central. 2010-01-31 10:12:39 -05:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Benjamin Smedberg
1e0aa446aa Merge mozilla-central into electrolysis. 2010-01-27 09:56:07 -05:00
Vladimir Vukicevic
6b2983c1c8 fix some warnings and add some xpconnect flair, r=mrbkap 2010-01-26 18:14:15 -08:00
Benjamin Smedberg
0ba2d6e348 Merge mozilla-central with electrolysis. 2010-01-25 11:57:19 -05:00
Benjamin Smedberg
e6dec65946 Merge mozilla-central to electrolysis. 2010-01-21 13:37:08 -05:00
Benjamin Smedberg
617c58608b Merge mozilla-central to electrolysis. 2010-01-19 14:51:19 -05:00
Benjamin Smedberg
3f9c685874 Merge mozilla-central into electrolysis 2010-01-14 09:01:59 -05:00
Benjamin Smedberg
89fff872c6 Merge mozilla-central into electrolysis 2010-01-13 10:51:41 -05:00
Peter Van der Beken
9612080734 Fix for bug 428229 (Unable to override addEventListener), quickstub addEventListener. r=bz.
--HG--
extra : rebase_source : 1e8779a8089e19f56c51ae34deed7284147df2ab
2010-01-13 14:50:01 +01:00
Peter Van der Beken
812feed9d8 Followup for bug 534341 (XPConnect should not unroot globals of non-main thread contexts). r=bent, sr=jst.
--HG--
extra : rebase_source : 1a21a5b4646b0d1bd4b2a20bbbe460bba7fc78fc
2010-01-13 14:50:01 +01:00
Vladimir Vukicevic
21e2f78a75 b=539756; [webgl] remove old typed getters; r=jmuizelaar 2010-01-22 16:50:22 -08:00
Vladimir Vukicevic
553a8c9c5a b=533663; use js typed arrays in webgl; r=jmuizelaar,mrbkap,brendan 2010-01-22 13:34:25 -08:00
Vladimir Vukicevic
03c73ffad6 b=533663; use js typed arrays in webgl; xpconnect portion; r=mrbkap 2010-01-22 13:34:07 -08:00
Vladimir Vukicevic
613ab33618 b=539748; [qsgen] handle .* and - better; r=jorendorff 2010-01-22 13:26:25 -08:00
Benjamin Smedberg
570f731f49 Merge mozilla-central to electrolysis. 2010-01-07 22:11:14 -05:00
Benjamin Smedberg
869fa2a2d8 Merge mozilla-central to electrolysis. 2010-01-06 11:27:39 -05:00
Benjamin Smedberg
75601d4658 Merge mozilla-central to Electrolysis. 2010-01-05 13:18:08 -05:00
Blake Kaplan
36f08cfbb8 Bug 531364 - Add a function call here. r=peterv sr=bzbarsky 2010-01-05 15:03:04 -08:00
Benjamin Smedberg
e5c0bed1ab Merge mozilla-central to electrolysis. 2009-12-17 13:09:48 -05:00
Benjamin Smedberg
ffeebc91f0 Merge mozilla-central into electrolysis 2009-12-16 08:38:42 -05:00
Dietrich Ayala
40aa9b0a88 Bug 532563 - XPCOMUtils has anonymous functions (r=sdwilsh) 2009-12-15 23:25:38 -08:00
Benjamin Smedberg
999be86ac2 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg
422b4b28d2 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Boris Zbarsky
8c7d101795 Bug 533636. Speed up IsSecurityWrapper. r=mrbkap 2009-12-11 22:36:35 -08:00
Blake Kaplan
91fd0fb306 Bug 532124 - Set aside the frame chain when wrapping for chrome so we don't get confused by any content code on the stack. r=jst 2009-12-11 10:33:32 -08:00
Benjamin Smedberg
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Blake Kaplan
c8044d3215 Bug 532259 - Protect against a null script. r=jst a=sayrer
--HG--
extra : rebase_source : 926c94ac7dca681c195e4bd013db0331e79f78ca
2009-12-03 14:52:56 -08:00
Makoto Kato
a0bc68ebf2 Bug 539378 - Remove MOZ_BITS macro from tree. r=ted 2010-01-19 14:12:09 +09:00
Blake Kaplan
9699e0ff2d Bug 531222 - Don't access the SSM off the main thread. r=bent sr+a=jst 2009-12-02 12:06:18 -08:00
Benjamin Smedberg
a819191110 End the electrolysis-plugins-only branch: merge in the remaining changes from electrolysis head in preparation for pushing to mozilla-central. 2009-12-14 09:56:08 -05:00
Benjamin Smedberg
b55b15dccf Merge additional changes from electrolysis and mozilla-central into the electrolysis-plugins-only tracking branch.
--HG--
branch : electrolysis-plugins-only
2009-12-04 11:42:28 -05:00
Benjamin Smedberg
3cfccc2b20 Straight revert of xpcshell to its mozilla-central state.
--HG--
branch : electrolysis-plugins-only
2009-11-30 14:17:24 -05:00
Benjamin Smedberg
737515b2c8 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Robert Sayre
33427c24cd Merge mozilla-central to tracemonkey. 2009-11-19 01:21:34 +01:00
Benjamin Smedberg
453514dea2 Bug 523769 - Don't call into plugin hooks (specifically NPObject.deallocate) while mid-GC, r=jst+mrbkap 2009-11-17 14:51:46 -05:00
Benjamin Smedberg
17cf638aac Merge mozilla-central into electrolysis. 2009-11-11 12:35:42 -05:00
Chris Jones
0807e5c7e2 bug 527871: fix shutdown assertion and leaking TestShellParent. still leaking ContentProcessParent's GeckoChildProcess, but needs discussion before fixing 2009-11-11 02:34:08 -06:00
Ben Turner
6b2f085492 Bustage fix, r=mrbkap 2009-12-11 14:30:27 -08:00
Jeff Walden
e7b84ff7fb Bug 504078 - Always guard on the class of iterator objects, not just when the iterator object is native at record time. r=brendan
--HG--
extra : rebase_source : 018075a7776016733ca9d91f79b76fa54a84bad3
2009-11-05 23:41:37 -08:00
Benjamin Smedberg
281b9fd4a8 Merge from mozilla-central. 2009-11-06 09:54:28 -05:00
Chris Jones
35f31a72c3 don't init gtk in xpcshell, it's a relic of a darker era 2009-11-05 20:06:05 -06:00
Robert Sayre
e08b99cf18 bustage fix 2009-10-29 11:48:18 -07:00
Olli Pettay
513478ce73 Bug 517665 - XPCJSStackFrame::CreateStack cause permanent memory, r=peterv,mrbkap 2009-10-29 13:48:06 +02:00
Blake Kaplan
b7cbf88c7e Bug 532469 - Don't allow deleting arbitrary properties. r=jst 2009-10-20 17:21:42 -07:00
Blake Kaplan
a9e26d46d0 Bug 535079 - Get the XPCNativeWrapper class without compiling and running JS code. r=jst sr=sicking 2009-12-16 16:51:06 -08:00
Blake Kaplan
c907eb155f Bug 522621 - Use namespaces in the wrapper code and generally clean up the internal interfaces between the wrappers. r=jst 2009-10-20 17:21:39 -07:00
Benjamin Smedberg
2efe22a0e4 Merge only plugin changes from e10s to mozilla-central. 2009-12-16 09:19:07 -05:00
Benjamin Smedberg
ce3386b2d4 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Benjamin Smedberg
eba77abeb6 Merge mozilla-central into e10s. 2009-10-28 11:32:00 -04:00
Benjamin Smedberg
15de24f35e Merge mozilla-central to electrolysis. 2009-10-20 12:08:28 -04:00
Daniel Holbert
16d6c9d4d9 Bug 521677: Use fputs instead of printf/fprintf in a few cases, to fix "format not a string literal and no format arguments" build warnings. r=dbaron 2009-10-19 08:03:00 -07:00
Benjamin Smedberg
47962706bf Bug 523097 - Turn off MOZ_IPC for platforms where we currently don't build, and fix up ifdefs so that everything builds
--HG--
extra : rebase_source : 9da68ad54e7c378a4c9bbaac7b2166630827ec60
2009-10-19 09:55:03 -04:00
Blake Kaplan
c5601bd36b Make this message not catch the tinderbox's error parser. 2009-10-16 18:03:54 -07:00
Atul Varma
bdb1e8e0d6 Bug 522764 - Add mochitests for COWs. r=mrbkap 2009-10-16 15:19:01 -07:00
Ms2ger
6e5eb0673b Bug 530171 - Correctly handle null arguments to nsIDOMTokenList's methods, r=slvain.pasche, sr=olli.pettay 2009-12-30 18:29:40 -05:00
Benjamin Smedberg
fa058fc1f1 Merge mozilla-central to electrolysis to pick up bug 515436. 2009-10-12 10:51:38 -04:00
Blake Kaplan
12fc9781fa No bug. Add a wrapper test. rs=sicking 2010-01-18 16:54:29 -08:00
Ben Turner
62534891fc Merge mozilla-central 2009-10-05 16:08:52 -07:00
Olli Pettay
bc14675f76 Bug 519932 - Quickstub commonly used DOMEvent methods and properties, r=peterv
--HG--
extra : rebase_source : 6fba39740c9c7a391499f90030fe865000e8efe4
2009-10-05 22:32:19 +03:00
Marco Bonardo
87d521d9ce test for lazy getters scope, bug 508850, r=sdwilsh 2009-10-05 12:12:28 +02:00
Blake Kaplan
2eb1bb72f6 Bug 541742 - Make XPCNativeWrapper.unwrap work. r=bzbarsky 2010-01-25 11:58:26 -08:00
Peter Van der Beken
886612c189 Backed out changeset 542fa9413bd0, fix for bug 517196 (The JSClass of wrappers shouldn't change when morphing from slim to XPCWrappedNative), to try to fix orange. 2009-10-08 13:41:44 -07:00
Chris Jones
08de77b6a4 Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Chris Jones
3e5fef214c bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Blake Kaplan
1b993d3f38 Bug 518991 - Implement access controls in COWs. For now, this is opt-in default unsafe. r=jst 2009-09-30 19:38:57 -07:00
Ben Newman
c68af46729 Bug 518003 - implement function to check whether element matches a CSS selector. r+sr=bzbarsky
--HG--
extra : rebase_source : 67a7867a5cca52c867a8ee7daeea1bd1e613f1bc
2009-09-30 15:17:14 -07:00
Honza Bambas
25cfd349ac Bug 510234 - localStorage.clear() doesn't actually delete its properties, r+sr=jst 2009-11-11 21:39:34 +01:00
Ben Turner
66a36315ce Merging mozilla-central once more to hopefully clear windows unit tests 2009-09-20 10:47:21 -07:00
Neil Rashbrook
e4cac4353a Bug 508780 Followup to make qsgen.py compatible with Python 2.4 r=peterv 2009-09-19 18:10:09 +01:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Benjamin Smedberg
d44f878b56 Merge mozilla-central into Electrolysis. 2009-09-18 16:47:18 -04:00
Peter Van der Beken
e2e773f880 Fix for bug 517196 (The JSClass of wrappers shouldn't change when morphing from slim to XPCWrappedNative). r=mrbkap.
--HG--
extra : rebase_source : 95898b5ab53d60200058374c52cdb8161aabf78b
2009-09-18 12:43:48 +02:00
Taras Glek
bfe943ded9 Bug 412796: Optimize fastload system (mmap fileIO) r=brendan
--HG--
extra : rebase_source : 425e1c4254b8e5c7c3b9fc98efb91c06805d1f02
2009-10-08 10:30:21 -07:00
Ben Hsieh
3eab496287 Bug 510991 - NS_GetURLSpecFromFile does a stat(). r=biesi 2009-10-06 15:43:59 +02:00
Peter Van der Beken
996b501faf Fix for bug 534341 (XPConnect should not unroot globals of non-main thread contexts). r=bent. 2009-12-13 16:58:04 -08:00
Peter Van der Beken
9a6bc55b64 Fix for bug 508780 (Stop using tearoff from quickstubs for nsDOMCSSDeclaration/nsComputedDOMStyle), part 1. r=jst.
--HG--
extra : rebase_source : c08832cbf78e54b82a7bc3dd22e7bc8710ed8b29
2009-09-18 15:09:53 +02:00
Blake Kaplan
67c44c0769 Backed out changeset a01f270b961a to fix tinderbox orange. 2009-09-17 21:47:50 -07:00
Blake Kaplan
6d09f51003 Bug 505915 - Throw exceptions eagerly when we try to convert a cross-origin security wrapper to a C++ object. r=jst 2009-09-02 17:25:25 -07:00
Blake Kaplan
5e85bedc27 Bug 517163 - Add missing call to morph slim wrappers when wrapping them in XPCNativeWrappers. r+sr=jst 2009-09-17 18:51:10 -07:00
Blake Kaplan
5bc262e45e Bug 514081 - Don't overload the parent slot in SJOWs. r=jst 2009-09-01 19:03:53 -07:00
Luke Wagner
bca83949d6 Bug 543558 - Make sure we're in a request when calling JS_SaveFrameChain/JS_RestoreFrameChain. r=mrbkap 2010-02-04 16:37:43 -08:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Benjamin Smedberg
667f14f6d4 Bug 503451 - remove GeckoActiveXObject/COMObject, and similar functions which aren't usable by content except that content can still detect which COM objects are present on the system r=mrbkap sr=jst 2009-08-27 12:38:33 -07:00
Blake Kaplan
afba815d74 Merge tracemonkey to mozilla-central. 2009-09-16 16:15:59 -07:00
Blake Kaplan
5ee9e532ef Bug 516102 - Refactor XPCNativeWrapper's constructor into callable-from-JS and callable-from-C++ functions. r+sr=jst 2009-09-14 18:26:18 -07:00
Blake Kaplan
7615f61052 Fix bustage. 2009-09-11 17:03:53 -07:00
Blake Kaplan
3598007c8f Fix bustage from bug 509557. 2009-09-11 14:43:22 -07:00
Peter Van der Beken
44e0950903 Don't morph when not needed in GetWrapperForObject. r=mrbkap.
--HG--
extra : rebase_source : ebde1385b163dc11a6f976b6c2a0de1b617cf8b4
2009-11-09 15:12:47 +01:00
Olli Pettay
19050031e6 Bug 537595 - Quickstub .localStorage, r=honzab.moz@firemni.cz 2010-01-07 12:38:30 +02:00
Blake Kaplan
bfebb50319 Bug 509557 - Initialize the prototype's flags so that we can always assume that an XPCNativeWrapper's flags are integers. r=jst sr=bzbarsky 2009-08-18 21:02:05 -07:00
Blake Kaplan
439954f9eb Bug 509557 - Don't do a bunch of extra work and create a bunch of extra objects during window creation. 2009-08-18 21:02:05 -07:00
Blake Kaplan
79c31490dc Bug 515475 - Get rid of a spurious security check in js_InternalGetOrSet that isn't needed anymore. r=brendan 2009-09-10 14:47:19 -07:00
Blake Kaplan
71d5ed8b0d Bug 514554 - Don't skip state transitions without initializing members. r=peterv sr=jst 2009-09-10 14:09:35 -07:00
Shawn Wilsher
993694805d Bug 513710 - Places toolkit JS should use XPCOMUtils.defineLazy[Service]Getter
r=sayrer for XPCOMUtils change
r=mak for places changes

--HG--
extra : rebase_source : 70367abfaf16fcf37aab6f55f024b95ff3d269fa
2009-09-02 13:55:16 -07:00
Shawn Wilsher
287d6992b8 Bug 508850 - XPCOMUtils should provide a convenient way to define lazy getters
r=sayrer
sr=bsmedberg
2009-08-31 09:32:05 -07:00
Ben Newman
e5a024bacf Bug 500644 - PAC: crash when using PAC-based manual proxy config and the attached testcase. r=mrbkap sr=brendan
--HG--
extra : rebase_source : 68dbf79d8e257f3915b817723ca51deb840e4298
2009-08-27 18:07:44 -07:00
Ben Turner
6e6fa8eaec Enable ipcshell tests 2009-09-02 12:35:15 -07:00
Chris Jones
146dcb9c2d endow xpcshell with the power of GTK 2009-09-01 18:18:40 -05:00
Ben Turner
99f1c34f15 Rework ipcshell to become xpcshell 2009-08-28 16:16:19 -07:00
Peter Van der Beken
8b5c239aac Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00
Peter Van der Beken
e20a909c30 Remove debugging code for setters and methods to avoid weird behaviour from calling the native setters and methods twice.
--HG--
extra : rebase_source : bc087eb4c541411d5adc696b267295d4d172614e
2009-08-24 08:44:16 -07:00
Peter Van der Beken
06a3290ed7 Fix for bug 510673 (Add a quickstub for document.write). r/sr=jst.
--HG--
extra : rebase_source : 10b08ef2c45a0db19122851cd105a7580e499d0a
2009-08-14 19:55:43 +02:00
Peter Van der Beken
8b2510f3f2 Part 3 of fix for bug 459452 (Add support for optional arg count for IDL methods): add support for [optional_argc] to quickstubs. r=jst.
--HG--
extra : rebase_source : 59f7c2481353bbd2bd00397c6faf5f0860d32c8e
2009-08-10 16:41:15 +02:00
Johnny Stenback
039b7eb41d Part 2 of fix for bug 459452 (Add support for optional arg count for IDL methods): use [optional_argc] for DOM methods. r=peterv.
--HG--
extra : rebase_source : c0bc25842b2645fe9f42c9ed5d57567f8e6b5279
2009-08-10 16:41:12 +02:00
Johnny Stenback
3a9c44dbda Part 1 of fix for bug 459452 (Add support for optional arg count for IDL methods): add support for [optional_argc] to xpidl and XPConnect. r=sicking.
--HG--
extra : rebase_source : 3057c5af37ccb1bbdb022a0a3070122df3019d13
2009-08-10 16:41:07 +02:00
Taras Glek
0f83b72143 Bug 524313: crash [@ RaiseException ] nsFastLoadFileReader::ReadFooter r=brendan
--HG--
extra : rebase_source : d9f2f41d0c2dfc0e7a2d90c97789e66a38c3f43f
2009-10-26 12:35:12 -07:00
Blake Kaplan
2a51726b39 bug 504877 - Track a last minute change made to make more mochitests happy. 2009-10-27 04:22:07 -07:00
Blake Kaplan
fa51c49e3b Bug 504877 - Check for UniversalXPConnect access further down on the stack chain. r=jst sr=bzbarsky 2009-08-06 20:25:13 -07:00
timeless@mozdev.org
ecfc12513e Bug 514073 - [@ XPCIDispatchExtension::Enumerate], r=mrbkap 2009-10-26 18:39:24 -07:00
Boris Zbarsky
5ca7066094 Bug 523817. Make optional out params actually work and allow [retval] after [optional]. r=shaver 2009-10-23 16:24:47 -04:00
Robert Sayre
9eda7abe2f Merge tracemonkey to mozilla-central. 2009-08-25 09:52:56 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
David Anderson
744033066f Removed JSStackFrame::callee (bug 512029, r=brendan). 2009-08-24 17:09:44 -07:00
Serge Gautherie
3c1ea54617 Bug 495730 - xpcshell-tests: each test leaks 3 nsStringBuffer, after (harness) bug 483062 landing; (Ev1) xpcshell.cpp: s/null/nsnull/; bustage fix 2009-08-20 18:07:23 +02:00
Serge Gautherie
915501a755 Bug 495730 - xpcshell-tests: each test leaks 3 nsStringBuffer, after (harness) bug 483062 landing; (Dv2a) xpcshell.cpp: call crashReporter->SetEnabled(PR_FALSE); r=ted.mielczarek 2009-08-20 17:35:30 +02:00
Blake Kaplan
7073411c9d Bug 509075 - Update this function to use shiny new APIs that don't require multiple searches for the property. r=jorendorff sr=jst 2009-08-18 20:55:30 -07:00
Robert Sayre
86100e21e2 Merge mozilla-central to tracemonkey. 2009-08-20 18:02:17 -04:00
Andreas Gal
81c28c4fe8 Notify JS_CommenceRuntimeShutdown from CycleCollector (511522, r=graydon). 2009-08-19 15:13:02 -07:00
Andreas Gal
c438241025 Backout bug 506125. 2009-08-18 17:30:05 -07:00
Andreas Gal
1982bae71c Build fix for bug 506125. 2009-08-18 17:14:34 -07:00
Andreas Gal
57285268f7 Schedule GC based on process memory pressure (506125, r=igor,waldo). 2009-08-18 16:38:02 -07:00
Andreas Gal
ebc6f01967 Add an API to notify the JS engine that we are about to destroy the runtime (511252, r=brendan). 2009-08-18 16:31:20 -07:00
Robert Sayre
c582767e79 Merge mozilla-central to tracemonkey. 2009-08-14 17:49:42 -04:00
Hashem Masoud
c8f711113e Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Blake Kaplan
fd26ee6ac1 Fix bug 508752. r+sr=jst 2009-08-10 18:07:00 -07:00
Blake Kaplan
392333159f Bug 509824 - Don't call into the script security manager off the main thread. r=bent sr=jst 2009-08-18 20:53:15 -07:00
Jason Orendorff
eb983a642d Bug 509103 - Drop support for assigning to parameterized properties. r=shaver.
--HG--
extra : rebase_source : 1c1d756ed4a510414a561546d73d3989204c16cb
2009-08-13 16:05:25 -05:00
Brad Lassey
14569d27f4 bug 503137 - xpcshell.exe needs an --environ cli option to work with xpcshell unittests on windows mobile r+sr=mrbkap 2009-08-28 10:16:30 -04:00
Blake Kaplan
e6ad9883bf Bug 512589 - Initialize some more members. r=peterv sr=peterv 2009-08-27 12:45:34 -07:00
Benjamin Smedberg
0df64c6bc4 Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Zelgadis
c42718629c Bug 519926. When the string is an optional argument and isn't passed, pval is null. r=jorendorff 2009-10-14 14:27:34 -04:00
Blake Kaplan
04032a8e05 Bug 519901 - Add mochitests. 2009-10-13 14:14:24 -07:00
Blake Kaplan
99e0f23d60 Bug 519901 - Allow deleting props from XPCNativeWrappers. r=bzbarsky 2009-10-01 15:31:16 -07:00
Peter Van der Beken
cc92a01a8e Try to fix orange. 2009-10-13 11:01:02 +02:00
Peter Van der Beken
9929c9c84d Part 2 of fix for bug 517196 (The JSClass of wrappers shouldn't change when morphing from slim to XPCWrappedNative). r=mrbkap.
--HG--
extra : rebase_source : 8f79c1e9dfd541b9412bf7b7813acec6437f3f50
2009-10-12 17:16:31 +02:00
Peter Van der Beken
0398910587 Fix for bug 517196 (The JSClass of wrappers shouldn't change when morphing from slim to XPCWrappedNative). r=mrbkap.
--HG--
extra : rebase_source : 4f7978e3ed1335fc4f58478afc038fb63576581b
2009-09-18 12:43:48 +02:00
Robert Sayre
c8a923e58e Merge mozilla-central to tracemonkey. 2009-08-12 12:18:38 -07:00
Peter Van der Beken
16bf42fce4 Fix for bug 499199 (Try to avoid XPCCallContexts in quickstubs for wrapper-cached things). r/sr=jst.
--HG--
extra : rebase_source : 8fc828106f3cf5e82e902cefd79e55df2b8721c3
2009-08-10 12:12:59 +02:00
timeless@mozdev.org
6028fe0d79 Bug 505804 XPC_SJOW_Call leaks args if JS_GetFunctionObject(callWrapper) yields null
r=mrbkap
2009-08-12 11:49:53 +02:00
Boris Zbarsky
99d0bce640 Hack to make bug 509557 less annoying. 2009-08-11 13:25:14 -04:00
Jason Orendorff
84db361ea4 Bug 560643 - Part 3, add support for jsval XPIDL type. r=jst, sr=jst. 2010-06-18 15:29:21 -05:00
L. David Baron
ce5c0c48c2 Don't read before the beginning of a string in Atob. (Bug 494105) r=mrbkap 2009-12-26 19:03:57 -05:00
Blake Kaplan
a950e7cc20 Bug 536512 - Ignore security wrappers when computing instanceof. r=brendan
--HG--
extra : rebase_source : 685f05cbb79288a976242c2b4908023a7ed1b035
2009-12-23 14:09:08 -08:00
Blake Kaplan
55d140a7e2 Bug 536562 - Don't crash on null. r=dbaron
--HG--
extra : rebase_source : a8fb13c8024deb4c09bd592b91632cbee9bbeeda
2009-12-23 14:02:02 -08:00
Blake Kaplan
cc9abea83c Bug 535685 - Make xpcwrappedjs deal with dipper parameter properly. r=peterv
--HG--
extra : rebase_source : 4148e2fb15c57fedbb9d0eaf96f88d495a4d9b14
2009-12-17 16:31:07 -08:00
Blake Kaplan
c432d20805 Bug 529269 - Don't do anything special for toString, just forward it along. r=jst 2009-12-11 10:33:32 -08:00
Blake Kaplan
07c84d040f Bug 533596 - Implement XPCNativeWrapper.unwrap. r=peterv sr=jst 2009-12-14 13:58:50 -08:00
Blake Kaplan
726388b606 Bug 535746 - Make sure that the parent is the right object. r=jst sr=sicking 2009-12-22 16:54:06 -05:00
Igor Bukanov
6bfe4771cc bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff 2009-09-05 19:59:11 +04:00
Luke Wagner
6bfe9f9329 Bug 460904 - rename/tweak JSTraceableFunction (take 2) 2009-09-04 13:44:31 -07:00
Igor Bukanov
b919139e8d bug 511425 - removal of JSObjectOps.(get|set)RequiredSlot. r=brendan 2009-08-28 09:53:26 +04:00
Atul Varma
169e0bf289 Bug 505494 - Unwrap invisible wrappers when they're passed to Function.prototype.apply. r=mrbkap 2009-08-06 20:48:57 -07:00
Igor Bukanov
ef90f6f522 bug 493457 - uniform access to private slots. r=mrbkap, sr=jwalden 2009-08-04 23:06:55 +02:00
Robert Sayre
7ddae3093a Merge mozilla-central to tracemonkey. 2009-08-02 15:27:09 -07:00
Mark Steele
ff339aa3b6 Bug 497999: collect context-specific TraceVis data in JS objects, r=jorendorff 2009-07-30 11:48:02 -07:00
Boris Zbarsky
46de150a80 Backed out changeset 03c40c5a2d4b (bug 505988) to fix password manager test orange.
--HG--
extra : rebase_source : c88519859e51b9d49d0f2269085dbb17edabd1c1
2009-07-30 11:01:01 -04:00
Michael Kohler
13d4cc6cbd Bug 106386 - Correct misspellings in source code (old); Misspellings in /js/; r=mrbkap 2009-07-27 10:46:54 +02:00
Robert Sayre
710cad8b2a Merge tracemonkey to mozilla-central. 2009-07-24 13:42:38 -04:00
Robert Sayre
a181aec2ed Merge mozilla-central to tracemonkey. 2009-07-23 16:49:14 -04:00
Makoto Kato
240dd42e43 Bug 505680 - xpcshell for Symbian. r=mrbkap 2009-07-24 19:05:57 +09:00
Igor Bukanov
9534c3d315 bug 504033 - avoiding calling JSFinalizeStub. r=brendan 2009-07-22 18:23:21 +02:00
timeless@mozdev.org
145236e39f Bug 504474 JS_ValueToBoolean is void
r=brendan
2009-07-22 17:31:04 -05:00
timeless@mozdev.org
4ce3e7f582 Bug 496774 XPCJSRuntime::XPCJSRuntime shouldn't touch mJSRuntime without null checking something
r=bent sr=jst
2009-07-22 17:31:03 -05:00
timeless@mozdev.org
1f6f60b919 Bug 501593 update TestXPC to use Request Model
r=jorendorff sr=mrbkap
2009-07-22 17:31:02 -05:00
Benjamin Smedberg
4965608501 Bug 483202 - Load chrome from the GRE directory in xpcshell, r=ted 2009-07-17 10:41:26 -04:00
Daniel Jeter II
8f9209bc4f Bug 503186 - DeprecationWarning using Python 2.6, r=bsmedberg 2009-07-17 10:20:11 -04:00
Jesse Ruderman
2979b4fd10 Make uneval(window) always return something that can be evaled (bug 380959). r=mrbkap. 2009-07-14 13:30:32 -07:00
Peter Van der Beken
b831933504 Fix for bug 503170 (Make QS argument unwrapping use thisptr offsets). r=jorendorff, sr=jst.
--HG--
extra : rebase_source : 1bf030e9ea24fd8efa3fd14feef3632020a3a359
2009-07-09 16:26:19 +02:00
Peter Van der Beken
9eeb6bea74 Fix for bug 504146 (Crash [@ nsGenericElement::cycleCollection::Traverse] with focus() method, popup, menulist, treecols). r=jst, sr=mrbkap.
--HG--
extra : rebase_source : ccd7a76cceab3f1ab593e2918d3847e14e8c5c22
2009-07-17 12:17:46 +02:00
Vladimir Vukicevic
9b3959126b b=500472; flash activex shunt for Windows CE; r=jst 2009-07-16 14:13:29 -07:00
Peter Van der Beken
5a3a242c13 Fix for bug 503167 (Replace xpc_qsReadOnlySetter with js_GetterOnlyPropertyStub). r=jorendorff, sr=jst.
--HG--
extra : rebase_source : 448b7e44111c8261736156e76c9936030457c40a
2009-07-09 16:26:19 +02:00
Peter Van der Beken
2f1f9cb597 Fix for bug 503166 (XPCStringConvert::ReadableToJSString shouldn't allocate for empty string). r/sr=jst.
--HG--
extra : rebase_source : 76c08ffb3bced708ad8af9626b7dfcb3c3fae28f
2009-07-09 14:46:39 +02:00
Blake Kaplan
6e8862dc1e Add a crashtest for bug 503286. r=gal 2009-07-14 01:59:37 -07:00
Benjamin Smedberg
350cc29383 Bug 501657 - Put local python modules at the beginning of the python path, not the end, tested by Jory Pratt 2009-07-13 12:28:59 -04:00
L. David Baron
9a8d97752d Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv 2009-07-08 18:10:29 -07:00
Blake Kaplan
d97fd15843 Bug 505988. Don't unwrap when we shouldn't. r=bz
--HG--
extra : rebase_source : d251c442ba2fae0f9ffcae99c2c84d780c99ea52
2009-07-30 15:26:59 +12:00
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
L. David Baron
929be1c2f9 Add temporary debugging code to dump entire JS heap at shutdown to debug bug 538462. 2010-04-30 22:46:13 -07:00
Phil Ringnalda
51b3042614 Backed out changeset 9b18eada106e (bug 531303) on suspicion of orange 2010-04-30 20:23:18 -07:00
timeless@mozdev.org
dfa786fdd0 Bug 531303 - Instantiating a JS component from a background thread crashes (JS_ASSERT), r=mrbkap 2010-03-17 06:09:00 -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