mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
implement related sw interface and register method
This commit is contained in:
parent
0594d58bc8
commit
15a2064c0d
33 changed files with 1285 additions and 217 deletions
|
@ -31,6 +31,11 @@ interface NavigatorBluetooth {
|
|||
readonly attribute Bluetooth bluetooth;
|
||||
};
|
||||
|
||||
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#navigator-service-worker
|
||||
partial interface Navigator {
|
||||
[SameObject, Pref="dom.serviceworker.enabled"] readonly attribute ServiceWorkerContainer serviceWorker;
|
||||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#navigatorlanguage
|
||||
[NoInterfaceObject/*, Exposed=Window,Worker*/]
|
||||
interface NavigatorLanguage {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue