Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Imported Firefox 115 schema #4929

Merged
merged 1 commit into from
Jun 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions src/schema/imported/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,36 @@
"type": "string"
}
]
},
{
"name": "onChanged",
"description": "Fired when a registered command's shortcut is changed.",
"type": "function",
"parameters": [
{
"type": "object",
"name": "changeInfo",
"properties": {
"name": {
"type": "string",
"description": "The name of the shortcut."
},
"newShortcut": {
"type": "string",
"description": "The new shortcut active for this command, or blank if not active."
},
"oldShortcut": {
"type": "string",
"description": "The old shortcut which is no longer active for this command, or blank if the shortcut was previously inactive."
}
},
"required": [
"name",
"newShortcut",
"oldShortcut"
]
}
]
}
],
"functions": [
Expand Down
13 changes: 13 additions & 0 deletions src/schema/imported/storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,19 @@
]
}
]
},
"session": {
"allOf": [
{
"$ref": "#/types/StorageArea"
},
{
"allowedContexts": [
"devtools"
],
"description": "Items in the <code>session</code> storage area are kept in memory, and only until the either browser or extension is closed or reloaded."
}
]
}
},
"definitions": {},
Expand Down