Fix NetworkInformation event listeners

This commit is contained in:
SGavrl committed 2026-07-22 10:29:51 +00:00
1 parent 730bd01f57
commit fc9f5248f7
2 files changed
+24 -2

No files matched your search

+1
View File
@@ -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'; }