diff options
| author | Andreas Schwab <schwab@linux-m68k.org> | 2018-05-21 14:18:24 +0200 |
|---|---|---|
| committer | Andreas Schwab <schwab@linux-m68k.org> | 2018-05-21 22:51:20 +0200 |
| commit | 8811c2408d3329eb84efe63d148a80afd080017c (patch) | |
| tree | 71b5c2952c571590019a1f827a16ddf05da3e380 /lisp/emacs-lisp/checkdoc.el | |
| parent | 7b9fb7ace4357f1d630bf6b332eab34ae130ca44 (diff) | |
| download | emacs-8811c2408d3329eb84efe63d148a80afd080017c.tar.gz | |
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/checkdoc.el')
0 files changed, 0 insertions, 0 deletions
