add_task(async () => {
let testFile = createFileWithData("setMozRelativePath");
let file = await File.createFromNsIFile(testFile);
file.setMozRelativePath("/test/relative/path");
// Verify that the relative path was set correctly.
is(file.webkitRelativePath, "test/relative/path", "The relative path should match the expected value.");
});
</script>
</pre>
</body>
</html>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.