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: Richard Stallman
Subject: Re: [PATCH] Add user content APIs for WebKit Xwidgets
Date: Sat, 29 Aug 2020 00:10:04 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > I implemented some primitives to expose some WebKit user content APIs
  > (user script and script message handlers)

I am not sure what those terms mean, but could we please not call them
"content"?

      for WebKit Xwidgets, both
  > for WebKitGTK impl and NS/mac impl.

Can you tell me what this has to do with Javascript?
Is Webkitgtk implemented using Javascript?

  > The script message handler API makes it possible to trigger event in emacs
  > from JavaScript, and can be used to implement procedure calling from
  > js to elisp. Currently only the other way around is possible.

If the Javascript code is free, or user-written, there's no harm in doing such
calls in either direction.  But when the language is Javascript, given the way
Javascript is usually used (running nonfree programs that random sites send,
often in obfuscated form), I'm concerned that we are opening the door
to vicious habits that we ought to be trying to discourage.


-- 
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

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