summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
Diffstat (limited to 'test/data')
-rw-r--r--test/data/bindings/htmldocument.bnd16
1 files changed, 14 insertions, 2 deletions
diff --git a/test/data/bindings/htmldocument.bnd b/test/data/bindings/htmldocument.bnd
index 55a8ac7..24699c1 100644
--- a/test/data/bindings/htmldocument.bnd
+++ b/test/data/bindings/htmldocument.bnd
@@ -51,6 +51,18 @@ static JSBool JSAPI_NATIVE(write, JSContext *cx, uintN argc, jsval *vp)
return JS_TRUE;
}
-]]]
+]]];
-interface "Document";
+binding document {
+ type js_libdom {
+ node dom_document;
+
+ }; /* the binding type and any instance specific extra data */
+
+ extra "struct html_content *htmlc"; /* extra parameters to constructor
+ * value stored in private context
+ * structure.
+ */
+
+ interface Document; /* Web IDL interface to generate */
+}; \ No newline at end of file