From c25cc0e348a1abf0ee0719cf30515b3cc07f1848 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 21 Dec 2013 22:29:42 +0000 Subject: move flag indicating jsapi object for an interface should be a global from api definition to the interface flags --- test/data/bindings/window.bnd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/data/bindings/window.bnd') diff --git a/test/data/bindings/window.bnd b/test/data/bindings/window.bnd index 2f26f56..4fb5a46 100644 --- a/test/data/bindings/window.bnd +++ b/test/data/bindings/window.bnd @@ -29,7 +29,9 @@ epilogue %{ binding jsapi_libdom { - interface Window; /* Web IDL interface to generate */ + interface Window { + flags global; + } private "struct browser_window *" bw; private "struct html_content *" htmlc; @@ -62,8 +64,6 @@ api mark %{ } %} -api global %{ -%} api init %{ JSObject *user_proto; -- cgit v1.2.3