Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[testharness.js] Reject non-thenable values #12898
[testharness.js] Reject non-thenable values
Previously, any test defined via the
Update testharness.js to enforce more stringent criteria on the value
As noted in the commit message, the current leniency recently allowed test bugs that could have been avoided.
Because there is no use case for a
Since Firefox and Chrome reported the intentional infraction, I think the process is sound. Since they reported no other infractions, I don't think their are any previously-existing errors.