summaryrefslogtreecommitdiffstats
path: root/dom/media
diff options
context:
space:
mode:
authorTom Ritter <tom@mozilla.com>2018-02-20 15:36:16 -0600
committerwolfbeast <mcwerewolf@gmail.com>2018-03-14 11:32:10 +0100
commitb367c382417a8769d02dfb02639b0055dc62cef3 (patch)
tree8eb2e1b9425c2e517d600d6e57324b9d112e5910 /dom/media
parentf0b727eac28244e0fa24a6107dee44e83ad0f561 (diff)
downloadUXP-b367c382417a8769d02dfb02639b0055dc62cef3.tar
UXP-b367c382417a8769d02dfb02639b0055dc62cef3.tar.gz
UXP-b367c382417a8769d02dfb02639b0055dc62cef3.tar.lz
UXP-b367c382417a8769d02dfb02639b0055dc62cef3.tar.xz
UXP-b367c382417a8769d02dfb02639b0055dc62cef3.zip
Bug 1430173 - Update tests for 2ms timers. r=baku, a=RyanVM
MozReview-Commit-ID: 6xhQ71a5rDU --HG-- extra : transplant_source : %C2%D3%A7It%0Cg%92h%BB%3A%95%A2%0D.%86%B9C%9B%2B
Diffstat (limited to 'dom/media')
-rwxr-xr-x[-rw-r--r--]dom/media/test/test_streams_element_capture.html3
-rwxr-xr-x[-rw-r--r--]dom/media/test/test_streams_element_capture_createObjectURL.html3
2 files changed, 4 insertions, 2 deletions
diff --git a/dom/media/test/test_streams_element_capture.html b/dom/media/test/test_streams_element_capture.html
index 5e30a3ce4..a29eeef4d 100644..100755
--- a/dom/media/test/test_streams_element_capture.html
+++ b/dom/media/test/test_streams_element_capture.html
@@ -38,7 +38,8 @@ function startTest(test) {
var stream;
var checkEnded = function() {
- is(stream.currentTime, vout.currentTime, test.name + " stream final currentTime");
+ // We know the video time won't match up to the stream time
+ // is(stream.currentTime, vout.currentTime, test.name + " stream final currentTime");
if (test.duration) {
isGreaterThanOrEqualEps(vout.currentTime, test.duration,
test.name + " current time at end");
diff --git a/dom/media/test/test_streams_element_capture_createObjectURL.html b/dom/media/test/test_streams_element_capture_createObjectURL.html
index d5d7efc5c..d952c7142 100644..100755
--- a/dom/media/test/test_streams_element_capture_createObjectURL.html
+++ b/dom/media/test/test_streams_element_capture_createObjectURL.html
@@ -38,7 +38,8 @@ function startTest(test, token) {
var stream;
var checkEnded = function() {
- is(stream.currentTime, vout.currentTime, test.name + " stream final currentTime");
+ // We know the video time won't match up to the stream time
+ // is(stream.currentTime, vout.currentTime, test.name + " stream final currentTime");
if (test.duration) {
isGreaterThanOrEqualEps(vout.currentTime, test.duration,
test.name + " current time at end");