Commit Graph

1336 Commits

Author SHA1 Message Date
Jean-Yves Avenard
0fa6daa947 Bug 1277729: Ignore readyState value when reporting the buffered range. r=jwwang
For plain media playback, the buffered range will always be empty if readyState is HAVE_NOTHING has we need to decode the metadata to determine the duration and eventually decode the first frame to determine the start time. With MSE however, the buffered range is per spec directly related to the source buffer buffered range.

So we can always simply query the MediaDecoder to determine the buffered range regardless of the readyState value.

MozReview-Commit-ID: BQs8iuUCiNw

--HG--
extra : rebase_source : 28fea8a89eab38b481a15d76061debacce86274f
2016-06-03 11:46:36 +10:00
Mike Conley
0c3578df60 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 87439bacd9643ab63d015f58f44af2f8a74675a0
extra : source : 9d903a6a12aa7182252ec3e220c89b569c14e11b
2016-04-29 14:29:03 -04:00
Rinat
bb3780858f Bug 1274622 - Add media.default_volume preference. r=kinetik 2016-05-24 20:55:45 +03:00
bechen
8d39d5edd7 Bug 882718 - Do not dispatch task to main thread when shutdown. r=rillian
MozReview-Commit-ID: 5Y79Fbhyoc3

--HG--
extra : rebase_source : bb4d1c2bba2f8ef788c18fc03f3eea6ff7de6714
2016-06-01 15:13:45 +08:00
bechen
e355a8b526 Bug 882718 - 1. Fix testcase crash/failed . 2. The cuechange event should be fired in TimeMarchesOn. r=rillian
MozReview-Commit-ID: EYi9iZ1mfjg

--HG--
extra : rebase_source : 2f652a3d4f072c87ba44de3650ff1358694444c1
2016-06-01 15:13:43 +08:00
bechen
30214bd891 Bug 882718 - triggerTimeMarchesOn. r=rillian
MozReview-Commit-ID: 2OOqr1Z6X9

--HG--
extra : rebase_source : 33b12ef88c838cab247d0267f5195edfee02560c
2016-06-01 13:35:58 +08:00
Andrew Quartey
c70c946e3e Bug 882718 - Implement "TimeMarchesOn". r=rillian
MozReview-Commit-ID: 1RqUmgz056N
* * *
[mq]: hotfix

MozReview-Commit-ID: CPByIPsUag4

--HG--
extra : rebase_source : 4b1fea4f04553ea5b3a0c3c4ddfdb60b485b803e
2016-06-01 13:35:56 +08:00
bechen
fd405c9532 Bug 882718 - Implement ActiveFlag at TextTrackCue object. r=rillian
MozReview-Commit-ID: 4FksCKzB0Ep

--HG--
extra : rebase_source : 3b900dd9f23e1ec961f8c554cd260b7cd44f25c5
2016-06-01 13:35:53 +08:00
Carsten "Tomcat" Book
a91653581d Backed out changeset 9d903a6a12aa (bug 1276738) for test failures in test_blank_named_window.html on a CLOSED TREE
--HG--
extra : rebase_source : cd1218144d092a62764b014cffb6b0a92b5f9141
2016-06-02 08:13:16 +02:00
Mike Conley
0d5fa55d26 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 0c92084914ffe44a781f034b2416e17905656607
2016-04-29 14:29:03 -04:00
John Dai
31ebbbcfaa Bug 1024350 - Add mochitest testcase.r=smaug 2016-05-30 03:28:00 +02:00
Jessica Jong
2f552465b5 Bug 926019 - focus and blur an input element should not trigger change event if content hasn't changed. r=smaug
--HG--
extra : rebase_source : 9d56196ae2597cc21f7366326ce7203fe16e6cfb
2016-05-30 02:26:00 +02:00
Andrea Marchesini
3ad65f3a92 Bug 1258489 - Implement HTMLInputElement.webkitdirectory, r=smaug 2016-06-01 12:29:00 +02:00
Alastor Wu
7bad64b31a Bug 1240423 - part5 : stop_disposable should reset mSuspendState. r=baku
MozReview-Commit-ID: 1x1QdvJEw8J

--HG--
extra : rebase_source : 7671175e1398288947cfb91925b9ec7a8e7b6e2f
2016-06-01 10:26:20 +08:00
Alastor Wu
7a3285dc7e Bug 1240423 - part3 : add reason when media element notify audible changing. r=baku
MozReview-Commit-ID: C3DAZHhZOqH

