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: make testharness.js strict mode compatible #27301

Merged

Conversation

lucacasonato
Copy link
Member

PR #27224 broke strict mode compatibility in testharness.js. This restores that.

Copy link
Contributor

@jgraham jgraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out we're already using const in some places and my use of ... was possibly somewhat silly if we were really trying to make this super backward compatible. I think it would make sense to move testharness.js to the subset of ES that was supported a couple of years ago; maybe there should be an RFC for that.

@jgraham jgraham merged commit 9c225de into web-platform-tests:master Jan 26, 2021
@lucacasonato lucacasonato deleted the testharness-strict-mode-compat branch January 27, 2021 12:15
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

3 participants