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
Marc Jessome
44a3dd0c89
Bug 813034 - Implement table.createTBody(); r=mounir sr=smaug
2012-12-04 00:04:30 -05:00
Ms2ger
8706c8cbac
Bug 888366 - Part a: Remove dead DOMCI_DATA uses and SVGRect classinfo; r=peterv
2013-07-10 11:55:16 +02:00
Ms2ger
2390a4992f
Bug 888576 - Follow the spec for document.body; r=mounir sr=smaug
2013-07-10 11:54:51 +02:00
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
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
Robert O'Callahan
a62e981723
Bug 883731. Part 1: Remove nsIDOMHTMLMediaElement:: and MediaDecoderOwner:: prefixes. r=cpearce
...
--HG--
extra : rebase_source : 4308f9e5540690ae77fcec3f3101a76936d42c00
2013-06-19 00:17:38 +12:00
Robert O'Callahan
afc9d4020a
Bug 879717. Delay entering HAVE_CURRENT_DATA state until a video frame has been stored in the image container. r=cpearce
...
--HG--
extra : rebase_source : 4876423b4b292d1bb746e187b7cc29c5eb573f45
2013-06-19 00:17:29 +12:00
Andrea Marchesini
19838d1465
Bug 879319 - implement past names map in HTMLFormElement, r=bz
2013-06-18 08:54:27 -04:00
Andrea Marchesini
713a36e9e5
Bug 870787 - Improve named getter for form, r=bz
2013-06-18 08:53:23 -04:00
Jon Coppeard
c43484e0e2
Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz
2013-06-18 11:00:38 +01:00
Bob Owen
208ef70500
Tests for bug 838692 - Navigating named targets from sandboxed iframes. (r=imelven)
2013-04-29 19:26:43 +01:00
Boris Zbarsky
d6f05c8921
Bug 874758. Make DOMStringMap use [OverrideBuiltins]. r=peterv
2013-06-17 16:31:03 -04:00
Boris Zbarsky
1b44ea95e0
Back out revision 43927377e41c (bug 870787) and revision 25126626dd43 (bug 879319) for failing tests and contributing to a CLOSED TREE.
2013-06-17 14:54:24 -04:00
Andrea Marchesini
11278def17
Bug 879319 - implement past names map in HTMLFormElement, r=bz
2013-06-17 13:07:04 -04:00
Andrea Marchesini
1b3514dbdf
Bug 870787 - Improve named getter for form, r=bz
2013-06-17 13:07:04 -04:00
Ed Morley
a6a1c9a285
Backed out changeset eff8e7fefffd (bug 883164) for breaking the test on Android
2013-06-17 12:18:31 +01:00
Mounir Lamouri
914a28bf03
Bug 883164 - More tests for <input type='file'>.click(). r=smaug
2013-06-17 11:58:47 +02:00
silverwind
cab89f1be3
Bug 608180 - Allow rapid clicks on label elements to go through while still allowing text selection. r=bz, r=enn
2013-06-14 22:47:01 -04:00
David Zbarsky
d10a18830c
[Bug 882536] Remove nsIDOMSVGDocument r=Ms2ger
2013-06-14 15:37:27 -07:00
Ms2ger
2c2d131dc7
Bug 877277 - Followup: use the right macro to declare nsISupports; r=smaug over IRC
2013-06-14 19:10:12 +02:00
Rick Eyre
77b71509b9
Bug 882817 - Fix QI implementation of HTMLTrackElement. r=bz
...
In certain situations we were failing debug builds due to an assertion
that HTMLTrackElement was not a nsIDOMNode or nsIDOMWindow when calling
NS_CheckContentLoadPolicy in HTMLTrackElement::LoadResource()
This patch fixes the QI of the HTMLTrackElement so that it can be queried
to an nsIDOMNode correctly.
2013-06-13 17:15:14 -04:00
Drew Willcoxon
7845cfabb8
Bug 759964 - Part 3 - Add nsIDocShell.allowMedia test. r=test
2013-06-13 19:31:43 -07:00
Matthew Noorenberghe
188f9bf80c
Bug 759964 - Part 1 - Add allowMedia attribute to nsIDocShell to disable HTML5 media elements. r=bz
2013-03-29 14:52:59 -07:00
Boris Zbarsky
65c0969f7c
Bug 880367 part 1. Change the "enabled" callback for WebIDL constructors to take a JSContext* and the object the constructor will be defined on. r=smaug,bholley
2013-06-13 01:12:26 -04:00
Jeff Muizelaar
45b92880ff
Bug 881724. Remove some unneeded includes from nsHTMLDocument.h. r=ehsan
...
--HG--
extra : rebase_source : 034382c3663f7c20a35e356a4087d57fcc25eaf7
2013-06-10 20:18:29 -04:00
William Chen
42b2a4bd05
Bug 872870 - Use GetParentNode() instead of GetParent() in UndoManager. r=ehsan
2013-06-12 18:15:21 -07:00
Ms2ger
7b22e84c04
Bug 882164 - Enter the right compartment to create a new JSObject in nsHTMLDocument::GetAll; r=bz
2013-06-12 22:05:40 +02:00
Ed Morley
aa048e78a3
Merge mozilla-central and inbound
2013-06-12 08:41:06 +01:00
Ms2ger
ace195a348
Bug 881822 - Don't double-refcount HTMLBodyElement::mContentStyleRule; r=bholley
2013-06-12 09:00:09 +02:00
Ms2ger
7cdd3a5243
Bug 880340 - Remove the security checks on nsImageLoadingContent methods; r=bz
2013-06-12 09:00:09 +02:00
Ms2ger
e57a8d1b69
Bug 880694 - Improve HTMLSelectElement::IsCombobox and use it in nsCSSFrameConstructor; r=bz
2013-06-12 09:00:08 +02:00
Ms2ger
c84d4f1bdb
Bug 879739 - Use CSSIntRect for nsGenericHTMLElement::GetOffsetRect; r=kats
2013-06-12 09:00:08 +02:00
Ms2ger
1b26c4e37a
Bug 854231 - Remove Element::GetOffsetRect; r=jst
2013-06-12 09:00:08 +02:00
Ms2ger
51fffc4dce
Bug 878874 - Introduce CSSIntPoint and use it for HTMLImageElement::GetXY(); r=kats
2013-06-12 09:00:08 +02:00
Ms2ger
43317c5e50
Bug 877277 - Move the document.all getter into WebIDL; r=smaug
2013-06-12 08:55:00 +02:00
Ms2ger
6c047d4967
Bug 718923 - Support document.all in standards mode and remove the pref to turn it off; r=smaug
2013-06-12 08:48:38 +02:00
Andrea Marchesini
ec770ff4bc
Bug 880042 - file[multiple] form field nsIFilePicker crash if overriding component has not implemented a domfiles getter. r=smaug
2013-06-11 15:09:49 -04:00
Ryan VanderMeulen
fcf0e021ea
Backed out changeset 9c6f5f334a15 (bug 880042) for mochitest-4 failures.
2013-06-11 17:23:00 -04:00
Andrea Marchesini
da8a93a143
Bug 880042 - file[multiple] form field nsIFilePicker crash if overriding component has not implemented a domfiles getter. r=smaug
2013-06-11 15:09:49 -04:00
David Zbarsky
3f47f56d2f
Bug 881128 - Remove nsIDOMGetSVGDocument r=bz
2013-06-11 21:56:26 -07:00
Rick Eyre
12ef4a49cd
Bug 875169 - Fix crash when loading an HTMLTrackElement. r=bz
...
Previously we had been trying to load a DOMString that already has
a string buffer by using the DOMString::&operator. This causes a
MOZ_ASSERT error in DOMString. Solution is to add function overloads
to HTMLTrackElement's getters that just use nsString in the first place.
2013-05-23 19:57:00 -07:00
Phil Ringnalda
e28cb20c96
Back out efdf2d801664 (bug 881128) for disregarding the DANGER of not dealing with test_interfaces.html
2013-06-10 19:26:45 -07:00
David Zbarsky
5d896bb730
Bug 881128 - Remove nsIDOMGetSVGDocument r=bz
2013-06-10 17:50:42 -07:00
Rick Eyre
3800bbb044
Bug 833382 - Implement WebVTTLoadListener r=cpearce,bz
...
- Implemented WebVTTLoadListener to manage the webvtt parser.
- TextTrackCue now handles the conversion of webvtt nodes to
anonymous content which will be displayed on the video div
overlay.
- HTMLTrackElement manages the lifetime of the WebVTTLoadListener.
2013-06-10 08:30:00 -07:00
Sotaro Ikeda
2d8e4dae08
Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc
2013-06-10 08:22:05 -04:00
Jon Coppeard
af7d9a0531
Bug 860573 - Part 2 - Use spare bits of wrapper cache flags for nsINode r=smaug
2013-06-08 09:54:59 +01:00
Boris Zbarsky
9f09fecc19
Bug 877281 part 6. Replace ${jsvalPtr} with a MutableHandle ${jsvalHandle}. r=peterv
...
It's a little unfortunate that we need both ${jsvalHandle} and
${jsvalRef}, but the only other option is to consistently have a
MutableHandle in this code. If the thing we have to work with is a
Rooted, that means doing JS::MutableHandle<JS::Value>(&myRooted) as
the thing to substitute for ${jsvalHandle}. Just using "&myRooted"
doesn't work, because things like "&myRooted.set()" or
"&myRooted.address()" fail, even if parenthesized as
"(&myRooted).set()", because &myRooted is actually a Rooted*, not a
MutableHandle.
We could go the JS::MutableHandle<JS::Value>(&myRooted) route if
desired; it would primarily uglify dictionary and sequence to-js
conversions. With the setup in this patch, ideally it looks pretty
idiomatic except for the use of .set() instead of operator= on Rooted.
2013-06-07 22:45:46 -04:00
David Zbarsky
00b41d8ad2
[Bug 879998] Remove some dead code in content/ r=Ms2ger, emk
2013-06-07 14:05:57 -07:00
David Zbarsky
aae60cfe86
Bug 798438 - Use a dictionary to set context options instead of an nsIPropertyBag r=bz
2013-06-07 11:42:12 -07:00
Robert O'Callahan
b0229d01bd
Bug 865537. Part 2: The Range used to track the source element pointer for a media element should not gravitate outside the media element. r=cpearce
...
--HG--
extra : rebase_source : 6d4d5de2f0841fe602821013f0a33bb035d1cb76
2013-06-07 16:26:55 +12:00
Andrea Marchesini
a27986faf9
Bug 857116 - Remove nsIDOMHTMLCommandElement; r=Ms2ger
2013-06-06 15:57:26 +02:00
Peter Van der Beken
0eae5efa79
Bug 877654 - Remove thisptr offset tables - Remove offset tables from non-HTMLElement objects and remove offset table macros. r=Ms2ger.
...
--HG--
extra : rebase_source : 6d6fbb260c564d295d33c76a1b21ffd7187eeae2
2013-05-21 21:59:27 +02:00
Peter Van der Beken
220ee06fe8
Bug 877654 - Remove thisptr offset tables - Replace HTML element QI map end macro with generic macros. r=Ms2ger.
...
--HG--
extra : rebase_source : 1a425102a6d183814e4afbb16ee3416e138567ff
2013-05-21 15:38:33 +02:00
Peter Van der Beken
be32c1c08b
Bug 877654 - Remove thisptr offset tables - Replace HTML element table to map segue macros with generic macros. r=Ms2ger.
...
--HG--
extra : rebase_source : 9acc316cbf68bc841f6751603aa512138e2f6de6
2013-05-21 15:38:15 +02:00
Peter Van der Beken
3bb139c487
Bug 877654 - Remove thisptr offset tables - Replace HTML element offset table macros with generic QI macros. r=Ms2ger.
...
--HG--
extra : rebase_source : a90cbb2d5b25c6e8dee96d206dd6e4951d2b3cab
2013-05-21 15:07:38 +02:00
Peter Van der Beken
c0f2111dd7
Bug 877654 - Remove thisptr offset tables - Refactor HTML element QI macros. r=Ms2ger.
...
--HG--
extra : rebase_source : a4e166501aaf35617f369648155b566b6bac5761
2013-05-21 13:55:29 +02:00
Ryan VanderMeulen
56a62f9f89
Merge birch to m-c.
2013-06-04 15:00:37 -04:00
Justin Lebar
782796ddd7
Bug 879214 - Try to fix race condition in test_audio_wakelock.html. r=baku
...
--HG--
extra : rebase_source : af1d40db2ed8395db183a14a229ad49e4bc36bf8
2013-06-04 12:00:40 -04:00
Robert O'Callahan
e215cdda66
Bug 877135. Remove HTMLMediaElement::mozLoadFrom since it's nonstandard and no longer needed (setting 'src' to another element's 'currentSrc' works just as well). r=doublec
...
--HG--
extra : rebase_source : f1e04fe469a1757bfabfcf79bbf0fec29faee1c7
2013-06-04 15:28:23 +12:00
Olli Pettay
46f9017a71
Bug 875252, make type=file click() to work (again) even when the element isn't in the DOM, r=jst
...
--HG--
extra : rebase_source : e8fecce550d5fe91a524f1b47a8429165354ac90
2013-06-04 00:40:41 +03:00
Daniel Holbert
495667fe88
Bug 877510: Undefine GetClassInfo in nsHTMLFormElement.h, in case someone #including us also #included a windows header that stupidly defined it to something else. r=smaug
2013-06-03 10:00:04 -07:00
Ms2ger
389af05f40
Bug 878509 - Restore the HTMLImageElement.lowsrc, x, y attributes that were unintentionally removed; r=smaug
2013-06-02 17:38:25 +02:00
Ms2ger
56b71116ea
Bug 877910 - Make HTMLSelectElement.namedItem return 'HTMLOptionElement' instead of 'object'; r=bz
2013-06-01 08:56:34 +02:00
William Chen
d5403063f8
Bug 840877 - Handle null undoManager in absence of documentElement. r=ehsan
2013-06-11 18:26:11 -07:00
Boris Zbarsky
897328ff5b
Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence
2013-05-30 17:46:48 -04:00
Andrea Marchesini
03c7e8bad2
Bug 877638 - Crash in WakeLockBoolWrapper::UpdateWakeLock when running crashtests. r=ehsan
2013-05-30 11:26:12 -04:00