Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require a "." to be included in the accepted extensions. #219

Merged
merged 4 commits into from
Aug 18, 2020

Conversation

mkruisselbrink
Copy link
Contributor

@mkruisselbrink mkruisselbrink commented Aug 18, 2020

This is more in line with how accepts in input type=file works, as well
as how the file handling API currently is specified.

Fixes #213


Preview | Diff

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Aug 18, 2020
Implements the changes from WICG/file-system-access#219.

Change-Id: Ic785f0362b5c73a843145c5384f063cf24770b7b
This is more in line with how accepts in input type=file works, as well
as how the file handling API currently is specified.

Fixes #213
Copy link
Member

@inexorabletash inexorabletash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Normative changes LGTM, with the issue noted. Can fix here or a follow up.

Non-normative text still refers to "extensions" and should be updated carefully in a subsequent PR, e.g. saying something like suffixes (commonly called "extensions") somewhere. The domintro section should also call out that the leading . is required.

index.bs Show resolved Hide resolved
index.bs Show resolved Hide resolved
@mkruisselbrink
Copy link
Contributor Author

Normative changes LGTM, with the issue noted. Can fix here or a follow up.

Non-normative text still refers to "extensions" and should be updated carefully in a subsequent PR, e.g. saying something like suffixes (commonly called "extensions") somewhere. The domintro section should also call out that the leading . is required.

I did add a mention of "." being required. Not sure about rephrasing the non-normative text to say suffixes. HTML just calls these things extensions in its description of input type="file" accept. But will consider what to do for a future follow-up.

@mkruisselbrink mkruisselbrink merged commit 5aa4132 into master Aug 18, 2020
@mkruisselbrink mkruisselbrink deleted the period-for-extensions branch August 18, 2020 19:46
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Aug 19, 2020
Implements the changes from WICG/file-system-access#219.

Change-Id: Ic785f0362b5c73a843145c5384f063cf24770b7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2360597
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799617}
blueboxd pushed a commit to blueboxd/chromium-legacy that referenced this pull request Aug 19, 2020
Implements the changes from WICG/file-system-access#219.

Change-Id: Ic785f0362b5c73a843145c5384f063cf24770b7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2360597
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799617}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Aug 19, 2020
Implements the changes from WICG/file-system-access#219.

Change-Id: Ic785f0362b5c73a843145c5384f063cf24770b7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2360597
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799617}
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Aug 25, 2020
…ensions., a=testonly

Automatic update from web-platform-tests
[FS] Require a leading . in accepted extensions.

Implements the changes from WICG/file-system-access#219.

Change-Id: Ic785f0362b5c73a843145c5384f063cf24770b7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2360597
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799617}

--

wpt-commits: 7a3831fa57581bcd6081f9a2d2befbda888c016b
wpt-pr: 25071
ambroff pushed a commit to ambroff/gecko that referenced this pull request Nov 4, 2020
…ensions., a=testonly

Automatic update from web-platform-tests
[FS] Require a leading . in accepted extensions.

Implements the changes from WICG/file-system-access#219.

Change-Id: Ic785f0362b5c73a843145c5384f063cf24770b7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2360597
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799617}

--

wpt-commits: 7a3831fa57581bcd6081f9a2d2befbda888c016b
wpt-pr: 25071
mjfroman pushed a commit to mjfroman/moz-libwebrtc-third-party that referenced this pull request Oct 14, 2022
Implements the changes from WICG/file-system-access#219.

Change-Id: Ic785f0362b5c73a843145c5384f063cf24770b7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2360597
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799617}
GitOrigin-RevId: 79011db8c74b84c315a098ed89896255142baf2c
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.

Specifying extensions without leading "." doesn't match the File Handling API
2 participants