Re: [w3c/push-api] Migrate the serializer to a toJSON method. (#267)

beverloo commented on this pull request.



> @@ -896,7 +898,14 @@
           [SameObject] readonly attribute PushSubscriptionOptions options;
           ArrayBuffer? getKey(PushEncryptionKeyName name);
           Promise<boolean> unsubscribe();
-          serializer;
+
+          PushSubscriptionJSON toJSON();
+        };
+
+        dictionary PushSubscriptionJSON {
+          USVString endpoint;
+          DOMTimeStamp? expirationTime;
+          record keys;

I've left this as a comment for now and filed an issue on ReSpec:
https://github.com/w3c/respec/issues/1297

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/pull/267#discussion_r123563971

Received on Thursday, 22 June 2017 16:48:46 UTC