add firefox extension template

This commit is contained in:
2025-08-07 16:03:16 -05:00
parent 6cbb29fed1
commit 5df289ffcb
586 changed files with 13636 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package webextension_polyfill.sessions;
typedef Session = {
/**
The time when the window or tab was closed or modified, represented in milliseconds since the epoch.
**/
var lastModified : Float;
/**
The $(ref:tabs.Tab), if this entry describes a tab. Either this or $(ref:sessions.Session.window) will be set.
Optional.
**/
@:optional
var tab : webextension_polyfill.tabs.Tab;
/**
The $(ref:windows.Window), if this entry describes a window. Either this or $(ref:sessions.Session.tab) will be set.
Optional.
**/
@:optional
var window : webextension_polyfill.windows.Window;
};