Verify xwidget USE_LSB_TAG assumption
* src/xwidget.c (Fxwidget_webkit_execute_script): Add verification. Problem reported by Andreas Schwab (Bug#25816#8).
This commit is contained in:
parent
160bcfeed6
commit
57a8346edf
1 changed files with 2 additions and 0 deletions
|
@ -720,6 +720,8 @@ argument procedure FUN.*/)
|
|||
GAsyncReadyCallback callback
|
||||
= FUNCTIONP (fun) ? webkit_javascript_finished_cb : NULL;
|
||||
|
||||
/* FIXME: The following hack assumes USE_LSB_TAG. */
|
||||
verify (USE_LSB_TAG);
|
||||
/* FIXME: This hack might lead to disaster if FUN is garbage
|
||||
collected before store_xwidget_js_callback_event makes it visible
|
||||
to Lisp again. See the FIXME in webkit_javascript_finished_cb. */
|
||||
|
|
Loading…
Add table
Reference in a new issue