mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
ae6058c15c
update prototype handling to keep GC refs
24 lines
763 B
Plaintext
24 lines
763 B
Plaintext
// 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;
|
|
}; |