Commit Graph

91 Commits

Author SHA1 Message Date
Brian Hackett
586dafd5c1 Add about:memory reporters for per compartment shape tables, bug 704372. 2011-11-21 20:29:05 -05:00
Brian Hackett
299ac2bf87 Merge MC -> JM 2011-11-18 18:02:40 -08:00
Brian Hackett
2f44413ef8 Mark uncacheable prototypes on objects whose prototype has dynamically changed, bug 703047. 2011-11-18 13:28:07 -08:00
Brian Hackett
fdac79a1f2 Avoid shape changes on XPConnect wrapper prototype changes, bug 703047. 2011-11-16 12:52:47 -08:00
Brian Hackett
57fdfc58fd Clear XPCWrappedNativeScope fields to avoid accessing freed arenas during destruction, no bug. r=billm 2011-11-14 17:06:53 -08:00
Ed Morley
1c87228e23 Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-16 11:02:43 +00:00
Ms2ger
d2ea6246bf Bug 672796 - Move MOZILLA_GUARD_OBJECT_NOTIFIER_* out of AutoRestore.h; r=khuey 2011-11-16 08:50:19 +01:00
Ms2ger
b97f7f7801 Bug 702106 - Remove xpc_CloneJSFunction; r=bholley 2011-11-16 08:50:18 +01:00
Ms2ger
2424957995 Bug 701735 - xpc_qsJsvalToWcharStr shouldn't const_cast; r=bz 2011-11-16 08:50:18 +01:00
Brian Hackett
3afca6b036 Merge MC -> JM 2011-11-14 09:13:33 -08:00
Brian Hackett
150d8e2a1c Add missing #include, no bug. 2011-11-10 18:30:52 -08:00
Brian Hackett
4c9a62a527 Merge MC -> JM 2011-11-10 12:06:26 -08:00
Brian Hackett
e97942a3eb Add GetGlobalForObjectCrossCompartment for use in XPConnect, no bug. r=luke 2011-11-09 18:42:42 -08:00
Justin Lebar
a19acfd732 Bug 586010 - Send dump() output to Android device log. r=bz
--HG--
extra : rebase_source : f1712d831aaa6fbd8e1bfd6060fbb4aa951ccb74
2011-11-09 19:27:08 -05:00
Brian Hackett
5226910bd6 Replace uses of GetObjectGlobal with JS_GetGlobalForObject, no bug. 2011-11-09 10:34:54 -08:00
Brian Hackett
13b09a53da Address bug 638316 and bug 694247 review comments, r=luke. 2011-11-09 09:52:59 -08:00
Boris Zbarsky
233aceff84 Bug 699528. Make pausing/unpausing JSD try to turn off/on debug mode as needed. r=sfink
The new boolean argument to SetDebugModeWhenPossible is needed because if we allow sync-disable of debug mode we seem to crash when loading pages with Firebug active.
2011-11-09 16:11:39 -05:00
Terrence Cole
2dcbf80d34 Bug 702480 - Fix description of js-gc-heap-unused-fraction; r=njn
--HG--
extra : rebase_source : bf479d6df1b903b148b807757aa8702aa2db9a8d
2011-11-14 17:28:27 -08:00
Brian Hackett
dbfdcee71e Add memory reporter for base shapes, bug 699210. 2011-11-02 13:32:05 -07:00
Brian Hackett
d24ffb5376 Merge MC -> JM
--HG--
rename : js/src/frontend/BytecodeGenerator.cpp => js/src/frontend/BytecodeEmitter.cpp
rename : js/src/frontend/BytecodeGenerator.h => js/src/frontend/BytecodeEmitter.h
rename : js/src/frontend/Parser.cpp => js/src/frontend/SemanticAnalysis.cpp
2011-11-02 09:23:25 -07:00
Brian Hackett
9a4eccd90e Merge. 2011-10-27 14:17:19 -07:00
Brian Hackett
8e5e57fc40 Merge MC -> JM 2011-10-27 14:16:02 -07:00
Brian Hackett
301e88a033 Clean up API for creating natives with reserved slots, fix uses in CTypes and jsworkers shell, bug 697537. 2011-10-27 11:14:56 -07:00
Brian Hackett
914cb44c0c Remove JSFunction fixed slots and unused fields, bug 697537. 2011-10-26 13:02:57 -07:00
Nicholas Nethercote
dbd773b4ff Bug 684800 - Measure slop in TI-related JS memory reporters. r=bhackett. 2011-11-01 21:59:43 -07:00
Ms2ger
567f4260b6 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Jonas Sicking
0588c874fd Bug 687400: Kill Node.isSameNode. r=smaug 2011-10-28 19:52:27 -07:00
Doug Sherk
1c15893d0b Bug 656824: Implemented ARB_robustness to detect driver resets in WebGL, only on GLX for now - r=bjacob
This patch implements ARB_robustness on GLX and allows scripts to handle driver resets
through events. The changes in this patch are very sweeping; they hit almost
every NS_IMETHODIMP function within WebGLContextGL.cpp and WebGLContext.cpp.
More work must be done on this to support EGL_CONTEXT_LOST.
2011-10-26 16:00:44 -04:00
Boris Zbarsky
fd2696ae97 Bug 697244. Quickstub nsIDOMWindow.self. r=peterv 2011-10-26 15:34:22 -04:00
Boris Zbarsky
b079ce7195 Bug 697351. Implement has() on the nodelist proxy handler so that we don't have to do the property descriptor song and dance for it. r=peterv 2011-10-26 08:47:10 -04:00
Brian Hackett
67f4c3499e Fix OPT build break. 2011-10-20 07:38:44 -07:00
Brian Hackett
45e7531bb4 Merge MC -> JM
--HG--
rename : js/src/jsparse.cpp => js/src/frontend/BytecodeCompiler.cpp
rename : js/src/jsparse.h => js/src/frontend/BytecodeCompiler.h
rename : js/src/jsemit.cpp => js/src/frontend/BytecodeGenerator.cpp
rename : js/src/jsemit.h => js/src/frontend/BytecodeGenerator.h
rename : js/src/jsparse.cpp => js/src/frontend/FoldConstants.cpp
rename : js/src/jsparse.cpp => js/src/frontend/ParseNode.cpp
rename : js/src/jsparse.h => js/src/frontend/ParseNode.h
rename : js/src/jsparse.cpp => js/src/frontend/Parser.cpp
rename : js/src/jsparse.h => js/src/frontend/Parser.h
rename : js/src/jsregexpinlines.h => js/src/vm/RegExpObject-inl.h
rename : js/src/jsregexp.cpp => js/src/vm/RegExpObject.cpp
rename : js/src/jsregexp.h => js/src/vm/RegExpObject.h
rename : js/src/xpconnect/src/xpcjsruntime.cpp => js/xpconnect/src/XPCJSRuntime.cpp
rename : js/src/xpconnect/src/xpcquickstubs.cpp => js/xpconnect/src/XPCQuickStubs.cpp
rename : js/src/xpconnect/src/nsXPConnect.cpp => js/xpconnect/src/nsXPConnect.cpp
2011-10-19 14:26:08 -07:00
Ted Mielczarek
b89ad0aa81 bug 695685 - Make JS module/component dump go to stdout and flush. r=mrbkap 2011-10-19 10:01:24 -04:00
Jesse Ruderman
4a98a7e828 Bug 675553 followup: remove tautologous assertions. r=ehsan 2011-10-24 16:21:09 -07:00
Igor Bukanov
73466befa4 bug 684529 - remove script object. r=jorendorff 2011-09-22 12:08:55 +02:00
Blake Kaplan
fcc6580746 Bug 665279 - Resolve interface constants properly through Xray wrappers. r=peterv 2011-09-21 19:16:50 -07:00
Bill McCloskey
8e7a5d934a Bug 641027 - Add snapshot-at-the-beginning write barriers for incremental GC (r=luke,bhackett) 2011-10-25 16:07:42 -07:00
Marco Bonardo
824c514d6a Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-21 10:00:11 +02:00
Kyle Huey
0d874b65fa Bug 687361: Implement the new IndexedDB setVersion API. r=bent
--HG--
rename : dom/indexedDB/nsIIDBVersionChangeRequest.idl => dom/indexedDB/nsIIDBOpenDBRequest.idl
2011-10-20 12:10:56 -04:00
Nicholas Nethercote
d88a09cc15 Bug 697016 - Add js-total-* memory reports. r=bhackett. 2011-10-27 22:20:36 -07:00
Nicholas Nethercote
71761b057d Bug 697016 - Refine per-compartment JS reporters. r=bhackett. 2011-10-27 22:19:57 -07:00
Bobby Holley
89ea734227 Bug 693341 - Test arrays of iid_is params. r=khuey 2011-10-27 12:43:38 -07:00
Bobby Holley
81c5f8dec4 Bug 693341 - Improve array and interface comparisons. r=khuey 2011-10-27 12:43:38 -07:00
Bobby Holley
27f9426f0d Bug 693341 - Test iid_is(). r=khuey 2011-10-27 12:43:38 -07:00
Bobby Holley
cf9b21258c Bug 693341 - Test interface arrays. r=khuey 2011-10-27 12:43:38 -07:00
Bobby Holley
861e7fe821 Bug 693341 - Introduce a few test interfaces. r=khuey 2011-10-27 12:43:38 -07:00
Bobby Holley
111300afed Bug 693341 - Test sized strings. r=khuey 2011-10-27 12:43:38 -07:00
Bobby Holley
45a2065742 Bug 693341 - Test arrays of strings. r=khuey 2011-10-27 12:43:38 -07:00
Bobby Holley
4a037879ae Bug 693341 - Test arrays of arithmetic types. r=khuey 2011-10-27 12:43:38 -07:00
Bobby Holley
ce12690e72 Bug 693341 - Use comparators for everything in test_params.js. r=khuey 2011-10-27 12:43:38 -07:00