summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2013-12-07 14:28:19 +0000
committerVincent Sanders <vince@kyllikki.org>2014-05-16 14:38:56 +0100
commit5755930ae93b6305b40620fff0e90bc2e4c64b46 (patch)
treebc2fefbc7c5a7fd405edb6dc24f27daaf4ec6dc4 /test
parent1e603c7225117c26e793a455a30b59d6d7551d5e (diff)
downloadnsgenbind-5755930ae93b6305b40620fff0e90bc2e4c64b46.tar.gz
nsgenbind-5755930ae93b6305b40620fff0e90bc2e4c64b46.tar.bz2
move binding type from explicit statement into declaration.
As a side effect the binding declaration changes and looses its (unused) name/identifier
Diffstat (limited to 'test')
-rw-r--r--test/data/bindings/htmldocument.bnd3
-rw-r--r--test/data/bindings/htmldocument2.bnd4
-rw-r--r--test/data/bindings/window.bnd3
3 files changed, 3 insertions, 7 deletions
diff --git a/test/data/bindings/htmldocument.bnd b/test/data/bindings/htmldocument.bnd
index 8f85ca3..933695e 100644
--- a/test/data/bindings/htmldocument.bnd
+++ b/test/data/bindings/htmldocument.bnd
@@ -31,8 +31,7 @@ operation write %{
}
%}
-binding document {
- type js_libdom; /* the binding type */
+binding jsapi_libdom {
/* parameters to constructor value stored in private
* context structure.
diff --git a/test/data/bindings/htmldocument2.bnd b/test/data/bindings/htmldocument2.bnd
index e7955d9..63deafd 100644
--- a/test/data/bindings/htmldocument2.bnd
+++ b/test/data/bindings/htmldocument2.bnd
@@ -26,9 +26,7 @@ operation write %{
}
%}
-binding document {
- type js_libdom; /* the binding type */
-
+binding jsapi_libdom {
/* parameters to constructor value stored in private
* context structure.
*/
diff --git a/test/data/bindings/window.bnd b/test/data/bindings/window.bnd
index e59f65a..2f26f56 100644
--- a/test/data/bindings/window.bnd
+++ b/test/data/bindings/window.bnd
@@ -27,8 +27,7 @@ epilogue %{
#include "dom.bnd"
-binding window {
- type js_libdom; /* the binding type */
+binding jsapi_libdom {
interface Window; /* Web IDL interface to generate */