From 66a32487d1d7b0fd8ebf4b8bf2d80739f8b1e35b Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Wed, 22 Mar 2017 14:36:04 +0100 Subject: [PATCH] Remove StructuedClone call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was wrong for MediaSource and MediaStream objects, which cannot be serialized and deserialized, and it’s no longer necessary for Blob objects as their state cannot be modified. (And it’s also out-of-date as HTML now has serialization and deserialization operations.) Fixes #277. --- url.bs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/url.bs b/url.bs index 20396c33..d84e9b32 100644 --- a/url.bs +++ b/url.bs @@ -1377,9 +1377,8 @@ different document encoding. Using the UTF-8 encoding everywhere solves t path[0] is not in the blob URL store, then return url. [[!FILEAPI]] -
  • Set url's object to a StructuredClone of the - entry in the blob URL store corresponding to url's path[0]. - [[!HTML]] +

  • Set url's object to the entry in the blob URL store + corresponding to url's path[0].

  • Return url. @@ -3267,9 +3266,9 @@ neighboring rights to this work. urlPrefix: https://w3c.github.io/FileAPI/; type: dfn text: blob url store; url: #BlobURLStore urlPrefix: https://w3c.github.io/media-source/#idl-def-; type: interface - text: MediaSource; url: MediaSource -urlPrefix: https://www.w3.org/TR/mediacapture-streams/#idl-def-; type: interface - text: MediaStream; url: MediaStream + text: MediaSource +urlPrefix: https://w3c.github.io/mediacapture-main/#idl-def-; type: interface + text: MediaStream url: http://www.unicode.org/reports/tr46/#ToASCII; type: dfn; text: toascii; spec: IDNA url: http://www.unicode.org/reports/tr46/#ToUnicode; type: dfn; text: tounicode; spec: IDNA