[w3c/FileAPI] Normalize the File type without skipping lastModified (PR #230)

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.


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.w3.org/JinDX/FileAPI/pull/230.html" title="Last updated on Nov 14, 2026, 1:13 AM UTC (fe2d87e)">Preview</a> | <a href="https://pr-preview.w3.org/w3c/FileAPI/230/d285202...JinDX:fe2d87e.html" title="Last updated on Nov 14, 2026, 1:13 AM UTC (fe2d87e)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/FileAPI/pull/230

-- Commit Summary --

  * Normalize the File type without skipping lastModified

-- File Changes --

    M index.bs (8)

-- Patch Links --

https://github.com/w3c/FileAPI/pull/230.patch
https://github.com/w3c/FileAPI/pull/230.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/pull/230
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/FileAPI/pull/230@github.com>

Received on Saturday, 14 November 2026 01:14:04 UTC