-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove timeout in async_test for mediacapture-streams tests #14089
Remove timeout in async_test for mediacapture-streams tests #14089
Conversation
1bb976f
to
81c52db
Compare
Remove all the timeout in `async_test` for mediacapture-streams tests. Affected tests: 12 Before: Pass: 10, Failed: 2 After: Pass: 10, Failed: 2 Related: web-platform-tests#11120
@@ -15,7 +15,7 @@ <h1 class="instructions">Description</h1> | |||
<script src=/resources/testharness.js></script> | |||
<script src=/resources/testharnessreport.js></script> | |||
<script> | |||
var t = async_test("Tests that adding a track to a MediaStream works as expected", {timeout: 20000}); // longer timeout since requires double user interaction | |||
var t = async_test("Tests that adding a track to a MediaStream works as expected"); // longer timeout since requires double user interaction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove the comment which refers to the deleted code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops! Most of the update was done by a script and I didn't notice that useless comment. It's removed now.
@@ -17,7 +17,7 @@ <h1 class="instructions">Description</h1> | |||
<script src=/resources/testharness.js></script> | |||
<script src=/resources/testharnessreport.js></script> | |||
<script> | |||
var t = async_test("Tests that the video MediaStreamTrack objects are properly ended on permission revocation", {timeout: 20000}); // longer timeout since requires user interaction | |||
var t = async_test("Tests that the video MediaStreamTrack objects are properly ended on permission revocation"); // longer timeout since requires user interaction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed.
Since the `timeout` is removed from `async_test`, the comments are useless and should be removed.
Remove all the timeout in
async_test
for mediacapture-streams tests.Affected tests: 12
Before: Pass: 10, Failed: 2
After: Pass: 10, Failed: 2
Related: #11120