From: Paul Eggert Date: Mon, 20 Feb 2017 21:03:12 +0000 (-0800) Subject: Verify xwidget USE_LSB_TAG assumption X-Git-Tag: emacs-26.0.90~757 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=57a8346edfbaa7a4002f2ed8cad041588dfcdd9c;p=emacs.git Verify xwidget USE_LSB_TAG assumption * src/xwidget.c (Fxwidget_webkit_execute_script): Add verification. Problem reported by Andreas Schwab (Bug#25816#8). --- diff --git a/src/xwidget.c b/src/xwidget.c index dc705bb1404..e6de5da8e69 100644 --- a/src/xwidget.c +++ b/src/xwidget.c @@ -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. */