mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Make console a namespace (fixes #13010)
This commit is contained in:
parent
0b689a8a31
commit
2bc0862f47
9 changed files with 30 additions and 73 deletions
|
@ -9,8 +9,10 @@
|
|||
* © Copyright 2014 Mozilla Foundation.
|
||||
*/
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface Console {
|
||||
[ClassString="Console",
|
||||
Exposed=(Window,Worker),
|
||||
ProtoObjectHack]
|
||||
namespace console {
|
||||
// These should be DOMString message, DOMString message2, ...
|
||||
void log(DOMString... messages);
|
||||
void debug(DOMString... messages);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue