mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 10:57:34 +09:00
parent
db0d0cfb0a
commit
9949bc6c34
2 changed files with 6 additions and 0 deletions
|
|
@ -277,8 +277,11 @@ partial interface Document {
|
|||
|
||||
// https://w3c.github.io/page-visibility/#extensions-to-the-document-interface
|
||||
partial interface Document {
|
||||
[Pref="dom.visibilityAPI.enabled"]
|
||||
readonly attribute boolean hidden;
|
||||
[Pref="dom.visibilityAPI.enabled"]
|
||||
readonly attribute VisibilityState visibilityState;
|
||||
[Pref="dom.visibilityAPI.enabled"]
|
||||
attribute EventHandler onvisibilitychange;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -155,6 +155,9 @@ pref("dom.select_events.textcontrols.enabled", true);
|
|||
pref("dom.select_events.textcontrols.enabled", false);
|
||||
#endif
|
||||
|
||||
// Whether or not the document visbility API is enabled
|
||||
pref("dom.visibilityAPI.enabled", true);
|
||||
|
||||
// Whether or not Web Workers are enabled.
|
||||
pref("dom.workers.enabled", true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue