Commit Graph

4 Commits

Author SHA1 Message Date
Matt Bierner
7ce2090cf4 Fix reviving of null in webview messages
Fixes #137706

```
typeof null === 'object' === :(
````
2022-02-09 14:49:13 -08:00
Johannes Rieken
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Matt Bierner
18a986bef5 Fixing array buffer serialization
Fixes #115807
2021-04-30 17:05:07 -07:00
Matt Bierner
3499f63dc1 Exploration: Better transferring of TypedArrays used in Webview.postMessage (#115664)
* Improve passing of ArrayBuffers to and from webviews

Fixes #115807

* Serialize and restore typed arrays too

This also makes it so that if you pass the same ArrayBuffer twice in an object, we use a single object on the receiver side too

* Fix spelling

* Require VS Code 1.56+
2021-03-30 06:49:34 +00:00