Minor Changes
-
d8191e1: Add the shared URL state contract for
application.urlState: types, param names, size and depth limits, an instance-key helper and a versioned codec (1z.zlib /1j.plain base64url). Encoding rejects non-JSON, too deeply nested or oversized values withINVALID_REQUESTand areason; an object property set toundefinedis left out, asJSON.stringifydoes, andreadonlyarrays are accepted. Decoding never throws and returnsnullfor bad input; decoding the host map leaves out a state over the per-instance JSON limit and keeps the others.Request handlers that throw a
CoreErrornow pass itscode,messageanddetails.reasonto the requester instead ofEXECUTION_ERROR; otherdetailsstay on the handler's side. Other errors pass only theirmessage.The bridge now ignores messages from a window other than its target, including messages buffered before the target was set. Several iframes of one app share an origin, so the origin alone didn't tell them apart. Debug logs redact
application.urlStatepayloads and the responses to them.
Patch Changes
- 69acd59: Update undici dev dependency to a patched version