use new and new_inherited in messagechannel

This commit is contained in:
Gregory Terzian 2020-02-21 15:30:03 +08:00
parent f5ff38b875
commit 28d0d90413
2 changed files with 17 additions and 14 deletions

View file

@ -8,7 +8,7 @@
[Exposed=(Window,Worker)]
interface MessageChannel {
[Throws] constructor();
constructor();
readonly attribute MessagePort port1;
readonly attribute MessagePort port2;
};