Fix NetworkInformation event listeners
This commit is contained in:
1 parent
730bd01f57
commit
fc9f5248f7
2 files changed
+24
-2
No files matched your search
Vendored
+1
@@ -3108,6 +3108,7 @@ _markNative(MimeTypeArray.prototype.item);
|
||||
_markNative(MimeTypeArray.prototype.namedItem);
|
||||
|
||||
class NetworkInformation {
|
||||
constructor() { _makeListenerBox(this); }
|
||||
get downlink() { return 10; }
|
||||
get downlinkMax() { return Infinity; }
|
||||
get effectiveType() { return '4g'; }
|
||||
|
||||
Reference in new issue
Block a user