| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Might be worth checking done here too.
Sorry, something went wrong.
There was a problem hiding this comment.
Most of these tests were actually derived from W3C's web-platform-tests, so I'm sure they would appreciate these changes as well.
Sorry, something went wrong.
There was a problem hiding this comment.
Also useful might be making sure entries[Symbol.iterator]() === entries.
Sorry, something went wrong.
There was a problem hiding this comment.
You may also test calling entries.next again (to simulate overread).
Sorry, something went wrong.
There was a problem hiding this comment.
entries.next.call(undefined) should throw as well.
Sorry, something went wrong.
There was a problem hiding this comment.
This test seems to overlap with a series of similar, but more comprehensive tests in #10905. I'm fine with keeping it in this PR, but I'd prefer just dropping it here.
Sorry, something went wrong.
Sorry, something went wrong.
|
@TimothyGu Thank you for reviews. PTAL 9c326fe EDIT: I'll squash. |
Sorry, something went wrong.
There was a problem hiding this comment.
@abouthiroppy, this PR seems to stop working after ed0086f. Can you please rebase and make sure it works on master? Thanks.
Sorry, something went wrong.
There was a problem hiding this comment.
This is also not needed any more after 326e967.
Sorry, something went wrong.
|
@TimothyGu I rebased and confirmed that the test passed. Thanks. |
Sorry, something went wrong.
There was a problem hiding this comment.
Actually do you mind fixing this and in -values.js as well?
const URLSearchParams = require('url').URLSearchParams;
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks, I forgot to change it.
Sorry, something went wrong.
Improve coverage for entries, keys and values. Validation tests and exception tests are included.
Sorry, something went wrong.
PR-URL: #10952 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: #10952 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
* index: allow #fragments in PR URLs Also check tightened PR_RE against pathname * review: fix Metadata state operation E.g. nodejs/node#10952 * review: simplify Fixes creation * review: overhaul getCollaborators() - Make regex static and more concise - Iterate over RE.exec - Use Map * review: remove extra whitespace Fixes: #5 * review: only look for LGTMs in <p>'s Fixes: nodejs/node#10657
| Back | FazBrowse Home | New Git URL |
Add exceptions for all cases.
Add entries, keys and values files.(Validation tests and exception tests are included.)
Checklist
Affected core subsystem(s)
test