From 9cf036b3f822c53ae3bde9df32add95b74751de3 Mon Sep 17 00:00:00 2001 From: SheetJS Date: Mon, 5 Sep 2022 06:00:35 -0400 Subject: [PATCH] webapi --- docz/docs/03-demos/31-engines.md | 2 +- docz/docs/03-demos/33-localfile.md | 18 +++++++++++++++--- docz/docs/03-demos/44-legacy.md | 2 +- docz/docs/03-demos/45-git.md | 5 +++-- docz/docs/07-csf/04-book.md | 9 +++++++-- docz/docs/09-miscellany/02-errors.md | 1 - docz/docs/09-miscellany/05-contributing.md | 13 +++++-------- 7 files changed, 32 insertions(+), 18 deletions(-) diff --git a/docz/docs/03-demos/31-engines.md b/docz/docs/03-demos/31-engines.md index be50e7f..cfd9ebc 100644 --- a/docz/docs/03-demos/31-engines.md +++ b/docz/docs/03-demos/31-engines.md @@ -95,8 +95,8 @@ mv duktape-2.7.0/src/*.{c,h} . 1) Download the standalone script, shim and test file: diff --git a/docz/docs/03-demos/33-localfile.md b/docz/docs/03-demos/33-localfile.md index 93cfd4a..5222255 100644 --- a/docz/docs/03-demos/33-localfile.md +++ b/docz/docs/03-demos/33-localfile.md @@ -139,6 +139,13 @@ drop_dom_element.addEventListener("drop", handleDropAsync, false); ## File System Access API +:::caution Limited Browser Support + +At the time of writing, browser support was fairly limited. Chrome introduced +the feature in version 86. Safari did not support File System Access API. + +::: + _Reading Files_ `window.showOpenFilePicker` shows a file picker and resolves to an array of @@ -220,7 +227,6 @@ function SheetJSRoundTripFileSystemAPI() { return (