Avi Halachmi
e0f25c9274
Bug 826383: cyclic array for frames recording to support concurrent users. r=jmuizelaar,khuey
2013-01-23 20:47:44 +02:00
Bobby Holley
d0c7862f5e
Bug 832041 - Remove nsJSContext::CompileEventHandler and move consumers to nsJSUtils::CompileFunction. r=bz
2013-01-23 07:12:50 +01:00
Kartikaya Gupta
8c0cc0fece
Bug 828126 - Enable ifdef'd code on Fennec now that dependent bugs have been fixed. r=avih
2013-01-23 00:52:19 -05:00
Ryan VanderMeulen
15f6602a90
Merge m-c to inbound.
2013-01-23 18:30:46 -05:00
Olli Pettay
9d51d0bb41
Bug 822849 - Don't run CC/GC timers during shutdown, r=mccr8
...
--HG--
extra : rebase_source : 173e02106457b6867db8c4cf734a93366f4b31dd
2013-01-22 21:17:48 +02:00
Bobby Holley
74699797c9
Bug 832435 - Fix compartment handling for EvaluteString and javascript: uris. r=bz
2013-01-21 12:56:28 +01:00
Boris Zbarsky
cc38c59fa3
Bug 828787. Stop allowing indexed expandos on windows. r=peterv
2013-01-22 15:29:53 -05:00
Andrew McCreight
761f71fca4
Bug 830595 - Add JSAutoCompartment to nsJSContext::ExecuteScript. r=bz
2013-01-22 11:48:46 -08:00
Steve Fink
9effec722d
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
2012-12-31 12:40:21 -08:00
Phil Ringnalda
c5ea080c1a
Back out 7dbbb6e3d240 (bug 832435) for assertion failures
2013-01-18 21:29:05 -08:00
Bobby Holley
bd138ef664
Bug 832435 - Fix compartment handling for EvaluteString and javascript: uris. r=bzbarsky
2013-01-18 23:33:26 -05:00
Steve Fink
d8da3e7b9a
Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!)
2013-01-18 13:20:21 -08:00
Steve Fink
0dee2fb42d
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
...
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Nicholas Nethercote
23f321407b
Bug 826521 (part 2) - Report memory used by event targets, especially XHRs. r=bz.
...
--HG--
extra : rebase_source : 543f0e367ce73477d62eca544137a101108a97be
2013-01-17 21:21:43 -08:00
Andrew McCreight
8e97e8e581
Bug 826471. Add JSAutoCompartment in nsWindowSH::NewResolve. r=bholley
2013-01-17 16:30:41 -08:00
Boris Zbarsky
06072bf404
Bug 823228 part 2. Move indexed property access on windows from nsWindowSH::GetProperty to the outer window proxy. r=bholley
2013-01-17 12:30:37 -05:00
Bobby Holley
6e038d2b99
Bug 824864 - Fix Ms2ger nits. r=me
2013-01-16 18:50:27 -08:00
Bobby Holley
9fce3b092f
Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz
2013-01-16 18:50:27 -08:00
Bobby Holley
2659d8fc54
Bug 824864 - Move responsibility for checking for JSVERSION_UNKNOWN to the one caller of EvaluateString that might pass it. r=bz
2013-01-16 18:50:26 -08:00
Bobby Holley
a26c078c60
Bug 824864 - Use an nsCxPusher in EvaluateString, and pull the principal off the target object. r=bz
...
This simplifies a lot of code, and makes the function scope-agnostic.
2013-01-16 18:50:26 -08:00
Bobby Holley
5515799556
Bug 824864 - Rename EvaluateStringWithValue to EvaluateString. r=bz
...
Now that there's only one of them, we can get rid of the silly suffix. \o/
2013-01-16 18:50:26 -08:00
Bobby Holley
746d5bebee
Bug 824864 - Remove unused optional arguments from nsIScriptContext::ExecuteScript. r=bz
...
This lets us get rid of a bunch of junk.
2013-01-16 18:50:26 -08:00
Bobby Holley
d3d15aa3fe
Bug 824864 - Remove nsIScriptContext::EvaluateString. r=bz
2013-01-16 18:50:26 -08:00
Bobby Holley
1f2a4747c6
Bug 824864 - Move existing consumers of EvaluateString over to EvaluateStringWithValue. r=bz
2013-01-16 18:50:26 -08:00
Bobby Holley
a14609b21a
Bug 824864 - Improve the API for EvaluateStringWithValue. r=bz
...
There are a few changes we make here:
1 - Having callers pass JS::CompileOptions directly.
2 - Removing aUndefined, which makes no sense and is unused by consumers.
3 - Making aScopeObject and aRetValue non-optional, via references.
3 - Adding an argument to optionally coerce the return value to a string.
Coercing jsvals to strings is the reason we currently have two nearly-identical
functions, EvaluateString and EvaluateStringWithValue, since the coercion can
trigger arbitrary script and thus needs to be bracketed by all the junk that
nsJSContext does. However, if callers can be guaranteed that the return value
will be a bonafide string, then they can easily extract the string themselves
if they so desire. This will allow us to combine the two functions.
2013-01-16 18:50:26 -08:00
Bobby Holley
5a19a07bef
Bug 824864 - Move consumers of CompileFunction to the nsJSUtils version, and kill the nsJSContext version. r=bz
...
Note that the three consumers were all XBL, and were all passing aShared = true,
which had the effect of passing null for the target object. So we actually want
to pass JS::NullPtr() (the HandleObject version of nullptr) instead of
aClassObject in order to maintain the old behavior (whatever that is).
2013-01-16 18:50:25 -08:00
Bobby Holley
baf74b5ce0
Bug 824864 - Hoist the guts of CompileFunction into nsJSUtils. r=bz
2013-01-16 18:50:25 -08:00
Trevor Saunders
83bcbe0d6b
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Gary Kwong
521929f375
Bug 831472 - Add another null check to nsGlobalWindow::GetInnerScreenRect(). r=smaug
2013-01-16 13:44:26 -08:00
David Zbarsky
8826c06ce1
Bug 827174 - Remove nsIDOMSVGLocatable and nsIDOMSVGTransformable r=bz
2013-01-16 15:51:00 -05:00
David Zbarsky
e10b65b185
Bug 827172 - Convert SVGPathElement to WebIDL r=bz
2013-01-16 15:50:59 -05:00
Ed Morley
84b7b29fbf
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2013-01-16 20:22:54 +00:00
Olli Pettay
fef0029520
Bug 830858 - Implement a generic way to dispatch events to chrome only, r=jst
2013-01-16 11:27:06 +02:00
Panos Astithas
ee55ec9122
Merge m-c to fx-team
2013-01-16 10:13:29 +02:00
Olli Pettay
b70de8d5a7
Bug 830948, null check mDocshell before using it, r=bz
...
--HG--
extra : rebase_source : ea20dabe0ec39b3b98fab07e72b0f1f51f9d32a8
2013-01-16 01:12:14 +02:00
Mihai Sucan
259732578f
Bug 787985 - Console API messages are not consistent; r=past
2013-01-15 16:02:25 +02:00
Trevor Saunders
84fd122dde
bug 830396 - add back nsIDOMCSSValueList r=bz
2013-01-14 12:29:27 -05:00
Phil Ringnalda
dfaf3bab2c
Back out ecac2ce4eada (bug 828126) for busting b2g's arm
2013-01-13 17:48:33 -08:00
Kartikaya Gupta
3a5e8a2d07
Bug 828126 - Remove ANDROID special-casing now that dependent bugs have been fixed. r=avih
2013-01-13 19:19:03 -05:00
David Zbarsky
5d03b3664d
Bug 827724 - Remove nsIDOMSVGAnimatedPoints r=bz
2013-01-12 17:21:53 -05:00
Ryan VanderMeulen
d5134b0105
Merge m-c to inbound.
2013-01-15 19:44:40 -05:00
Boris Zbarsky
3a50cb6afb
Bug 830553. Make the asserts in nsWrapperCache.h fatal. r=mccr8
2013-01-15 14:04:24 -05:00
Trevor Saunders
138e996dfc
no bug - remove a bunch of extra ';'s to make -pedantic happy
2013-01-11 05:14:04 -05:00
Trevor Saunders
0e12472abd
bug 828138 - GetCurrentSelection() should return Selection* r=smaug
2012-12-19 17:55:44 -05:00
Ehsan Akhgari
b9c1d100b9
Merge mozilla-central into mozilla-inbound
2013-01-15 09:10:19 -05:00
Olli Pettay
1defaa48e6
Bug 825544: backout Bug 825544, Bug 825544, Bug 765192 and Bug 808035 to bring back the old .location=val behavior, r=bz
2013-01-15 13:46:35 +02:00
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
David Zbarsky
de74b8ded9
Bug 830231 - Remove nsIDOMDOM(Settable)TokenList r=bz
2013-01-15 03:35:59 -05:00
Nicholas Nethercote
e7d64e972a
Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar.
...
--HG--
extra : rebase_source : 53a77ea456f2aedafe05954ceece7e64db743e66
2013-01-14 16:26:47 -08:00
Andrew McCreight
336d6d78cf
Bug 827541 - Traverse/Unlink nsGlobalWindow::mAudioContexts. r=ehsan
2013-01-14 15:22:00 -08:00