mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
perf(web): use DOMString for BlobParts (#13979)
This commit is contained in:
parent
395f527238
commit
697b60a335
2 changed files with 12 additions and 1 deletions
|
@ -394,7 +394,10 @@
|
|||
return webidl.converters["ArrayBufferView"](V, opts);
|
||||
}
|
||||
}
|
||||
return webidl.converters["USVString"](V, opts);
|
||||
// BlobPart is passed to processBlobParts after conversion, which calls core.encode()
|
||||
// on the string.
|
||||
// core.encode() is equivalent to USVString normalization.
|
||||
return webidl.converters["DOMString"](V, opts);
|
||||
};
|
||||
webidl.converters["sequence<BlobPart>"] = webidl.createSequenceConverter(
|
||||
webidl.converters["BlobPart"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue