mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
moebius#339: Make it possible to add cookies, local and session storage entries
Issue #31 https://github.com/MoonchildProductions/moebius/pull/339
This commit is contained in:
parent
e688e88257
commit
6d865bfda3
13 changed files with 309 additions and 43 deletions
|
|
@ -90,6 +90,13 @@ createStorageSpec({
|
|||
methods: Object.assign({},
|
||||
editRemoveMethods,
|
||||
{
|
||||
addItem: {
|
||||
request: {
|
||||
guid: Arg(0, "string"),
|
||||
},
|
||||
response: {}
|
||||
}
|
||||
}, {
|
||||
removeAll: {
|
||||
request: {
|
||||
host: Arg(0, "string"),
|
||||
|
|
@ -119,6 +126,14 @@ types.addDictType("storageobject", {
|
|||
const storageMethods = Object.assign({},
|
||||
editRemoveMethods,
|
||||
{
|
||||
addItem: {
|
||||
request: {
|
||||
guid: Arg(0, "string"),
|
||||
host: Arg(1, "nullable:string")
|
||||
},
|
||||
response: {}
|
||||
}
|
||||
}, {
|
||||
removeAll: {
|
||||
request: {
|
||||
host: Arg(0, "string")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue