From ff863a1977b32627c0a86b927a59db306add6bda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?= Date: Thu, 9 Sep 2021 16:53:50 +1000 Subject: [PATCH 1/4] Switch to LegacyTimeStamp --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index ad8edd8..3667e2a 100644 --- a/index.html +++ b/index.html @@ -750,7 +750,7 @@

[Exposed=(Window,Worker), SecureContext] interface PushSubscription { readonly attribute USVString endpoint; - readonly attribute DOMTimeStamp? expirationTime; + readonly attribute LegacyTimeStamp? expirationTime; [SameObject] readonly attribute PushSubscriptionOptions options; ArrayBuffer? getKey(PushEncryptionKeyName name); Promise<boolean> unsubscribe(); @@ -760,7 +760,7 @@

dictionary PushSubscriptionJSON { USVString endpoint; - DOMTimeStamp? expirationTime; + LegacyTimeStamp? expirationTime; record<DOMString, USVString> keys; }; From 3a69d764c91d87e75d8da90633221ef05578df80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?= Date: Mon, 11 Oct 2021 16:15:35 +1100 Subject: [PATCH 2/4] Use EpochTimeStamp --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 3667e2a..099b7f9 100644 --- a/index.html +++ b/index.html @@ -750,7 +750,7 @@

[Exposed=(Window,Worker), SecureContext] interface PushSubscription { readonly attribute USVString endpoint; - readonly attribute LegacyTimeStamp? expirationTime; + readonly attribute EpochTimeStamp? expirationTime; [SameObject] readonly attribute PushSubscriptionOptions options; ArrayBuffer? getKey(PushEncryptionKeyName name); Promise<boolean> unsubscribe(); @@ -760,7 +760,7 @@

dictionary PushSubscriptionJSON { USVString endpoint; - LegacyTimeStamp? expirationTime; + EpochTimeStamp? expirationTime; record<DOMString, USVString> keys; }; From e481989ac90d17f40b6f3a99eb9c6c5d73a4f6b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?= Date: Mon, 11 Oct 2021 18:29:20 +1100 Subject: [PATCH 3/4] Reference HR-Time --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 099b7f9..99c7ddc 100644 --- a/index.html +++ b/index.html @@ -50,7 +50,7 @@ }; - +

The Push API enables sending of a push message to a web application via From adc7a44ed18486939bb9dd98aa61e9c558d02f7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?= Date: Wed, 20 Oct 2021 16:53:46 +1100 Subject: [PATCH 4/4] Default to null --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 99c7ddc..4caa56f 100644 --- a/index.html +++ b/index.html @@ -760,7 +760,7 @@

dictionary PushSubscriptionJSON { USVString endpoint; - EpochTimeStamp? expirationTime; + EpochTimeStamp? expirationTime = null; record<DOMString, USVString> keys; };