- Notifications
You must be signed in to change notification settings - Fork 3.3k
Replace usage of setTimeout with step_timeout in XMLHttpRequest#4967
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
base:master
Are you sure you want to change the base?
Conversation
This is expected to help test stability on slow configurations, as the timeouts will be multiplied by the timeout multiplier.
Notifying @Manishearth, @Ms2ger, @annevk, @caitp, @emilio, @hallvors, @ibelem, @jdm, @jungkees, @kangxu, @mathiasbynens, @ronkorving, and @wisniewskit. (Learn how reviewing works.) |
STALLED_REQUEST_URL = "resources/" + STALLED_REQUEST_URL; | ||
set_timeout = step_timeout; |
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.
Shouldn't this be test.step_timeout? Why is that not available in a worker?
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.
@jgraham ^^?
ghost commented Feb 22, 2017
Firefox (nightly channel)Testing web-platform-tests at revision 75d10aa All results7 tests ran/XMLHttpRequest/xmlhttprequest-timeout-aborted.html
/XMLHttpRequest/xmlhttprequest-timeout-abortedonmain.html
/XMLHttpRequest/xmlhttprequest-timeout-overrides.html
/XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html
/XMLHttpRequest/xmlhttprequest-timeout-simple.html
/XMLHttpRequest/xmlhttprequest-timeout-synconmain.html
/XMLHttpRequest/xmlhttprequest-timeout-twice.html
|
ghost commented Feb 22, 2017
Chrome (unstable channel)Testing web-platform-tests at revision 75d10aa All results7 tests ran/XMLHttpRequest/xmlhttprequest-timeout-aborted.html
/XMLHttpRequest/xmlhttprequest-timeout-abortedonmain.html
/XMLHttpRequest/xmlhttprequest-timeout-overrides.html
/XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html
/XMLHttpRequest/xmlhttprequest-timeout-simple.html
/XMLHttpRequest/xmlhttprequest-timeout-synconmain.html
/XMLHttpRequest/xmlhttprequest-timeout-twice.html
|
I guess I'm somewhat okay with landing this given that it doesn't change the results, but it still seems a little weird to only fix it outside workers. |
This is expected to help test stability on slow configurations, as the
timeouts will be multiplied by the timeout multiplier.
Split out from #1816.