Fix webidl-tests fallout

This commit is contained in:
Alex Crichton
2018-09-17 14:51:25 -07:00
parent f24828a16b
commit fe31615ca1
4 changed files with 32 additions and 10 deletions

View File

@ -87,7 +87,11 @@ global.Unforgeable = class Unforgeable {
}
};
global.m = () => 123;
global.GlobalMethod = class {
m() { return 123; }
};
global.get_global_method = () => new GlobalMethod();
global.Indexing = function () {
return new Proxy({}, {