Commit Graph

3853 Commits

Author SHA1 Message Date
Mounir Lamouri
b879e83ec0 Bug 885996 - 2/2 - Tests. r=smaug 2013-07-08 15:12:53 -04:00
Mounir Lamouri
9bedd9a6bd Bug 885996 - 1/2 - Interaction between nsIColorPicker and content. r=smaug 2013-07-08 15:12:18 -04:00
Ryan VanderMeulen
1535656679 Backed out changeset abdcad6d6fb4 (bug 868611) for mochitest crashes. 2013-07-07 19:34:41 -04:00
Rick Eyre
324b1a63c1 Bug 880094 - Provide a stable state for HTMLTrackElement asynchronous functions. r=cpearce
- Removed HTMLMediaElement::AsyncAwaitStableState and exposed a new method,
HTMLMediaElement::RunInStableState, that allows any nsIRunnable to run on
the app shell and take advantage of IsCancelled() code in an nsMediaEvent.
- HTMLTrackElement now uses this to call HTMLTrackElement::LoadResource.
- Changed test_texttrackcue.html to listen for MediaElement's "loadedmetadata"
to ensure that we wait until the cues are loaded before testing and set
preload=auto to get it to pass on Android.
2013-06-27 21:05:03 -04:00
Rick Eyre
bdb7906a32 Bug 868611 - Implement HTMLTrackElement::UbindFromTree. r=rillian
Update HTMLTrackElement::UnbindFromTree to remove its TextTrack from
its HTMLMediaElement's list of TextTracks.
2013-06-24 11:35:58 -04:00
Phil Ringnalda
91b0bf61c4 Backed out changeset 5ea64b6ba89b (bug 889201) for too-frequent failures 2013-07-05 14:24:50 -07:00
Matthew Gregan
2b4050c81d Bug 889201 - Add tests for VideoPlaybackQuality. r=roc 2013-07-05 12:24:55 +12:00
Matthew Gregan
c14ecacbae Bug 889205 - Change HTMLVideoElement.videoPlaybackQuality attribute to getVideoPlaybackAttribute method to reflect the current spec. r=roc 2013-07-05 12:24:35 +12:00
Masatoshi Kimura
c4547c9358 Bug 889148 - Remove legacy QS/classinfo bits from events even more. r=smaug, peterv 2013-07-05 07:53:59 +09:00
Matthew Gregan
3e86a235cc Bug 855130 - Integrate MediaSource into HTMLMediaElement. r=roc 2013-06-21 15:15:47 +12:00
Matthew Gregan
deb8ac1d03 Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from
Media Source Extensions specification).  r=roc
2013-06-21 15:14:18 +12:00
Mounir Lamouri
453bb904cf Bug 883164 - More tests for <input type='file'>.click(). r=smaug 2013-07-02 16:34:20 +01:00
Phil Ringnalda
223d1262f5 Backed out 5fa1f7715c19:7a300d1d1b23 (bug 855130) for Windows build failures
CLOSED TREE
2013-07-01 21:23:37 -07:00
Matthew Gregan
2d7e2ff206 Bug 855130 - Integrate MediaSource into HTMLMediaElement. r=roc
---
 content/html/content/public/HTMLMediaElement.h |  4 ++
 content/html/content/src/HTMLMediaElement.cpp  | 51 +++++++++++++++++++++++++-
 2 files changed, 53 insertions(+), 2 deletions(-)
2013-07-02 15:46:49 +12:00
Matthew Gregan
dd3855fa0e Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from Media Source Extensions spec). r=roc
---
 content/html/content/public/HTMLVideoElement.h |  4 ++
 content/html/content/src/HTMLVideoElement.cpp  | 27 ++++++++++
 content/media/MediaDecoder.h                   | 17 +++++++
 content/media/MediaDecoderStateMachine.cpp     |  6 ++-
 content/media/VideoPlaybackQuality.cpp         | 53 ++++++++++++++++++++
 content/media/VideoPlaybackQuality.h           | 68 ++++++++++++++++++++++++++
 content/media/moz.build                        |  2 +
 dom/base/moz.build                             |  2 +
 dom/bindings/Bindings.conf                     |  4 ++
 dom/webidl/HTMLVideoElement.webidl             |  6 +++
 dom/webidl/VideoPlaybackQuality.webidl         | 20 ++++++++
 dom/webidl/WebIDL.mk                           |  1 +
 12 files changed, 209 insertions(+), 1 deletion(-)
 create mode 100644 content/media/VideoPlaybackQuality.cpp
 create mode 100644 content/media/VideoPlaybackQuality.h
 create mode 100644 dom/webidl/VideoPlaybackQuality.webidl
2013-07-02 15:46:48 +12:00
Ryan VanderMeulen
c6e480b87f Merge inbound and m-c. 2013-07-01 08:12:24 -04:00
Ms2ger
f9ff439a12 Bug 880318 - Don't use nsIDOMDocument::GetHidden in media elements; r=cpearce 2013-07-01 09:02:28 +02:00
Catalin Iacob
088b9fe162 Bug 798914 (part 6) - Followup: move MemoryReporting.h include after the cpp's own header include. r=njn. 2013-06-30 18:26:39 +02:00
James Kitchener
cdc4fdd7d3 Bug 802895 - Tests for srcdoc iframe r=bz 2013-06-28 23:13:23 -04:00
James Kitchener
e4c66f3e8a Bug 802895 - Implement srcdoc attribute for iframe r=bz 2013-06-28 23:13:23 -04:00
Justin Lebar
09d2312322 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
cab87a0cce Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Boris Zbarsky
a6a01c4125 Bug 884400. Remove the non-WebIDL version of NS_IMPL_NS_NEW_HTML_ELEMENT. r=peterv 2013-06-26 10:59:46 -04:00
Boris Zbarsky
0091068f88 Bug 816343. Remove nsIDOMNodeSelector. r=smaug 2013-06-26 10:59:46 -04:00
Boris Zbarsky
d53f7897bb Bug 883892. Remove HTMLFormElement classinfo. r=peterv 2013-06-26 10:59:45 -04:00
Bastien Scanu
41fd9c02e0 Bug 533840 - Don't start playback when removed from a document and autoplaying. r=padenot,cpearce 2013-06-07 13:46:45 +02:00
Léonard Beck
846998c6b8 Bug 654550 - Add a preference to disable media statistics. r = padenot,jaws 2013-06-11 17:23:13 +02:00
Andrew McCreight
d34c9f81ce Bug 883037 - Clean up HOLD/DROP of nsHTMLDocument. r=peterv 2013-06-25 17:13:06 -07:00
Phil Ringnalda
79549f98dd Back out 8e83da248fc9 (bug 886635) for warnings-as-errors bustage
CLOSED TREE
2013-06-24 23:44:52 -07:00
L. David Baron
5c59bc82cb Bug 886635: HTMLCanvasElement.h (which is included in dom/bindings) should not include nsLayoutUtils.h r=khuey
(It still ends up included in dom/bindings, though.)
2013-06-24 22:32:11 -07:00
Catalin Iacob
83b78343dc Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Michael Harrison
ccfd1c8cb1 Bug 841547 - Only set the 'decoded' class on top-level image documents. r=jaws, r=Ms2ger 2013-06-24 11:29:23 -04:00
Ms2ger
80712a2075 Bug 878950 - Add a test for HTMLImageElement and fix h/vspace reflection; r=mounir 2013-06-23 09:14:15 +02:00
Rick Eyre
66519947cb Bug 833386 - Tests for HTMLTrackElement and TextTrack* DOM objects r=rillian,cpearce
This patch is primarily the work of Marcus Saad (msaad) and Jordan
Raffoul (jbraffoul) at Seneca College.
2013-06-20 06:55:00 -07:00
Gabor Krizsanits
2efc3017e5 Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap 2013-06-21 16:25:20 +02:00
Andrea Marchesini
5432e7168e Bug 885024 - "ASSERTION: FindAncestorForm should not be called if @form is set!". r=bz 2013-06-20 14:07:57 -04:00
Rick Eyre
fe40ff795f Bug 883843 - Remove extraneous QI line in HTMLTrackElement. r=peterv
This was accidentally introduced in bug 882817. The line that deals
with the interface map entry for nsIDOMHTMLElement is unneeded as
NS_HTML_CONTENT_INTERFACES deals with this as well.
2013-06-17 10:32:14 -04:00
Brian O'Keefe
ed17339221 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Aryeh Gregor
892fe681ec Bug 674927 - Part 3: Make the spellcheck attribute work correctly for contenteditable; r=ehsan 2013-06-19 16:54:53 -04:00
Boris Zbarsky
9c26ede3fe Bug 883887. Add an Unlink method to js::ExpandoAndGeneration. r=peterv 2013-06-19 14:48:44 -04:00
Andrea Marchesini
cac6aa669b Bug 841442 - Move HTMLFormElement to WebIDL, r=bz 2013-06-19 10:24:37 -04:00
Andrea Marchesini
dc9752fc49 Bug 841442 - Rename nsHTMLFormElement to HTMLFormElement
--HG--
rename : content/html/content/src/nsHTMLFormElement.cpp => content/html/content/src/HTMLFormElement.cpp
rename : content/html/content/src/nsHTMLFormElement.h => content/html/content/src/HTMLFormElement.h
2013-06-19 10:24:37 -04:00
Boris Zbarsky
6f4d603e9e Bug 883968. Give <object>/<embed>/<applet> channels notification callbacks that can actually be used from script. r=johns 2013-06-19 10:24:37 -04:00
Boris Zbarsky
29d61ffea9 Bug 884109. Remove GetDocumentFromCaller from NS_NewHTMLImage/OptionElement and remove the XPCOM-y bits for creating those, since WebIDL bindings don't use those. r=smaug 2013-06-19 10:24:37 -04:00
Ed Morley
45010bbf2e Backed out changeset 8866d9627149 (bug 879717) for assertions during test_playback_rate.html on Windows on a CLOSED TREE 2013-06-19 09:51:59 +01:00
Ed Morley
2ed6e18a82 Backed out changeset acc1c0494f49 (bug 883731) 2013-06-19 09:51:08 +01:00
Ed Morley
ef197a10fb Backed out changeset 78424c3ea6cb (bug 883731) 2013-06-19 09:51:05 +01:00
Ed Morley
db5d45d578 Backed out changeset 04d60f86b935 (bug 883731) 2013-06-19 09:51:02 +01:00
Robert O'Callahan
6039bd6c6e Bug 883731. Part 3: Make all calls to ChangeReadyState go through UpdateReadyStateForDtaData. r=cpearce
--HG--
extra : rebase_source : 49e39cedd64bcc52bcda452fb38c2d8f460672a0
2013-06-19 16:05:52 +12:00
Robert O'Callahan
d5dc83574a Bug 883731. Part 2: Remove ResourceLoaded notifications since they don't make much sense with a media cache. r=cpearce
--HG--
extra : rebase_source : 8c1657977339c8f97b109c4ec775b7818ed4d57a
2013-06-19 00:17:40 +12:00