--HG--
extra : rebase_source : 229630696f45ff10e22ae98ccf730b10ce0a2d0f
2016-06-01 10:26:10 +08:00
Sebastian Hengst
5a8c6aa494 Backed out changeset 453431d7a2c8 (bug 882718) for crashing in track.html with nsXBLPrototypeBinding::GetRuleProcessor(). r=backout 2016-05-31 18:54:41 +02:00
Sebastian Hengst
33dc9fca70 Backed out changeset f6363fdbbf29 (bug 882718) 2016-05-31 18:54:41 +02:00
Sebastian Hengst
200b6282f2 Backed out changeset 7f61a6bd8a3d (bug 882718) 2016-05-31 18:54:41 +02:00
Sebastian Hengst
de05b7902e Backed out changeset 883bfabfde46 (bug 882718) 2016-05-31 18:54:41 +02:00
Sebastian Hengst
db844b8bcb Backed out changeset 830cccc16bd9 (bug 882718) 2016-05-31 18:54:41 +02:00
Olli Pettay
b91ac5f5d1 Bug 1276938 - Optimize string usage in setAttribute when dealing with HTML elements, r=baku
--HG--
extra : rebase_source : dea4a4d25ff3cc7b2ca0ced76cafae8577d0f650
2016-05-31 18:56:20 +03:00
bechen
0ae4309ec5 Bug 882718 - Do not dispatch task to main thread when shutdown. r=rillian
MozReview-Commit-ID: 5Y79Fbhyoc3

--HG--
extra : transplant_source : %FEi%D2%BB%10%EFj%CE%EA%C9%E6%95%99%A9v%8C%7D%C9%5B%05
2016-05-30 12:03:15 +08:00
bechen
db0d961dac Bug 882718 - 1. Fix testcase crash/failed . 2. The cuechange event should be fired in TimeMarchesOn. r=rillian
MozReview-Commit-ID: EYi9iZ1mfjg

--HG--
extra : transplant_source : %B3%A1%B5g%D1s%08%18%25%8A%09%C0%A1%D7%7C%E9%D7F%97%A1
2016-05-26 11:45:43 +08:00
bechen
bb5b50f7ee Bug 882718 - triggerTimeMarchesOn. r=rillian
MozReview-Commit-ID: 2OOqr1Z6X9

--HG--
extra : transplant_source : %A8%E2KG%82%29M%8EVA%20%9BJ%D1u%9B%85%8C%1D%1E
2016-05-25 16:11:28 +08:00
Andrew Quartey
cce4f6652c Bug 882718 - Implement "TimeMarchesOn". r=rillian
MozReview-Commit-ID: 1RqUmgz056N
* * *
[mq]: hotfix

MozReview-Commit-ID: CPByIPsUag4

--HG--
extra : transplant_source : %B6%EE%C8%C6%3F%A5%A5%3C%9E%92%D5%16%C6%9EX%CF%C9l%B5%D1
2016-05-25 16:11:27 +08:00
bechen
4968e533af Bug 882718 - Implement ActiveFlag at TextTrackCue object. r=rillian
MozReview-Commit-ID: 4FksCKzB0Ep

--HG--
extra : transplant_source : j%D413W%98%E7%9Es%7D%E9%A4A%FE%AD%8F%D4X%3C%7E
2016-05-24 11:30:22 +08:00
Andrea Marchesini
d3cf11f109 Bug 1261693 - Implement HTMLInputElement::GetFiles, r=smaug 2016-05-31 12:54:24 +02:00
Kilik Kuo
77b4de2b31 Bug 1228601 - [Part3] Add reftest to check rotation by <video> and capture the result after playback ended; r=mattwoodrow
MozReview-Commit-ID: GIMugecn0f0

--HG--
extra : transplant_source : P%0F%E4S5%A54k%A7%93N%C2Z%BC%F0O%B4%DB%EE%9F
2016-05-30 11:00:23 +08:00
Kilik Kuo
50e65bce86 Bug 1228601 - [Part2] Swap width,height if necessary and apply rotation matrix while building layer.; r=mattwoodrow
MozReview-Commit-ID: Jlh6oRa32fj

--HG--
extra : transplant_source : %7Ed%14%5Ea%01T%16%90R%0Auj%E6I%8D%EDR%EE%BC
2016-05-12 01:54:52 +08:00
Kaku Kuo
5aae35101f Bug 1235301 - part 3 - export HTMLMediaElement::seekToNextFrame(); r=jwwang
MozReview-Commit-ID: 8WMpwOwfqxz

--HG--
extra : rebase_source : 505ebbc01f1c913e1ca90f937bd5f214f688f6ed
2016-05-24 23:05:35 +08:00
Boris Zbarsky
49a90cb122 Bug 1268852. Change <label> elements to not be form-associated anymore. r=bkelly,hsivonen,surkov
The web platform tests changes are just a cherrypick of
https://github.com/w3c/web-platform-tests/pull/2926 so I don't have to add
failure annotations until the next test uplift.

