Граф коммитов

8 Коммитов

Автор SHA1 Сообщение Дата
Jan-Ivar Bruaroey 4439872dc0 Bug 1462990 - Use async/await in mediasource mochitests r=bryce
MozReview-Commit-ID: AIr8CLyuGb7

--HG--
extra : rebase_source : 2136b7faccc24da6b163b0edf908a198136a7638
2018-05-21 16:40:13 -04:00
Bryce Van Dyk d74241d1f7 Bug 1461785 - Update dom/media/mediasource/test to abide eslint rules, add .eslintrc.js. r=jya,standard8
Add .eslintrc.js to configure globals from mediasource.js and to add extra
rules to encourage use of let and const over var.

Linting changes:
- Prefer const and let to var. This provides tighter scoping and avoids
  reassignment.
- Mozilla rules do not allow for shadowing of variables, so several tests have
  had promise lists renamed to avoid this.
- Numerous minor fixes to formatting including using double quotes, spacing,
  missing semicolons.
- Remove some unused variables.
- Arrays have spaces after opening braces and before closing braces, e.g.
  [ "foo" ], this is to be consistent with our clang-format rules.
- Fix naming of resourcePathSeen in test_MediaSource_memory_reporting.html.

MozReview-Commit-ID: 5q6oS7EWLTk

--HG--
extra : rebase_source : 9b67b294f338ca9205b52fded3af63e6c3ac9a5a
2018-05-14 10:08:59 -04:00
JW Wang c73002e638 Bug 1315591 - remove duplicated waitUntilTime() in test_BufferingWait[_mp4].html. r=jya
MozReview-Commit-ID: 12Z9TJ4WVVt

--HG--
extra : rebase_source : 34b9d33b354c41f02ce0da7dfcf13612e809bd34
2016-11-07 11:49:38 +08:00
Jean-Yves Avenard 1e7e9a8d7c Bug 1229987: P3. Update mochitests and add new one verifying behavior. r=cpearce 2015-12-18 19:26:53 +11:00
Jean-Yves Avenard 822bab3238 Bug 1159171: [MSE] P4. Changing waiting time value. r=edwin.
When ffmpeg is enabled, it will use the FFmpeg's VPX decoder. FFmpeg appears to always buffer 15 frames before returning one (this is the same with h264) causing the waiting event to be fired much earlier than when using libvpx
2015-10-01 19:40:21 +10:00
Jan Gerber feb0c4eb75 Bug 1182946: [MSE] P2. Fix webm mediasource test. r=jya
End of first media segment is 25523, not 25223
2015-08-08 20:40:53 +10:00
Bobby Holley 278166bbf6 Bug 1120266 - Factor some machinery out of test_BufferingWait into mediasource.js and make it Promise-friendly. r=jya 2015-01-16 10:57:59 -08:00
Bobby Holley 9c924c9f69 Bug 1093020 - Tests. r=karlt 2014-11-11 20:50:22 -08:00