WICG / netinfo

https://wicg.github.io/netinfo/
Other
95 stars 28 forks source link

Merge worker and window interfaces in one #45

Closed bakulf closed 7 years ago

bakulf commented 7 years ago

I propose to have this WebIDL interface instead 2 separate ones:

[NoInterfaceObject, Exposed=(Window,Worker)]
interface NavigatorNetworkInformation {
   ...
};

Navigator implements NavigatorNetworkInformation;
WorkerNavigator implements NavigatorNetworkInformation;
igrigorik commented 7 years ago

That seems reasonable. @marcoscaceres any thoughts?

marcoscaceres commented 7 years ago

Yes, I think that's a good suggestion.