- From: Yoav Weiss <notifications@github.com>
- Date: Wed, 01 Sep 2021 04:09:52 -0700
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 1 September 2021 11:10:05 UTC
You're talking about `detail` which is potentially [set to null](https://www.w3.org/TR/user-timing-3/#:~:text=Otherwise%2C%20set%20it%20to%20null) (in 3.1.3.9.2)? If so, my read is that [serialize](https://html.spec.whatwg.org/multipage/structured-data.html#structuredserializeinternal) returns a `{ [[Type]]: "primitive", [[Value]]: null }` and then [deserialize](https://html.spec.whatwg.org/multipage/structured-data.html#structureddeserialize) sets the value to null in step 5. At the same time, we could add a null check here if it makes things more readable. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3ctag/design-reviews/issues/642#issuecomment-910178800
Received on Wednesday, 1 September 2021 11:10:05 UTC