summaryrefslogtreecommitdiff
path: root/desktop/browser.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-01-01 21:42:38 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-01-01 21:42:38 +0000
commit6ebaecccafbca464ee366d45fd15a0df13509849 (patch)
treec5aa49a34ab8412a04a1099b7b2740166225806b /desktop/browser.h
parenta195728c51a34e68b4361cb685d3e20acbbecbe0 (diff)
downloadnetsurf-6ebaecccafbca464ee366d45fd15a0df13509849.tar.gz
netsurf-6ebaecccafbca464ee366d45fd15a0df13509849.tar.bz2
Totaly prefunctry binding to spidermonkey
svn path=/trunk/netsurf/; revision=13360
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. */