mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Move debug functions to Window IDL.
This is a cleaner way to expose those functions, and makes it possible to remove a significant amount code in rust-mozjs. The assert() function is no longer exposed, as it was unused and not very useful.
This commit is contained in:
parent
052d3cb083
commit
30055d9820
4 changed files with 21 additions and 10 deletions
|
@ -84,3 +84,9 @@ interface WindowTimers {
|
|||
void clearInterval(optional long handle = 0);*/
|
||||
};
|
||||
Window implements WindowTimers;
|
||||
|
||||
// Proprietary extensions.
|
||||
partial interface Window {
|
||||
void debug(DOMString arg);
|
||||
void gc();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue