From 8ecf87b7b72e27a76bf8e9d3037ebc37d61f8d9c Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sun, 5 Nov 2006 01:13:29 +0100 Subject: [PATCH] setTimeout: Fix da assert Yeah, Miciah, I'm an idiot, don't walk around the fact. --- src/ecmascript/ecmascript.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ecmascript/ecmascript.c b/src/ecmascript/ecmascript.c index 49098d903..d2d1fa630 100644 --- a/src/ecmascript/ecmascript.c +++ b/src/ecmascript/ecmascript.c @@ -308,7 +308,7 @@ ecmascript_timeout_handler(void *i) { struct ecmascript_interpreter *interpreter = i; - assertm(interpreter->vs->doc_view, "setTimeout: vs with no document (e_f %d)", interpreter->vs->doc_view); + assertm(interpreter->vs->doc_view, "setTimeout: vs with no document (e_f %d)", interpreter->vs->ecmascript_fragile); interpreter->vs->doc_view->document->timeout = TIMER_ID_UNDEF; ecmascript_eval(interpreter, &interpreter->code, NULL);