blob: ca8cfdd798c8e7d85c8251ea08acb063fc25ae77 [file] [log] [blame]
[SecureContext]
interface mixin NavigatorSMS {
readonly attribute SMSReceiver sms;
};
Navigator includes NavigatorSMS;
[
SecureContext,
Exposed=(Window,DedicatedWorker)]
interface SMS {
readonly attribute DOMString content;
};
dictionary SMSReceiverOptions {
AbortSignal signal;
};
[
SecureContext,
Exposed=Window
] interface SMSReceiver {
Promise<SMS> receive(optional SMSReceiverOptions options);
};