emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add user content APIs for WebKit Xwidgets


From: Lars Ingebrigtsen
Subject: Re: [PATCH] Add user content APIs for WebKit Xwidgets
Date: Sun, 30 Aug 2020 15:43:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Qiantan Hong <qhong@mit.edu> writes:

> After an identifier is registered, JavaScript can then use it to post
> messages, which becomes an input event on Elisp side. This itself won’t
> be able to call any Elisp procedure, but it’s possible to bind the input event
> to some Elisp procedure that dispatches on message body and calls other
> function to simulate an FFI interface from js to Elisp. In this case, 
> that Elisp procedure should control which procedures are allowed to call.

Oh, I see.  Yes, that seems like a sensible way to do this and should be
safe. 

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]