summaryrefslogtreecommitdiff
path: root/test/data/bindings/htmldocument.bnd
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/bindings/htmldocument.bnd')
-rw-r--r--test/data/bindings/htmldocument.bnd5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/data/bindings/htmldocument.bnd b/test/data/bindings/htmldocument.bnd
index 8d35df9..9b47433 100644
--- a/test/data/bindings/htmldocument.bnd
+++ b/test/data/bindings/htmldocument.bnd
@@ -37,10 +37,7 @@ operation write %{
if (document->htmlc->parser != NULL) {
dom_hubbub_parser_insert_chunk(document->htmlc->parser, (uint8_t *)txt, length);
}
- JSAPI_SET_RVAL(cx, vp, JSVAL_VOID);
-
- return JS_TRUE;
- %}
+%}
binding document {
type js_libdom; /* the binding type */