<commit_before>---
title: Permissions API
category: apps
bugzilla: 1105827
firefox_status: in-development
mdn_url: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API
spec_url: https://w3c.github.io/permissions/
spec_repo: https://github.com/w3c/permissions
chrome_ref: 6376494003650560
caniuse_ref: permissions-api
---

Provides a consistent programmatic way to query the status of API permissions attributed to the current context.<commit_msg>Update Firefox status of the Permission API<commit_after>---
title: Permissions API
category: apps
bugzilla: 1105827
firefox_status: 46
mdn_url: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API
spec_url: https://w3c.github.io/permissions/
spec_repo: https://github.com/w3c/permissions
chrome_ref: 6376494003650560
caniuse_ref: permissions-api
---

Provides a consistent programmatic way to query the status of API permissions attributed to the current context.
{'fraction_non_alphanumeric': 0.09528907922912205, 'fraction_numerical': 0.055674518201284794, 'mean_word_length': 5.584507042253521, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '478708', 'n_tokens_mistral': 331, 'n_tokens_neox': 291, 'n_words': 79}