diff options
author | Vincent Sanders <vince@kyllikki.org> | 2012-10-31 14:31:18 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2012-10-31 14:31:18 +0000 |
commit | 5496a604310b65db0513c063ed171f0168baee28 (patch) | |
tree | 7487c0223f08b7387d4dbf0e60237c2d3dcd5d43 /javascript/WebIDL/console.idl | |
parent | ede48d60748101e9795050955d934ea6e329d4c5 (diff) | |
download | netsurf-5496a604310b65db0513c063ed171f0168baee28.tar.gz netsurf-5496a604310b65db0513c063ed171f0168baee28.tar.bz2 |
console interface from IDL
Diffstat (limited to 'javascript/WebIDL/console.idl')
-rw-r--r-- | javascript/WebIDL/console.idl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/javascript/WebIDL/console.idl b/javascript/WebIDL/console.idl new file mode 100644 index 000000000..309b976da --- /dev/null +++ b/javascript/WebIDL/console.idl @@ -0,0 +1,20 @@ +// 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); +};
\ No newline at end of file |