Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Fixed the directory upload test#477

Open
phistuck wants to merge 1 commit intoWebPlatformTest:version-8.0WebPlatformTest/HTML5test:version-8.0from
phistuck:patch-2phistuck/html5test:patch-2Copy head branch name to clipboard
Open

Fixed the directory upload test#477
phistuck wants to merge 1 commit intoWebPlatformTest:version-8.0WebPlatformTest/HTML5test:version-8.0from
phistuck:patch-2phistuck/html5test:patch-2Copy head branch name to clipboard

Conversation

@phistuck
Copy link

Included a prefixed version.

I cannot find any specification that defined HTMLInputElement.prototype.directory (perhaps an old version of https://wicg.github.io/directory-upload/proposal.html - no idea) and Chrome does support a prefixed version of that (webkitDirectory) anyway, however, it does not support window.Directory (or any prefixed equivalent), so I think it is fine to use that for now instead of relying on a specification that is changing as we speak.

It makes sense to me to just put it in a bonus points section. Also, a link to the specification is missing.

Included a prefixed version.
@NielsLeenheer
Copy link
Collaborator

The webkitDirectory property is unrelated to this specification. It is a proprietary implementation that is not part of any specification.

And you are right regarding the directory property not existing (anymore). It is renamed to allowdirs, probably to avoid conflicts with webkitDirectory.

So, the test should be fixed, but webkitDirectory should not be part of it. Perhaps that can be a separate test for next update (in 2-3 months).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.