summaryrefslogtreecommitdiff
path: root/test/data/bindings/window.bnd
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/bindings/window.bnd')
-rw-r--r--test/data/bindings/window.bnd9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/data/bindings/window.bnd b/test/data/bindings/window.bnd
index e59f65a..4fb5a46 100644
--- a/test/data/bindings/window.bnd
+++ b/test/data/bindings/window.bnd
@@ -27,10 +27,11 @@ epilogue %{
#include "dom.bnd"
-binding window {
- type js_libdom; /* the binding type */
+binding jsapi_libdom {
- interface Window; /* Web IDL interface to generate */
+ interface Window {
+ flags global;
+ }
private "struct browser_window *" bw;
private "struct html_content *" htmlc;
@@ -63,8 +64,6 @@ api mark %{
}
%}
-api global %{
-%}
api init %{
JSObject *user_proto;