Skip to content

Commit 2b9d9f9

Browse files
Switch to EpochTimeStamp (#338)
1 parent 1a351e8 commit 2b9d9f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
};
5151
</script>
5252
</head>
53-
<body data-cite="service-workers FILEAPI secure-contexts">
53+
<body data-cite="service-workers FILEAPI secure-contexts hr-time">
5454
<section id="abstract">
5555
<p>
5656
The <cite>Push API</cite> enables sending of a <a>push message</a> to a web application via
@@ -750,7 +750,7 @@ <h2>
750750
[Exposed=(Window,Worker), SecureContext]
751751
interface PushSubscription {
752752
readonly attribute USVString endpoint;
753-
readonly attribute DOMTimeStamp? expirationTime;
753+
readonly attribute EpochTimeStamp? expirationTime;
754754
[SameObject] readonly attribute PushSubscriptionOptions options;
755755
ArrayBuffer? getKey(PushEncryptionKeyName name);
756756
Promise&lt;boolean&gt; unsubscribe();
@@ -760,7 +760,7 @@ <h2>
760760

761761
dictionary PushSubscriptionJSON {
762762
USVString endpoint;
763-
DOMTimeStamp? expirationTime;
763+
EpochTimeStamp? expirationTime = null;
764764
record&lt;DOMString, USVString&gt; keys;
765765
};
766766
</pre>

0 commit comments

Comments
 (0)