summaryrefslogtreecommitdiff
path: root/javascript/WebIDL
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2013-06-02 20:58:57 +0100
committerVincent Sanders <vince@kyllikki.org>2013-06-02 21:00:32 +0100
commitae6058c15c4dbf1c067fac45cd092afeefa68a53 (patch)
tree6e28e5e986189d9d09f540d6298424850aea1fa8 /javascript/WebIDL
parentf2a6d645ae24ab49828d2d0ceb672bb7a80501c2 (diff)
downloadnetsurf-ae6058c15c4dbf1c067fac45cd092afeefa68a53.tar.gz
netsurf-ae6058c15c4dbf1c067fac45cd092afeefa68a53.tar.bz2
create objects from window on demand an keep them as simple unshared objects
update prototype handling to keep GC refs
Diffstat (limited to 'javascript/WebIDL')
-rw-r--r--javascript/WebIDL/console.idl4
1 files changed, 4 insertions, 0 deletions
diff --git a/javascript/WebIDL/console.idl b/javascript/WebIDL/console.idl
index 309b976da..5a3d9eb27 100644
--- a/javascript/WebIDL/console.idl
+++ b/javascript/WebIDL/console.idl
@@ -17,4 +17,8 @@ interface Console {
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