summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/crm.el
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2018-05-21 14:18:24 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2018-05-21 22:51:20 +0200
commit8811c2408d3329eb84efe63d148a80afd080017c (patch)
tree71b5c2952c571590019a1f827a16ddf05da3e380 /lisp/emacs-lisp/crm.el
parent7b9fb7ace4357f1d630bf6b332eab34ae130ca44 (diff)
downloademacs-8811c2408d3329eb84efe63d148a80afd080017c.tar.gz
emacs-8811c2408d3329eb84efe63d148a80afd080017c.tar.bz2
emacs-8811c2408d3329eb84efe63d148a80afd080017c.zip
Make xwidget-webkit-execute-script safe against GC (Bug#31545)
* src/xwidget.h (struct xwidget): Add script_callbacks. * src/xwidget.c (save_script_callback): New function. (Fxwidget_webkit_execute_script): Use it. Encode script before passing to execution engine. Always use a callback. (webkit_javascript_finished_cb): Deallocate script. (kill_buffer_xwidgets): Deallocate remaining scripts. (Fxwidget_webkit_zoom): Doc fix. (Fxwidget_resize): Doc fix.
Diffstat (limited to 'lisp/emacs-lisp/crm.el')
0 files changed, 0 insertions, 0 deletions