diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2015-08-09 11:38:06 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2015-08-09 11:38:06 +0100 |
commit | 07b24d96b006edaa30ff431c10ff9e938a524aa2 (patch) | |
tree | f5e38528d9b5c7290a7471cd4189128372700be4 /test/data/idl/console.idl | |
parent | 678ec8cc73d54583906a91f68007a8c29ff3d3e2 (diff) | |
parent | 89f5a327b82d0f15c2988d918c8f9f57a156da36 (diff) | |
download | nsgenbind-07b24d96b006edaa30ff431c10ff9e938a524aa2.tar.gz nsgenbind-07b24d96b006edaa30ff431c10ff9e938a524aa2.tar.bz2 |
Merge branch 'vince/interfacemap'
Diffstat (limited to 'test/data/idl/console.idl')
-rw-r--r-- | test/data/idl/console.idl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/data/idl/console.idl b/test/data/idl/console.idl new file mode 100644 index 0000000..5a3d9eb --- /dev/null +++ b/test/data/idl/console.idl @@ -0,0 +1,24 @@ +// de facto set of features for console object +// https://developer.mozilla.org/en-US/docs/DOM/console +// http://msdn.microsoft.com/en-us/library/dd565625%28v=vs.85%29.aspx#consolelogging +// 31st October +// Yay for non-standard standards + +interface Console { + void debug(DOMString msg, Substitition... subst); + void dir(JSObject object); + void error(DOMString msg, Substitition... subst); + void group(); + void groupCollapsed(); + void groupEnd(); + void info(DOMString msg, Substitition... subst); + void log(DOMString msg, Substitition... subst); + void time(DOMString timerName); + void timeEnd(DOMString timerName); + void trace(); + void warn(DOMString msg, Substitition... subst); +}; + +partial interface Window { + readonly attribute Console console; +};
\ No newline at end of file |