Skip to content

fs: add tests for null WriteParams members throwing TypeError#58156

Open
usamanadeemdeveloper wants to merge 1 commit into
web-platform-tests:masterfrom
usamanadeemdeveloper:fix/writeparams-null-typeerror
Open

fs: add tests for null WriteParams members throwing TypeError#58156
usamanadeemdeveloper wants to merge 1 commit into
web-platform-tests:masterfrom
usamanadeemdeveloper:fix/writeparams-null-typeerror

Conversation

@usamanadeemdeveloper

Copy link
Copy Markdown

size, position, and data in WriteParams are being made non-nullable (whatwg/fs#181). Add tests to verify that passing null for each of these members throws a TypeError at the WebIDL boundary.

A test for data: null already existed; this adds the missing cases
for position: null and size: null.

`size`, `position`, and `data` in `WriteParams` are being made
non-nullable (whatwg/fs#181). Add tests to verify that passing null
for each of these members throws a TypeError at the WebIDL boundary.

A test for `data: null` already existed; this adds the missing cases
for `position: null` and `size: null`.
@usamanadeemdeveloper

Copy link
Copy Markdown
Author

Hi @mkruisselbrink, just wanted to check in any chance you'll get to review this? It's the companion test PR for whatwg/fs#182. Everything looks good on my end, but please let me know if there's anything blocking it from your side?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants