Skip to content

Commit

Permalink
fix: navigator.permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoooqq committed Nov 7, 2021
1 parent 342d793 commit f5fd84e
Show file tree
Hide file tree
Showing 21 changed files with 880 additions and 90 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Based on [puppeteer](https://github.com/puppeteer/puppeteer), uses JavaScript ho

------

😎 Join Discord discussion and let's discover fun things together: [All-For-Bots](https://discord.gg/VMUhnUe2)
😎 Join Discord [**ALL-FOR-BOTS**](https://discord.gg/VMUhnUe2) and let's discover fun things together!

------

Expand Down
106 changes: 105 additions & 1 deletion device-hub/Android.json
Original file line number Diff line number Diff line change
Expand Up @@ -6092,5 +6092,109 @@
"name": "padmaa-Bold.1.1",
"exists": 1
}
]
],
"permissions": {
"storage-access": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': The Storage Access API is not enabled."
},
"push": {
"exType": "DOMException",
"msg": "Failed to execute 'query' on 'Permissions': Push Permission without userVisibleOnly:true isn't supported yet."
},
"speaker": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': The provided value 'speaker' is not a valid enum value of type PermissionName."
},
"device-info": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': The provided value 'device-info' is not a valid enum value of type PermissionName."
},
"bluetooth": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': The provided value 'bluetooth' is not a valid enum value of type PermissionName."
},
"clipboard": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': The provided value 'clipboard' is not a valid enum value of type PermissionName."
},
"ambient-light-sensor": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': GenericSensorExtraClasses flag is not enabled."
},
"accessibility-events": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Accessibility Object Model is not enabled."
},
"nfc": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Web NFC is not enabled."
},
"system-wake-lock": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': System Wake Lock is not enabled."
},
"window-placement": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Window Placement is not enabled."
},
"font-access": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Font Access is not enabled."
},
"midi": {
"state": "granted"
},
"background-fetch": {
"state": "granted"
},
"background-sync": {
"state": "granted"
},
"accelerometer": {
"state": "granted"
},
"gyroscope": {
"state": "granted"
},
"magnetometer": {
"state": "granted"
},
"screen-wake-lock": {
"state": "granted"
},
"clipboard-read": {
"state": "prompt"
},
"clipboard-write": {
"state": "granted"
},
"payment-handler": {
"state": "granted"
},
"periodic-background-sync": {
"state": "denied"
},
"geolocation": {
"state": "prompt"
},
"notifications": {
"state": "prompt"
},
"camera": {
"state": "prompt"
},
"microphone": {
"state": "prompt"
},
"display-capture": {
"state": "prompt"
},
"persistent-storage": {
"state": "prompt"
},
"idle-detection": {
"state": "prompt"
}
}
}
106 changes: 105 additions & 1 deletion device-hub/CentOS7.json
Original file line number Diff line number Diff line change
Expand Up @@ -6504,5 +6504,109 @@
"name": "padmaa-Bold.1.1",
"exists": 1
}
]
],
"permissions": {
"storage-access": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': The Storage Access API is not enabled."
},
"push": {
"exType": "DOMException",
"msg": "Failed to execute 'query' on 'Permissions': Push Permission without userVisibleOnly:true isn't supported yet."
},
"speaker": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': The provided value 'speaker' is not a valid enum value of type PermissionName."
},
"device-info": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': The provided value 'device-info' is not a valid enum value of type PermissionName."
},
"bluetooth": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': The provided value 'bluetooth' is not a valid enum value of type PermissionName."
},
"clipboard": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': The provided value 'clipboard' is not a valid enum value of type PermissionName."
},
"ambient-light-sensor": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': GenericSensorExtraClasses flag is not enabled."
},
"accessibility-events": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Accessibility Object Model is not enabled."
},
"nfc": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Web NFC is not enabled."
},
"system-wake-lock": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': System Wake Lock is not enabled."
},
"window-placement": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Window Placement is not enabled."
},
"font-access": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Font Access is not enabled."
},
"midi": {
"state": "granted"
},
"background-fetch": {
"state": "granted"
},
"background-sync": {
"state": "granted"
},
"accelerometer": {
"state": "granted"
},
"gyroscope": {
"state": "granted"
},
"magnetometer": {
"state": "granted"
},
"screen-wake-lock": {
"state": "granted"
},
"clipboard-read": {
"state": "prompt"
},
"clipboard-write": {
"state": "granted"
},
"payment-handler": {
"state": "granted"
},
"periodic-background-sync": {
"state": "denied"
},
"geolocation": {
"state": "prompt"
},
"notifications": {
"state": "prompt"
},
"camera": {
"state": "prompt"
},
"microphone": {
"state": "prompt"
},
"display-capture": {
"state": "prompt"
},
"persistent-storage": {
"state": "prompt"
},
"idle-detection": {
"state": "prompt"
}
}
}
106 changes: 105 additions & 1 deletion device-hub/Windows.json
Original file line number Diff line number Diff line change
Expand Up @@ -6702,5 +6702,109 @@
"name": "MS Pゴシック",
"exists": 1
}
]
],
"permissions": {
"storage-access": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': The Storage Access API is not enabled."
},
"push": {
"exType": "DOMException",
"msg": "Failed to execute 'query' on 'Permissions': Push Permission without userVisibleOnly:true isn't supported yet."
},
"speaker": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': The provided value 'speaker' is not a valid enum value of type PermissionName."
},
"device-info": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': The provided value 'device-info' is not a valid enum value of type PermissionName."
},
"bluetooth": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': The provided value 'bluetooth' is not a valid enum value of type PermissionName."
},
"clipboard": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': The provided value 'clipboard' is not a valid enum value of type PermissionName."
},
"ambient-light-sensor": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': GenericSensorExtraClasses flag is not enabled."
},
"accessibility-events": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Accessibility Object Model is not enabled."
},
"nfc": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Web NFC is not enabled."
},
"system-wake-lock": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': System Wake Lock is not enabled."
},
"window-placement": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Window Placement is not enabled."
},
"font-access": {
"exType": "TypeError",
"msg": "Failed to execute 'query' on 'Permissions': Font Access is not enabled."
},
"midi": {
"state": "granted"
},
"background-fetch": {
"state": "granted"
},
"background-sync": {
"state": "granted"
},
"accelerometer": {
"state": "granted"
},
"gyroscope": {
"state": "granted"
},
"magnetometer": {
"state": "granted"
},
"screen-wake-lock": {
"state": "granted"
},
"clipboard-read": {
"state": "prompt"
},
"clipboard-write": {
"state": "granted"
},
"payment-handler": {
"state": "granted"
},
"periodic-background-sync": {
"state": "denied"
},
"geolocation": {
"state": "prompt"
},
"notifications": {
"state": "prompt"
},
"camera": {
"state": "prompt"
},
"microphone": {
"state": "prompt"
},
"display-capture": {
"state": "prompt"
},
"persistent-storage": {
"state": "prompt"
},
"idle-detection": {
"state": "prompt"
}
}
}
Loading

0 comments on commit f5fd84e

Please sign in to comment.