Skip to content

Normalize the File type without skipping lastModified - #230

Open
JinDX wants to merge 1 commit into
w3c:mainfrom
JinDX:fix/file-api-file-constructor-type-does-not-skip-lastmodified
Open

JinDX wants to merge 1 commit into
w3c:mainfrom
JinDX:fix/file-api-file-constructor-type-does-not-skip-lastmodified

Conversation

@JinDX

@JinDX JinDX commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

The invalid type path skips the initialization of lastModified, and an omitted or empty type can leave the type variable unbound. Normalize the defaulted type independently, then continue with the timestamp steps.


Preview | Diff

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant