diff --git a/notifications.bs b/notifications.bs
index 08e8dd4..dff4e86 100644
--- a/notifications.bs
+++ b/notifications.bs
@@ -190,7 +190,8 @@ these steps:
TypeError
exception.
Set notification's data to
- StructuredSerialize(options's data
). Rethrow any exceptions.
+ StructuredSerializeForStorage(options's data
). Rethrow
+ any exceptions.
Set notification's title
to options's title
.
@@ -895,7 +896,7 @@ the notification's renotify preference flag.
return the notification's require interaction preference flag.
The data
attribute's getter must return
-StructuredDeserialize(notification's data,
+StructuredDeserialize(notification's data,
context object's relevant Realm). If this throws an exception, then return null.