diff options
author | Tom Ritter <tom@mozilla.com> | 2018-02-20 15:36:16 -0600 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-03-14 11:32:10 +0100 |
commit | 4a2c5832e191de6f316e1b3888218903d14df0af (patch) | |
tree | 8eb2e1b9425c2e517d600d6e57324b9d112e5910 /dom/media/test | |
parent | b80bda27730a4788e5b26e732e04426ead9c6bd1 (diff) | |
download | uxp-4a2c5832e191de6f316e1b3888218903d14df0af.tar.gz |
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/test')
-rwxr-xr-x[-rw-r--r--] | dom/media/test/test_streams_element_capture.html | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | dom/media/test/test_streams_element_capture_createObjectURL.html | 3 |
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 5e30a3ce44..a29eeef4d1 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 d5d7efc5cb..d952c7142a 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"); |