My program uses CEF(Chromium Embedded Framework) to implement a simple browser component. I want to use the File System Access API in the CEF to read and write local files but it occurs some problems. https://mburakerman.github.io/file-system-access-api-demo/ is the test page I use to experiment the File System Access API. I used Chrome at first and Chrome behaved well, it read and wrote local files normally. Then I compiled the CEF(The verstion is 96) project and used the cefclient to test whether the CEF also worked well but it could not. CEF could read the local files right but when I clicked the "Save changes" button there was no response and it failed to write the local file I choosed before either. After that I ran the source code of Chromium and CEF to compare the differences in File System Access API. When I was going to write the local file the code of Chromium and CEF ran to the same position as the picture shown below.Chromium and CEF ran to the same position when wrote local files Both of them entered in the DoRequestPermission function. It was very strange that the current_status of Chromium was "ASK" but CEF was "DENIED". The current_status value in CEFThen I checked the stack it showed that the status of the file was initialized at the message dispatch time and I could not find where the status was initialized.The stack of CEF when using File System Access API enter image description hereI wonder why the status in Chromium is "ASK". Does it use some specific command lines or some other methods?
Use File System Access API in Chromium Embedded Framework
693 Views Asked by SimonMonkey At
0
There are 0 best solutions below
Related Questions in CHROMIUM
- Why is it impossible to definitively know if your website is running as a PWA or as a website?
- Is it possible to save MHTML with scripts included?
- Chrome PDF print image aspect ratio incorrect - very apparent with small images - is there a workaround?
- How to turn off login pop-up on stackoverflow
- "Inconsistent WhatsApp Web Integration: Error with Manifest File Null Value Reading"
- Possible scroll bug with usage of overflow-hidden on body along with "sr-only" elements?
- How to solve Missing X server or $DISPLAY when trying to change the loaded website in Chromium
- Google Chrome for AWS Lambda as a layer
- Does Chromium pass URLs along with JS to V8?
- Chromium version on Puppeteer build
- Change the blue background of chrome devtool like before
- Native Messaging "Specified native messaging host not found" debugging
- PDF-documents not loading inside iframe in Chrome and Edge
- ReferenceError: ReadableStream is not defined using Puppeteer's page.pdf() on AWS
- Why is MediaQuery.of(context).size.height in Flutter detecting a larger height in Android chromium-based browsers?
Related Questions in MESSAGE
- Slack webhook returns invalid_payload when message is a url
- How properly and efficient load chats and messages in those chats?
- I am getting this error using Eclipse : An error has occurred. See error log for more details. org/eclipse/egit/core/AdapterUtils
- Whatsapp shared id
- How to send message to recipients individually?
- Delete the number (limit) of records older than 180 days from ESQL (ACE flow)
- What's git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags --set-upstream origin master:master
- How to send messages inside the whatsapp with flutter app, no open whatsApp
- Can i use ws.onmessage in node.js server?
- Telethon, how to get messages from chat, but not don't make requests to get user entites
- MFMessageComposeViewController UI issue for big amount of recipients
- How to change the url of a template when i am sending a whatsapp message?
- Say a message for longer on alexa developer with python
- I want to set a popup message when I close any file in windows, how is it possible?
- Whatsapp messages sender works properly but not with images
Related Questions in CHROMIUM-EMBEDDED
- How to use CEF (Chromium Embedded Framework) in Python 3.12.0?
- CefSharp WinForms 117.2.40 Getting "Trying to modify an unregistered preference" setting auth preferences
- How to increase the number of available connections for a ChromiumWebBrowser?
- CEF ARM64 build compilation failing for CEF V119
- Error Building JCEF: how to fix Module Not Found?
- CefDOMVisitor Visit method never called?
- CEF in MFC application compile error C2061, Visual Studio 2022
- How to enable dark mode for CefSharp web browser in .NET?
- CefSharp - CEF (Chromium Embedded Framework) - (6261) challenging to build
- Creating new thread before 'CefExecuteProcess' causes CEF application to crash with SIGTRAP
- PyWebView with CEF: CEF window with UID master does not exist
- CefSharp ChromiumBrowser looses focus when opening file picker via <input type="file">
- How to sign-in to Google Account with Chromium Embedded Framework (CEF)
- GraalVM native image of JCEF application not working, even if agent generated config files were added
- Maximum page width
Related Questions in LOCAL-FILES
- Electron - Unable to Load Local Resource Error for a File in Renderer Process
- Unable to access Physical file (mp3) in Maui app (.net 7)
- Workarounds to access network drive files from Salesforce page?
- How to make 3rd party request from a React Native WebView which has loaded a local HTML file and avoid CORS
- Importing a local CSV file into Google Sheets using Apps Script
- Javascript web browser based tool to extract local files from gzip (tgz)
- ReactJS xlsx-js-style read local xls file
- Using Mutagen ID3 Tags to Update Cover Art in Spotify's Local Files
- Terrafrom data source a localfile and retrieve some keys from the content as output
- Im not able to parse local json files (chrome extension)
- How to access my local file on my server like apache
- Copy Values From List and Map To A File In Terraform
- Sharing (local) files in program instalation
- Use File System Access API in Chromium Embedded Framework
- local HTML file not loaded in Chrome for Android
Related Questions in FILE-SYSTEM-ACCESS-API
- File opens as text file in browser when opened with PWA
- File System Access API - open/read a file without using showOpenFilePicker()
- Can I set a specific drive (e.g,"D:\") as a default directory for showOpenFilePicker?
- Trying to generate a 20+ gb zip file with JSZip + File System Access API, always fails around 20 GB
- Can an installed PWA create and upload mulitple files from a single user prompt via FileSystemAccessAPI?
- File System Access API on Safari iOS - createSyncAccessHandle() UnknownError: 'invalid platform file handle'
- File access system api(wicg-file-system-access) is not loading in dev environment
- "AbortError: Blocked by Safe Browsing." when using the Filesystem Access API
- Does the Javascript File System Access API work with Mac? And if yes, are there any modifications needed for it to work?
- How can I save changes to a file selected from the user's computer in JavaScript?
- Why does ShowDirectoryPicker hang?
- Implement browser NVR
- File System API to open folder in network drive
- The File System Access API file writing gives error
- non-deprecated replacement for FileSystemEntry.toURL()
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?