Commit Graph

13052 Commits

Author SHA1 Message Date
Paul Adenot
aa9245764b Bug 829042 - Remove dead PlaybacKRateChanged member. r=cpearce 2013-01-18 16:57:17 +01:00
Paul Adenot
5163604caa Bug 793274 - Make sure to have enough frames pushed to the AudioStream before starting it. r=kinetik 2012-11-26 15:13:08 +01:00
Paul Adenot
56960da2a6 Bug 822933 - Properly check if a WebM file has cues. r=kinetik 2012-12-23 16:51:17 +01:00
Paul Adenot
74ac2ddc1a Bug 826349 - Make video keep its muted state after seeking. r=kinetik 2013-01-18 16:57:17 +01:00
Henri Sivonen
10a04a0909 Bug 234628 part 2 - Make manual encoding overrides not apply to internal URL schemes or to docs declared as UTF-16 on the HTTP level; make docshells able to report when the encoding menu should be disabled. r=bzbarsky. 2013-01-18 16:27:03 +02:00
Ehsan Akhgari
123c2005b1 Remove a trailing comma from the ColorFormat enum in order to prevent compiler warnings, no bug 2013-01-18 09:13:26 -05:00
Paul Adenot
c4835a573f Bug 821737 - r=kinetik 2013-01-18 14:21:47 +01:00
Nicholas Nethercote
3dca3123e6 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
Mark Finkle
8237809a34 Backout 3b91d62ca343 and 662d0cd47316 for test failures 2013-01-17 20:44:46 -05:00
Mark Finkle
30f32f5d6a Bug 831123 - Disable CSS error reporting by default to improve pageload performance (more test failures) r=me 2013-01-17 19:39:23 -05:00
Andrew McCreight
05e8c2424b Bug 830399. Add JSAutoCompartment in nsXMLHttpRequest::GetInterface. r=bz 2013-01-17 16:30:41 -08:00
Timothy Nikkel
ac1905d317 Bug 784591. Part 2. Don't track images that don't have a frame created. r=jlebar 2013-01-17 17:58:37 -06:00
Timothy Nikkel
d85f392527 Bug 784591. Part 1.5. Remove the SHOULD_BE_TRACKED bit and just always track non-null requests. r=joe,khuey
Also assert that the request is null when we do not track it.
2013-01-17 17:58:35 -06:00
Chris Double
b7d00eddb1 Bug 831640 - Remove unused AddRef/Release methods on MediaDecoderReader - r=ehsan 2013-01-17 17:46:00 +13:00
Milan Sreckovic
246bd7a470 Bug 803568: Check for Cairo surface creation failure. r=bas 2013-01-17 14:38:38 +01:00
Nathan Froyd
88ad946f05 Bug 831441 - delete unused variable in nsDOMStyleSheetSetList::GetSets; r=Ms2ger 2013-01-16 15:09:02 -05:00
Randell Jesup
da209aea3d Bug 831427: Gate RemoveListener(stream) to avoid calling if Destroy() pending r=roc 2013-01-17 02:38:21 -05:00
Rik Cabanier
be4a743c58 Bug 827053 - Add support for winding in fill + clip + isPointInPath + tests the feature. r=bas 2013-01-16 21:55:43 -05:00
Bobby Holley
981f7eda15 Bug 824864 - Fix Ms2ger nits. r=me 2013-01-16 18:50:27 -08:00
Bobby Holley
cecccc3751 Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz 2013-01-16 18:50:27 -08:00
Bobby Holley
2af1ceaef4 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
cbd37c2417 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
1c16565b99 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
8f80755c52 Bug 824864 - Move existing consumers of EvaluateString over to EvaluateStringWithValue. r=bz 2013-01-16 18:50:26 -08:00
Bobby Holley
9ae831b5d4 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
a7a75b2cec 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
1d5c9aeac3 Bug 824864 - Implement nsContentUtils::GetObjectPrincipal. r=bz
The SSM interface is super awkward.
2013-01-16 18:50:25 -08:00
Bobby Holley
85b3a83b16 Bug 825395 - Add debug checking for interleaved nsCxPusher and JSAutoEnterCompartment. r=bz,luke 2013-01-16 18:50:25 -08:00
David Zbarsky
5797284cf1 Bug 821955 r=longsonr
--HG--
rename : content/svg/content/src/DOMSVGPoint.cpp => content/svg/content/nsISVGPoint.cpp
rename : content/svg/content/src/DOMSVGPoint.cpp => content/svg/content/src/nsISVGPoint.cpp
2013-01-16 20:35:24 -05:00
David Zbarsky
ffe78a488d Bug 830181: SVGSymbolElement should QI to SVGTests r=me 2013-01-16 20:02:59 -05:00
Trevor Saunders
b98e34aed0 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
David Zbarsky
1fd6f576ea Bug 830230 - Convert SVGPatternElement to WebIDL r=bz 2013-01-16 15:51:00 -05:00
David Zbarsky
a9dc213100 Bug 827174 - Remove nsIDOMSVGLocatable and nsIDOMSVGTransformable r=bz 2013-01-16 15:51:00 -05:00
David Zbarsky
736be515c3 Bug 830230: Move SVGPatternElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGPatternElement.cpp => content/svg/content/src/SVGPatternElement.cpp
rename : content/svg/content/src/nsSVGPatternElement.h => content/svg/content/src/SVGPatternElement.h
2013-01-16 15:51:00 -05:00
David Zbarsky
41ec5dbc06 Bug 830181 - Convert SVGSymbolElement to WebIDL r=bz 2013-01-16 15:50:59 -05:00
David Zbarsky
f1c7856abe Bug 830181: Move SVGSymbolElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGSymbolElement.cpp => content/svg/content/src/SVGSymbolElement.cpp
rename : content/svg/content/src/nsSVGSymbolElement.cpp => content/svg/content/src/SVGSymbolElement.h
2013-01-16 15:50:59 -05:00
David Zbarsky
d0e90dff8c Bug 827172 - Convert SVGPathElement to WebIDL r=bz 2013-01-16 15:50:59 -05:00
David Zbarsky
173b3e4951 Bug 827182: Convert SVGUseElement to WebIDL 2013-01-16 15:50:59 -05:00
David Zbarsky
fa84ffe89e Bug 827182: Move SVGUseElement to mozilla::dom
--HG--
rename : content/svg/content/src/nsSVGUseElement.cpp => content/svg/content/src/SVGUseElement.cpp
rename : content/svg/content/src/nsSVGUseElement.h => content/svg/content/src/SVGUseElement.h
2013-01-16 15:50:58 -05:00
Ehsan Akhgari
1f9d5a9001 Bug 827158 - Part 3: Move the ValidityState API to Web IDL bindings; r=bzbarsky 2013-01-16 13:01:01 -05:00
Ed Morley
3de1bf91c3 Backout b3a8618f901c (bug 829042), 34a9ef8f929d (bug 822933), 4c1215cefbab (bug 826349), 70bb7f775178 (bug 825325), e9c8447fb197 (bug 828713), eb6ebf01eafe (bug 828901), f1f3ef647920 (bug 825329), f9d7b5722d4f (bug 825329), 5add564d4546 (bug 819377), 55e93d1fa972 (bug 804875), f14639a3461e (bug 804875), 23456fc21052 (bug 814308) for Windows pgo-only mochitest-1 media test timeouts on a CLOSED TREE 2013-01-16 15:16:23 +00:00
Ed Morley
c426b73a77 Backout 1abf4c88f8f1 (bug 793274) on suspicion of causing win pgo-only mochitest-1 media test timeouts 2013-01-16 10:44:06 +00:00
Ehsan Akhgari
ba135e36ee Bug 827158 - Part 2: Rename nsDOMValidityState to mozilla::dom::ValidityState; r=bzbarsky
--HG--
rename : content/html/content/src/nsDOMValidityState.cpp => content/html/content/src/ValidityState.cpp
rename : content/html/content/src/nsDOMValidityState.h => content/html/content/src/ValidityState.h
extra : rebase_source : 47640d8fd5e847af646949335f0fe19722101f47
2013-01-06 14:20:02 -05:00
Ehsan Akhgari
4de9f80292 Bug 827158 - Part 1: Rename nsHTMLObjectElement to mozilla::dom::HTMLObjectElement; r=bzbarsky
--HG--
rename : content/html/content/src/nsHTMLObjectElement.cpp => content/html/content/src/HTMLObjectElement.cpp
extra : rebase_source : 319fcf308e4d93f05b9391ac50c44d66645fd386
2013-01-06 13:43:40 -05:00
Ehsan Akhgari
efe0de99ea Backed out 2 changesets (bug 827158) because I forgot to rename the files properly
Backed out changeset 4b3fc69a1893 (bug 827158)
Backed out changeset a1c95996fc3e (bug 827158)
2013-01-16 01:10:54 -05:00
Ehsan Akhgari
05d64ee278 Bug 827158 - Part 2: Rename nsDOMValidityState to mozilla::dom::ValidityState; r=bzbarsky 2013-01-06 14:20:02 -05:00
Ehsan Akhgari
34c375426a Bug 827158 - Part 1: Rename nsHTMLObjectElement to mozilla::dom::HTMLObjectElement; r=bzbarsky 2013-01-06 13:43:40 -05:00
Matthew Gregan
9036474989 Bug 826104 - Fix audio thread shutdown crash. r=roc 2013-01-14 18:25:02 +13:00
David Zbarsky
465aa0984e Bug 828815: Restore functionality of | SVGElement[onxxx] = Function | r=bz 2013-01-15 16:03:02 -05:00
Jason Duell
baa138a1da Bug 830920 - Reduce running time of test_websocket_basic.html r=smaug DONTBUILD 2013-01-15 12:16:55 -08:00