mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
24 lines
425 B
Text
24 lines
425 B
Text
[SecureContext]
|
|
interface mixin NavigatorSMS {
|
|
readonly attribute SMSReceiver sms;
|
|
};
|
|
|
|
Navigator includes NavigatorSMS;
|
|
|
|
[
|
|
SecureContext,
|
|
Exposed=(Window,DedicatedWorker)]
|
|
interface SMS {
|
|
readonly attribute DOMString content;
|
|
};
|
|
|
|
dictionary SMSReceiverOptions {
|
|
unsigned long timeout;
|
|
};
|
|
|
|
[
|
|
SecureContext,
|
|
Exposed=Window
|
|
] interface SMSReceiver {
|
|
Promise<SMS> receive(optional SMSReceiverOptions options);
|
|
};
|