Wes Kocher
622986d217
Merge inbound to m-c
2014-03-25 19:54:55 -07:00
Star Cheng
250c97d39b
Bug 975955 - Hold a cpu wakelock while playing video. r=roc
2014-03-18 16:44:41 +08:00
L. David Baron
7715383653
Bug 986409 - Skip fewer entire reftest directories on B2G. r=roc
2014-03-23 18:44:50 -07:00
Nathan Froyd
1fc206bc24
Bug 942411 - Set the src of the iframe after adding it to the document
2014-03-21 13:36:11 -04:00
Birunthan Mohanathas
cbaedea4c8
Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz
2014-03-25 11:36:49 -04:00
Rick Eyre
e23612048e
Bug 987076 - Construct HTMLMediaElement::mTextTrackManager lazily. r=roc
...
* Remove the TextTrackManager's initialization from the MediaElement's
ctor and add a getter that creates it if we don't have it yet. The public
functions exposed on the MediaElement's IDL now call this getter.
* Also remove the const qualifier from HTMLMediaElement::TextTracks()
as we don't really need it and this function now needs to call
GetOrCreateTextTrackManager() which is non-const.
2014-03-24 11:48:37 -04:00
Rick Eyre
69cce4574a
Bug 977299 - Don't display subtitles if their mode is 'hidden'. r=rillian
...
I've renamed TextTrackList::GetAllActiveCues to
UpdateAndGetShowingCues to make it a bit more clear what
this function is doing.
2014-02-27 10:02:40 -05:00
Alessio Placitelli
651681f247
Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst
2014-03-20 20:51:16 +01:00
Alessio Placitelli
8a61cca04b
Bug 950076 - Propagate OOM errors to innerHTML getters. r=jst
2014-03-19 13:05:03 -04:00
Gorman Ho
9f11aa16d4
Bug 983285 - Add a generic destructor for property values allocated with new. r=kats, r=bz
2014-03-25 09:25:47 -04:00
Rick Eyre
3cd2684726
Bug 977302 - Perform automatic text track selection. r=rillian
...
This takes care of automatic track selection for tracks with
the default attribute specified. However, it does not take
into account any user preferences set through Firefox such
as default language.
2014-02-28 15:40:00 -05:00
Andrea Marchesini
e34a8dbb77
Bug 983984 - Default AudioChannel from a pref, r=ehsan, r=roc, r=mchen
2014-03-20 10:45:55 +00:00
Ryan VanderMeulen
c5975cfb88
Backed out changesets a17ee88f1fe7, 6e3aee4a9650, 07e5ed676919 (bug 950076) for Werror bustage.
2014-03-19 14:00:10 -04:00
Rick Eyre
1555f20871
Bug 983293 - Part 4: Pass ReadyState variables to AddTextTrack methods and TextTrack ctors. r=cpearce
...
This makes it more clear what part of the code is triggering the ReadyState
to be what it is. I.E. Tracks added through the HTMLMediaElement::AddTextTrack
method should have a ReadyState of "Loaded" and so it's more clear for
function to specify that. Vice versa for TrackElements which add TextTracks
with a default ReadyState of "None".
2014-03-13 14:41:21 -04:00
Rick Eyre
ddeb736006
Bug 983293 - Part 3: Rename the READY_STATE enum to TextTrackReadyState. r=cpearce
...
- This allows us to pass around ReadyState values. It also makes the type
explicit which will save us from potentially shooting ourselves in
the foot.
- I also renamed 'READY_STATE_NONE' and 'READY_STATE_ERROR' to
'NotLoaded' and 'FailedToLoad' respectively in the enum. This is to
avoid some name collision errors we were having. It also makes it more
clear where in the spec this is as these names are the spec's names
for the TextTrack enum.
2014-03-13 14:29:32 -04:00
Rick Eyre
560441d9f1
Bug 983293 - Part 2: Move the READY_STATE enum to Track instead of HTMLTrackElement. r=cpearce
...
This makes more sense as the READY_STATE values in the spec are always
referred to be 'text track readiness states' not HTMLTrackElement
readiness states.
2014-03-13 13:48:09 -04:00
Alessio Placitelli
f0971950d5
Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst
2014-03-19 13:05:03 -04:00
Alessio Placitelli
edc654a317
Bug 950076 - Propagate OOM errors to innerHTML getters. r=jst
2014-03-19 13:05:03 -04:00
Bobby Holley
a2f6cad141
Bug 825392 - Generate anonymous content reflectors in the XBL scope. r=bz
2014-03-19 13:35:45 -03:00
Andrew McCreight
d0ee5b907e
Bug 975746 - Remove GATHER_ELEMENT_USEAGE_STATISTICS. r=jst
2014-03-19 06:05:17 -07:00
Ryan VanderMeulen
9bb96ede35
Bug 940203 - Annotate test_bug622558.html as 0-1 assertions on Windows.
...
CLOSED TREE
2014-03-18 10:34:29 -04:00
Rick Eyre
e293689a8c
Bug 983207 - Tracks created through a TrackElement should have a default mode of 'disabled'. r=cpearce
...
- I've refactored the way we set modes as well, making it a part
of the TextTrack ctors.
- I've also changed TextTracks in the track tests to have their
mode set to 'hidden' in order to be able to call TextTrack::Cues.
This is correct since TextTracks with a mode of 'disabled' do not
return null for their cue lists.
2014-03-13 13:18:06 -04:00
Masayuki Nakano
abfbab58dd
Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
...
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Masayuki Nakano
db6b33d414
Bug 983049 part.3 Rename nsEventChainPostVisitor to mozilla::EventChainPostVisitor r=smaug
2014-03-18 13:48:20 +09:00
Masayuki Nakano
ef5a7c0e92
Bug 983049 part.2 Rename nsEventChainPreVisitor to mozilla::EventChainPreVisitor r=smaug
2014-03-18 13:48:19 +09:00
Masayuki Nakano
a524a26c92
Bug 983049 part.1 Rename nsEventChainVisitor to mozilla::EventChainVisitor r=smaug
2014-03-18 13:48:18 +09:00
Masayuki Nakano
7add71c341
Bug 982602 Rename ns(LoadBlocking)AsyncDOMEvent to mozilla::(LoadBlocking)AsyncEventDispatcher r=smaug
...
--HG--
rename : dom/events/nsAsyncDOMEvent.cpp => dom/events/AsyncEventDispatcher.cpp
rename : dom/events/nsAsyncDOMEvent.h => dom/events/AsyncEventDispatcher.h
2014-03-17 15:56:54 +09:00
Masayuki Nakano
a7a5e56dd5
Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
...
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Masayuki Nakano
1824709e52
Bug 981261 part.4 Move EventListenerFlags from mozilla::dom:: to mozilla:: r=smaug
2014-03-17 15:56:52 +09:00
Rik Cabanier
fc29621ea7
Bug 982480 - Add support + test case for context alpha attribute. r=roc
2014-03-16 15:34:14 -04:00
Ehsan Akhgari
2b961924e1
Bug 942411 - Request the full log in the test
2014-03-16 10:29:35 -04:00
Ryan VanderMeulen
04a55e8668
Backed out changeset 9a2aab98a8d0 (bug 982480) for reftest failures.
2014-03-15 19:18:13 -04:00
Rik Cabanier
72854581eb
Bug 982480 - Add support + test case for context alpha attribute. r=roc
2014-03-15 17:29:24 -04:00
Ehsan Akhgari
4d96c367c5
Bug 942411 - Try to ensure that the test window has focus before running the test
2014-03-15 17:22:00 -04:00
Kyle Huey
df0e7828eb
Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan
2014-03-15 12:00:17 -07:00
Kyle Huey
84360900b0
Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg
2014-03-15 12:00:17 -07:00
Kyle Huey
510a49016d
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Masayuki Nakano
f2734aa16b
Bug 977959 part.3 Hide nsINativeKeyBindings with nsIWidget::ExecuteNativeKeyBinding() r=roc+karlt+smichaud
2014-03-14 22:13:31 +09:00
Masayuki Nakano
1f5d69ab81
Bug 977959 part.2 Remove nsINativeKeyBindings::KeyDown() and nsINativeKeyBindings::KeyUp() r=roc, sr=roc
2014-03-14 22:13:31 +09:00
Masayuki Nakano
fd06be64c3
Bug 977959 part.1 Define constants for each command which may be caused by native key bindings r=roc
2014-03-14 22:13:30 +09:00
Bill McCloskey
aa5f40a77e
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 21:38:19 -07:00
Wes Kocher
a3277d291d
Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
...
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
f4f6bf8e4d
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Bill McCloskey
7193069fa0
Backed out changeset d6261f65070a
2014-03-13 15:52:27 -07:00
Bill McCloskey
69a746922b
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Rick Eyre
3f2fb74ada
Bug 882664 - Part 2: Perform sorting on TextTrackLists. r=rillian
...
- This implements sorting on the MediaElement's list of TextTracks as
described in: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#text-track-model
This is important as automatically positioned cues will have a line
position that is relative to their TextTrack's position in the
MediaElement's list of TextTracks.
- Added a TextTrackSource enum which all TextTracks have. This helps
distinguish where a TextTrack came from.
2014-02-27 12:47:23 -05:00
Rick Eyre
9e7af875b6
Bug 882664 - Part 1: TextTrack should hold a ref to its TrackElement, if any. r=rillian
2014-02-27 14:07:39 -05:00
Olli Pettay
adff5404a7
Bug 982909 - Consistently use inner window when calling OpenJS. r=jst, r=mrbkap
2014-03-13 12:22:07 -04:00
Ehsan Akhgari
68f75d6126
Bug 981652 - Dispatch "select" events from HTMLInputElement/HTMLTextAreaElement.setSelectionRange() and selection setters; r=smaug
2014-03-12 21:44:33 -04:00
Giovanni Sferro
a8dcd8b811
Bug 968637 - Add "rel" and "relList" to HTMLAreaElement and "relList" to HTMLLinkElement, HTMLAnchorElement. r=bz
2014-03-11 08:04:26 -04:00