mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 02:17: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
|
// https://w3c.github.io/page-visibility/#extensions-to-the-document-interface
|
||||||
partial interface Document {
|
partial interface Document {
|
||||||
|
[Pref="dom.visibilityAPI.enabled"]
|
||||||
readonly attribute boolean hidden;
|
readonly attribute boolean hidden;
|
||||||
|
[Pref="dom.visibilityAPI.enabled"]
|
||||||
readonly attribute VisibilityState visibilityState;
|
readonly attribute VisibilityState visibilityState;
|
||||||
|
[Pref="dom.visibilityAPI.enabled"]
|
||||||
attribute EventHandler onvisibilitychange;
|
attribute EventHandler onvisibilitychange;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -155,6 +155,9 @@ pref("dom.select_events.textcontrols.enabled", true);
|
||||||
pref("dom.select_events.textcontrols.enabled", false);
|
pref("dom.select_events.textcontrols.enabled", false);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Whether or not the document visbility API is enabled
|
||||||
|
pref("dom.visibilityAPI.enabled", true);
|
||||||
|
|
||||||
// Whether or not Web Workers are enabled.
|
// Whether or not Web Workers are enabled.
|
||||||
pref("dom.workers.enabled", true);
|
pref("dom.workers.enabled", true);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue