netsurf: branch vince/nsgenbind updated. b84dc91e3dbf694de6d3e79ecd4755e8d0b699b7

NetSurf Browser Project (Commit Mailer) no-reply at netsurf-browser.org
Fri Nov 2 11:05:55 GMT 2012


Gitweb links:

...log http://git.netsurf-browser.org/netsurf.git/shortlog/b84dc91e3dbf694de6d3e79ecd4755e8d0b699b7
...commit http://git.netsurf-browser.org/netsurf.git/commit/b84dc91e3dbf694de6d3e79ecd4755e8d0b699b7
...tree http://git.netsurf-browser.org/netsurf.git/tree/b84dc91e3dbf694de6d3e79ecd4755e8d0b699b7

The branch, vince/nsgenbind has been updated
       via  b84dc91e3dbf694de6d3e79ecd4755e8d0b699b7 (commit)
      from  2b6bd44ef0aec9c99617e7125bda918545be7316 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff http://git.netsurf-browser.org/netsurf.git/commitdiff/b84dc91e3dbf694de6d3e79ecd4755e8d0b699b7
commit b84dc91e3dbf694de6d3e79ecd4755e8d0b699b7
Author: Vincent Sanders <vince at kyllikki.org>
Commit: Vincent Sanders <vince at kyllikki.org>

    remove extraneous debug

diff --git a/javascript/jsapi/bindings/dom.bnd b/javascript/jsapi/bindings/dom.bnd
index 0f54571..362c828 100644
--- a/javascript/jsapi/bindings/dom.bnd
+++ b/javascript/jsapi/bindings/dom.bnd
@@ -7,15 +7,11 @@ operation getElementById %{
 	dom_element *element;
         dom_exception exc;
 
-        LOG(("elementId_len %d elementId %s",elementId_len,elementId));
-
 	dom_string_create((unsigned char*)elementId, elementId_len, &elementId_dom);
-        LOG(("dom string %p", elementId_dom));
-
 
 	exc = dom_document_get_element_by_id(private->node, elementId_dom, &element);
         if ((exc == DOM_NO_ERR) && (element != NULL)) {
-              jsret = jsapi_new_HTMLElement(cx, NULL, JS_GetGlobalObject(cx), element, private->htmlc);
+              jsret = jsapi_new_HTMLElement(cx, NULL, NULL, element, private->htmlc);
         }
 %}
 


-----------------------------------------------------------------------

Summary of changes:
 javascript/jsapi/bindings/dom.bnd |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/javascript/jsapi/bindings/dom.bnd b/javascript/jsapi/bindings/dom.bnd
index 0f54571..362c828 100644
--- a/javascript/jsapi/bindings/dom.bnd
+++ b/javascript/jsapi/bindings/dom.bnd
@@ -7,15 +7,11 @@ operation getElementById %{
 	dom_element *element;
         dom_exception exc;
 
-        LOG(("elementId_len %d elementId %s",elementId_len,elementId));
-
 	dom_string_create((unsigned char*)elementId, elementId_len, &elementId_dom);
-        LOG(("dom string %p", elementId_dom));
-
 
 	exc = dom_document_get_element_by_id(private->node, elementId_dom, &element);
         if ((exc == DOM_NO_ERR) && (element != NULL)) {
-              jsret = jsapi_new_HTMLElement(cx, NULL, JS_GetGlobalObject(cx), element, private->htmlc);
+              jsret = jsapi_new_HTMLElement(cx, NULL, NULL, element, private->htmlc);
         }
 %}
 


-- 
NetSurf Browser



More information about the netsurf-commits mailing list