add firefox extension template
This commit is contained in:
11
externs/webextension_polyfill/cookies/OnChangedCause.hx
Normal file
11
externs/webextension_polyfill/cookies/OnChangedCause.hx
Normal file
@@ -0,0 +1,11 @@
|
||||
package webextension_polyfill.cookies;
|
||||
|
||||
/**
|
||||
The underlying reason behind the cookie's change. If a cookie was inserted, or removed via an explicit call to
|
||||
$(ref:cookies.remove), "cause" will be "explicit". If a cookie was automatically removed due to expiry,
|
||||
"cause" will be "expired". If a cookie was removed due to being overwritten with an already-expired expiration date,
|
||||
"cause" will be set to "expired_overwrite". If a cookie was automatically removed due to garbage collection,
|
||||
"cause" will be "evicted". If a cookie was automatically removed due to a "set" call that overwrote it,
|
||||
"cause" will be "overwrite". Plan your response accordingly.
|
||||
**/
|
||||
typedef OnChangedCause = String;
|
Reference in New Issue
Block a user