Commit Graph

351 Commits

Author SHA1 Message Date
Ms2ger
1d8862426a Bug 694781 - Make nsIScriptContext::ExecuteScript's second parameter a JSObject; r=volkmar 2011-10-29 22:10:49 +02:00
Ms2ger
c7f3724edd Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug 2011-10-29 22:09:04 +02:00
Ms2ger
a1518ac8a3 Bug 694759 - Make nsIScriptContext::GetNativeGlobal return JSObject; r=jst 2011-10-29 22:06:17 +02:00
Igor Bukanov
f6069afec0 bug 684529 - remove script object. r=jorendorff 2011-09-22 12:08:55 +02:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Peter Van der Beken
6368070124 Fix for bug 694009 (crash mozilla::dom::binding::instanceIsProxy) - clear cache when wrapper is finalized. r=mrbkap. 2011-10-13 15:36:09 +02:00
Peter Van der Beken
22f5dbe67d Stop including nsDOMClassInfo.h all over the place. 2011-10-03 21:11:31 +02:00
Brian Hackett
f09093ee2c Fix --enable-functiontimer build, bug 690943. 2011-10-06 07:54:35 -07:00
Brian Hackett
0ec9245d43 Remove jsobj.h from installed headers, bug 690943. r=luke 2011-10-04 07:06:54 -07:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Chris Leary
dda8d900f5 Bug 684039: Don't use JSArenaPool in nsJSEnvironment. (r=mrbkap) 2011-09-22 15:13:36 -07:00
Igor Bukanov
a663d9fa7f bug 678830 - Use JSScript, not script objects, in compile/evaluate API. r=jorendorff 2011-09-02 08:46:00 +02:00
Ms2ger
6057ede4ed Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Steve Fink
019dd6d0c6 Bug 686571 - Add options javascript.options.pccounts.content and javascript.options.pccounts.chrome for controlling JSOPTION_PCCOUNTS (r=dmandelin) 2011-09-07 16:58:28 -07:00
Blake Kaplan
5d5eb6cc1b Bug 682946 - Remove useless flags local. r=jst 2011-09-02 16:51:10 -07:00
Jason Orendorff
b6034d81df Fix stranded use of recently-deleted GET_FUNCTION_PRIVATE macro, in #ifdef NS_FUNCTION_TIMER code, spotted by dietrich. See bug 513014 comment 1. 2011-09-01 11:31:14 -05:00
Brian Hackett
e41af72a83 Merge MC -> JM 2011-08-29 18:41:32 -07:00
Brian Hackett
977319febf Merge MC -> JM 2011-08-26 11:23:35 -07:00
Boris Zbarsky
2aba0d8d52 Bug 659350 part 5. The guts of the change to move from storing inline event handlers on the JSObject to storing them in the event listener manager directly, so we can easily set/read them via IDL.
The changes here are as follows:
1) nsIJSEventListener now stores the handler.  This is guaranteed to be already bound properly, if needed, before being set in the nsIJSEventListener.
2) The old classinfo glue to deal with on* properties is gone.
3) IDL-based methods for on* properties have been added.
2011-08-24 15:49:25 -04:00
Mihai Sucan
80dd1964e2 Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Brian Hackett
e65820919b Merge MC -> JM 2011-08-21 16:00:26 -07:00
Brian Hackett
985611c92e Merge MC -> JM 2011-08-12 07:20:08 -07:00
Ms2ger
2cecbb3535 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Brian Hackett
e55eec1dbb Merge MC -> JM 2011-08-09 13:29:11 -07:00
Michael Wu
9e3770c179 Bug 675567 - Fix PRBool/JSBool mixups, r=mrbkap 2011-08-03 18:59:10 -07:00
Brian Hackett
35603587fa Merge MC -> JM 2011-08-02 09:08:05 -07:00
Brian Hackett
f0ce5ff29e Merge MC -> JM. 2011-07-28 18:10:31 -07:00
Steve Fink
657c83e57a Bug 673631 - Clean up probes and register (almost) all profiler control entry points in JS_DefineProfilingFunctions (r=luke,waldo,jst)
Previously, JS_DefineProfilingFunctions only defined a very basic set of
functions (startProfiling and stopProfiling), and various scattered places
added more specific ones (start/stop vtune, dumpProfile, etc.) This patch makes
jsdbgapi do all of it, so that all users get the same set.

Also rename JS_DumpProfile -> JS_DumpBytecode to avoid name conflict. The
bytecode dumps are how the counters ("profiles") are displayed, so the
DumpProfile name was bogus anyway.
2011-07-26 15:56:09 -07:00
Brian Hackett
91605d7192 Merge MC -> JM 2011-07-21 18:53:37 -07:00
Neil Rashbrook
db30c5c089 Bug 675179 nsJSContext::ExecuteScript failes to report pending exceptions r=bz 2011-07-30 23:32:00 +01:00
Ben Turner
e8afb778cc Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap.
* * *
Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap. Add workaround for bug 666963.
2011-07-17 15:09:13 -04:00
Brian Hackett
b4f1169cc2 Merge MC -> JM 2011-07-15 14:40:15 -07:00
Ehsan Akhgari
6290b4cdc9 Backout changeset fdddabd345b9 and changeset 3857a4309fc3 (bug 649537) because of three mochitest-3 intermittent failures which seem to be caused by this on Windows debug builds 2011-07-18 18:14:59 -04:00
Ben Turner
ce590b78bc Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap. 2011-07-17 15:09:13 -04:00
Matheus Kerschbaum
200b657e7d Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Brian Hackett
f67cd0c0cc Merge TM -> JM 2011-07-01 16:24:32 -07:00
Brian Hackett
2d9ff9b8d2 [INFER] Fix merge botch, only warn once for each script accessing undefined properties in contexts with the strict option set, bug 662393. 2011-06-06 17:12:49 -07:00
Brian Hackett
c9e331615d Merge TM -> JM 2011-06-06 16:47:40 -07:00
Chris Leary
fcfe24bd53 Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07:00
Brian Hackett
27d459d8f9 Merge TM -> JM 2011-06-02 12:59:28 -07:00
Steve Fink
f855de60e9 Bug 671046 - unwrap function objects if needed before JS_GetFunctionId for NS_FUNCTION_TIMER (r=mrbkap) 2011-07-07 11:30:43 -07:00
Ehsan Akhgari
e78d693c88 Backout changeset 7c1a923bea13 (bug 649537) because of mochitest-3 and mochitest-oth oranges 2011-07-12 14:25:53 -04:00
Ben Turner
191e3fbc1f Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap. 2011-07-12 12:32:14 -04:00
Brian Hackett
2c1bfca902 Merge TM -> JM 2011-05-22 08:59:06 -07:00
Wes Kocher
6f728a8bed Bug 661690. Add preferences for gczeal frequency and whether the gczeal gc should be a per-compartment gc. r=wmccloskey 2011-07-21 17:31:36 -04:00
Daniel Holbert
845f5086ad Bug 658849 followup: Remove one more instance of harmless "WARNING: Failed to create timer" message that gets spammed on shutdown. r=gal 2011-05-31 17:42:46 -07:00
Bill McCloskey
b5ae159ad1 Bug 650978 - Add gczeal setting to GC on every allocation (r=gwagner) 2011-06-01 17:48:52 -07:00
Brian Hackett
16527b9127 Merge TM -> JM 2011-05-11 20:37:23 -07:00
Gregor Wagner
2d18ea7192 Bug 603916 - unifying GC sheduling. r=igor 2011-05-10 22:37:11 -07:00
Brian Hackett
34017f15b0 Merge TM -> JM 2011-05-09 09:49:48 -07:00