Skip to content

Explore serialization replacement for query handling #262

@bric3

Description

@bric3

From Vladimir Kharitonov

Looks like you may implement GET/POST handlers(to read/write file). I see in JCEF that it's possible to intercept POST (CefPostDataElement) requests as well as GET.


Other consideration about local storage

Actually starting upcoming 2024.1 version of IntelliJ platform, JCEF offers an option to use Chrome DevTools Protocol. There is no examples of using it so far.
There is no file system API. Don't think it's possible or actually needed.
Don't see a problem in accessing localStorage in CefLoadHandler . So, yes.

I wonder if we can use CefDevToolsClient to restore / save a local storage. (need to have a look at this new API 🙂)

  1. Looks like devtool protocol offers such functionality https://chromedevtools.github.io/devtools-protocol/tot/DOMStorage/#method-setDOMStorageItem
    Not sure that it's better than using JS though

I think the local storage is unique not per Frame by itself, but per origin(domain+port).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions