/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
components/script_bindings/webidls/File.webidl
23 строки
782 B
Euclid Ye
script: Introduce `dom_entries_api_enabled` & dummy `File.webkitRelativePath` impl (#45666)
16 июн 2026, 20:27
Не верифицирован
16 июн 2026, 20:27
2cf7602
Код
Авторство
О чём код?
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ // https://w3c.github.io/FileAPI/#file [Exposed=(Window,Worker), Serializable] interface File : Blob { [Throws] constructor(sequence<BlobPart> fileBits, DOMString fileName, optional FilePropertyBag options = {}); readonly attribute DOMString name; readonly attribute long long lastModified; }; dictionary FilePropertyBag : BlobPropertyBag { long long lastModified; }; // https://wicg.github.io/entries-api/#file-interface partial interface File { [Pref="dom_entries_api_enabled"] readonly attribute USVString webkitRelativePath; };