web-sys: Use mixins instead of [NoInterfaceObject] interfaces and implements

I think these might all be from before WebIDL mixins existed. Either way,
multiple inheritance of interfaces that don't have exposed interface objects is
equivalent to mixins.
This commit is contained in:
Nick Fitzgerald
2018-08-15 16:32:06 -07:00
parent 69cc7725d6
commit b8afa0abde
99 changed files with 224 additions and 518 deletions

View File

@ -209,12 +209,11 @@ interface FrameLoader {
* The nsIWebBrowserPersistDocumentReceiver is a callback that
* will be fired once the document is ready for persisting.
*/
[NoInterfaceObject]
interface WebBrowserPersistable
interface mixin WebBrowserPersistable
{
[Throws]
void startPersistence(unsigned long long aOuterWindowID,
nsIWebBrowserPersistDocumentReceiver aRecv);
};
FrameLoader implements WebBrowserPersistable;
FrameLoader includes WebBrowserPersistable;