I've audited our uses of nsIFormControl, and this patch looks to me like it
preserves existing behavior in all but the following cases:

1)  nsXBLPrototypeHandler::DispatchXBLCommand, the case of scrolling when space
is pressed while something inside a <label> is focused.  We used to not scroll
in this situation; I think this is a bug, so I'm changing that behavior to
scroll instead.

2)  In Accessible::RelationByType for the RelationType::DEFAULT_BUTTON case,
when mContent is a <label> we used to return its form's default submit element.
Now we will just return Relation().
2016-05-26 19:39:03 -04:00
Wes Kocher
8249ffcbd2 Backed out 4 changesets (bug 1270310) for mass mochitest bustage CLOSED TREE
Backed out changeset ff9ace379d78 (bug 1270310)
Backed out changeset 605790e5e611 (bug 1270310)
Backed out changeset 4c302e1119e1 (bug 1270310)
Backed out changeset 3e2d76bd1f08 (bug 1270310)
2016-05-26 00:04:04 -07:00
Eric Rahm
cb79780013 Bug 1270310 - Part 4: Bypass line break conversion if element is single line. r=peterv
For single line text controls we shouldn't need to convert line breaks.
2016-05-05 15:52:28 -07:00
Eric Rahm
e69bdc29f2 Bug 1270310 - Part 3: Make string assignment in HTMLInputElement::GetValueInternal fallible. r=peterv
This makes the string assignment fallible and also adds checks for the return
value from GetValueInternal and GetValue.
2016-05-20 16:15:52 -07:00
Eric Rahm
288aaa8d36 Bug 1270310 - Part 1: Make allocation in ConvertStringLineBreaks fallible. r=froydnj, r=peterv
ConvertStringLineBreaks calls ConvertUnicharLineBreaksInSitu which uses
fallible allocation. We should make the potential allocation in |BeginWriting|
fallible as well and handle the failure. This also updates the callers to
|ConvertStringLineBreaks| to handle the error properly in release builds.
2016-05-05 15:50:35 -07:00
Mats Palmgren
df2b4d3bdd Bug 1272012 - Tweak or disable a few tests for <select size=1> Up/Down key behavior on OSX. 2016-05-25 21:52:36 +02:00
Sebastian Hengst
1ebe7c3c5e Backed out changeset 5e25db36b720 (bug 1272012) 2016-05-25 18:19:43 +02:00
Mats Palmgren
b8472acaf5 Bug 1272012 - Tweak or disable a few tests for <select size=1> Up/Down key behavior on OSX. 2016-05-25 10:48:52 +02:00
Carsten "Tomcat" Book
baa01dd21c Backed out changeset 467b0d255265 (bug 1272012) 2016-05-25 13:21:32 +02:00
Mats Palmgren
cdc61249b6 Bug 1272012 - Tweak or disable a few tests for <select size=1> Up/Down key behavior on OSX. 2016-05-25 10:48:52 +02:00
Carsten "Tomcat" Book
805f86c2b5 Merge mozilla-central to mozilla-inbound 2016-05-24 15:13:51 +02:00
Carsten "Tomcat" Book
cb4337c62c merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html
2016-05-24 14:52:23 +02:00
Jessica Jong
524ca57c7e Bug 1268556 - clicking padding area of 'number' input should not blur. r=smaug 2016-05-23 23:27:00 +02:00
Ben Tian
7b7d04ca34 Bug 1257887 - Make windows opened through window.open() be scrollable by default. r=smaug 2016-05-17 11:25:47 +08:00
Jared Wein
b57a662411 Bug 1270853 - Remove HTML5 video controls statistics. r=gijs, r=bz for removing internal chrome/xbl attribute in webidl
MozReview-Commit-ID: 53BYXvHaaB9
2016-05-19 23:30:12 -04:00
Boris Zbarsky
f6c18909d4 Bug 1257849 followup. Add 'search' to the list of supported tokens for <link>, since the spec added it. r=bkelly originally. 2016-05-18 20:27:37 -04:00
Boris Zbarsky
cf35c3398f Bug 1273203. Remove the getStructuredData API from BrowserElement. r=kanru 2016-05-18 02:51:49 -04:00
Andrea Marchesini
98894192c9 Bug 1272781 - nsEscape should work with ns(C)Strings and not with char pointers, r=smaug 2016-05-18 18:21:56 +02:00
Sebastian Hengst
51ba720edc Backed out changeset b9b23b61401f (bug 1273203) for breaking many tests. r=backout 2016-05-18 10:38:17 +02:00
Boris Zbarsky
b2ec3ee967 Bug 1273203. Remove the getStructuredData API from BrowserElement. r=kanru 2016-05-18 02:51:49 -04:00