summaryrefslogtreecommitdiff
path: root/javascript/WebIDL/console.idl
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-11-03 15:13:43 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-11-03 15:13:43 +0000
commit180f7ff42cc42862a39e9c18ba7556b3020bb647 (patch)
tree5ef0deef46801d4c1b47a86a2d373533d9c0bd74 /javascript/WebIDL/console.idl
parentef5c8c21a6dbf5db68743704a74066e01cc9a853 (diff)
parent45d508487af4a817fda3b536c2872f588291902b (diff)
downloadnetsurf-180f7ff42cc42862a39e9c18ba7556b3020bb647.tar.gz
netsurf-180f7ff42cc42862a39e9c18ba7556b3020bb647.tar.bz2
Merge Vincent's Javascript work onto master
Diffstat (limited to 'javascript/WebIDL/console.idl')
-rw-r--r--javascript/WebIDL/console.idl20
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