diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-06-07 00:07:47 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-06-07 00:07:47 +0100 |
commit | 9754539e2275e33af34b5de9d343b85e8122d871 (patch) | |
tree | 587ea8b67f8bfc75e529dcab8e9d7dd7b8a2771c /javascript/jsapi/console.bnd | |
parent | 0fad46cd0f21af5b896e7a6ee1f3b45fdf2a091a (diff) | |
download | netsurf-9754539e2275e33af34b5de9d343b85e8122d871.tar.gz netsurf-9754539e2275e33af34b5de9d343b85e8122d871.tar.bz2 |
remove unused and broken spidermonkey integration
Diffstat (limited to 'javascript/jsapi/console.bnd')
-rw-r--r-- | javascript/jsapi/console.bnd | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/javascript/jsapi/console.bnd b/javascript/jsapi/console.bnd deleted file mode 100644 index 8303eb06c..000000000 --- a/javascript/jsapi/console.bnd +++ /dev/null @@ -1,47 +0,0 @@ -/* Binding to generate Console interface - * - * Copyright 2012 Vincent Sanders <vince@netsurf-browser.org> - * - * This file is part of NetSurf, http://www.netsurf-browser.org/ - * - * Released under the terms of the MIT License, - * http://www.opensource.org/licenses/mit-license - */ - -webidlfile "console.idl"; - -hdrcomment "Copyright 2012 Vincent Sanders <vince@netsurf-browser.org>"; -hdrcomment "This file is part of NetSurf, http://www.netsurf-browser.org/"; -hdrcomment "Released under the terms of the MIT License,"; -hdrcomment " http://www.opensource.org/licenses/mit-license"; - -preamble %{ - -#include "utils/config.h" -#include "utils/log.h" -#include "javascript/jsapi.h" - -#include "console.h" - -%} - -binding navigator { - type js_libdom; /* the binding type */ - - interface Console; /* Web IDL interface to generate */ - -} - -operation log %{ - unsigned int argloop; - JSString *jsstr; - unsigned long jsstrlen; - char *txt; - - for (argloop = 0; argloop < argc; argloop++) { - jsstr = JS_ValueToString(cx, argv[argloop]); - - JSString_to_char(jsstr, txt, jsstrlen); - LOG("%s", txt); - } -%} |