summaryrefslogtreecommitdiff
path: root/desktop/browser.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/browser.h')
-rw-r--r--desktop/browser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/browser.h b/desktop/browser.h
index 563d31431..5136cb205 100644
--- a/desktop/browser.h
+++ b/desktop/browser.h
@@ -197,6 +197,11 @@ struct browser_window {
/** Current context for free text search, or NULL if none */
struct search_context *cur_search;
+ /** current javascript context */
+ struct jscontext *jsctx;
+ /** current global javascript object */
+ struct jsobject *jsglobal;
+
/** cache of the currently displayed status text. */
char *status_text; /**< Current status bar text. */
int status_text_len; /**< Length of the ::status_text buffer. */