← Back to release summary

Interoperable File.webkitRelativePath property

Category
File APIs
Type
New or changed feature
Status
Enabled by default (Chrome 72)
Intent stage
None

Summary

The File.webkitRelativePath of the File interface previously returned a value different from other major browsers, now it returns the same value. For example, if a user has the following local files: /tmp/a/foo/bar/1.txt, /tmp/a/foo/2.txt and they selected /tmp with a file chooser dialog, webkitRelativePath in Chrome was: foo/bar/1.txt, foo/2.txt Other browsers, which Chrome now matches, return this: tmp/a/foo/bar/1.txt, tmp/a/foo/2.txt

Standards & signals

View on chromestatus.com