Implementing volume attribute into HTMLMediaElement

This commit is contained in:
Lucas Fantacuci 2018-12-12 11:17:41 -02:00
parent 1046ae58a1
commit ad3ec61d2f
10 changed files with 60 additions and 29 deletions

View file

@ -1062,7 +1062,7 @@
expected: FAIL
[HTMLMediaElement interface: document.createElement("video") must inherit property "volume" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: document.createElement("video") must inherit property "muted" with the proper type]
expected: FAIL
@ -1134,7 +1134,7 @@
expected: FAIL
[HTMLMediaElement interface: document.createElement("audio") must inherit property "volume" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: document.createElement("audio") must inherit property "muted" with the proper type]
expected: FAIL
@ -1278,7 +1278,7 @@
expected: FAIL
[HTMLMediaElement interface: new Audio() must inherit property "volume" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: new Audio() must inherit property "muted" with the proper type]
expected: FAIL
@ -1425,7 +1425,7 @@
expected: FAIL
[HTMLMediaElement interface: attribute volume]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: attribute muted]
expected: FAIL
@ -6793,7 +6793,7 @@
expected: FAIL
[HTMLMediaElement interface: document.createElement("video") must inherit property "volume" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: document.createElement("video") must inherit property "muted" with the proper type]
expected: FAIL
@ -6838,7 +6838,7 @@
expected: FAIL
[HTMLMediaElement interface: document.createElement("audio") must inherit property "volume" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: document.createElement("audio") must inherit property "muted" with the proper type]
expected: FAIL
@ -6883,7 +6883,7 @@
expected: FAIL
[HTMLMediaElement interface: new Audio() must inherit property "volume" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: new Audio() must inherit property "muted" with the proper type]
expected: FAIL
@ -7006,7 +7006,7 @@
expected: FAIL
[HTMLMediaElement interface: attribute volume]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: attribute muted]
expected: FAIL

View file

@ -1,8 +1,8 @@
[audio_volume_check.html]
type: testharness
[Check if media.volume is set to new value less than 0.0 that expecting an IndexSizeError exception is to be thrown]
expected: FAIL
expected: PASS
[Check if audio.volume is set to new value greater than 1.0 that expecting an IndexSizeError exception is to be thrown]
expected: FAIL
expected: PASS

View file

@ -2,7 +2,7 @@
type: testharness
expected: TIMEOUT
[setting audio.volume fires volumechange]
expected: FAIL
expected: PASS
[setting audio.muted fires volumechange]
expected: FAIL
@ -14,7 +14,7 @@
expected: TIMEOUT
[setting video.volume fires volumechange]
expected: FAIL
expected: PASS
[setting video.muted fires volumechange]
expected: FAIL

View file

@ -1,6 +1,6 @@
[pause-remove-from-document.html]
type: testharness
expected: TIMEOUT
expected: OK
[paused state when removing from a document]
expected: TIMEOUT
expected: PASS

View file

@ -1,8 +1,8 @@
[video_volume_check.html]
type: testharness
[Check if media.volume is set to new value less than 0.0 that expecting an IndexSizeError exception is to be thrown]
expected: FAIL
expected: PASS
[Check if video.volume is set to new value greater than 1.0 that expecting an IndexSizeError exception is to be thrown]
expected: FAIL
expected: PASS

View file

@ -1,20 +1,20 @@
[volume_nonfinite.html]
type: testharness
[Setting audio.volume to NaN should throw a TypeError]
expected: FAIL
expected: PASS
[Setting audio.volume to Infinity should throw a TypeError]
expected: FAIL
expected: PASS
[Setting audio.volume to -Infinity should throw a TypeError]
expected: FAIL
expected: PASS
[Setting video.volume to NaN should throw a TypeError]
expected: FAIL
expected: PASS
[Setting video.volume to Infinity should throw a TypeError]
expected: FAIL
expected: PASS
[Setting video.volume to -Infinity should throw a TypeError]
expected: FAIL
expected: PASS