Skip to content
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

Fix Worker_terminate_event_queue erroneous failure #1776

Merged

Conversation

jwilm
Copy link
Contributor

@jwilm jwilm commented Apr 26, 2015

The Worker_terminate_event_queue test checks that the last message received has the value 10,000 (see https://github.com/w3c/web-platform-tests/blob/master/workers/Worker_terminate_event_queue.htm). However, the messages posted took values which are powers of 1,000 + 1 causing Worker_terminate_event_queue to always fail. This patch fixes the worker to emit values at exact powers of 1,000.

The Worker_terminate_event_queue test checks that the last message
received has the value 10000. However, the messages posted took values
which are powers of 1000 + 1. This caused Worker_terminate_event_queue
to always fail.
@hoppipolla-critic-bot
Copy link

Critic review: https://critic.hoppipolla.co.uk/r/4801

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

Ms2ger added a commit that referenced this pull request Apr 27, 2015
Fix Worker_terminate_event_queue erroneous failure; r=Ms2ger
@Ms2ger Ms2ger merged commit 7b99269 into web-platform-tests:master Apr 27, 2015
@Ms2ger
Copy link
Contributor

Ms2ger commented Apr 27, 2015

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants