Commit Graph

6 Commits

Author SHA1 Message Date
Matt Bierner
186d3415a3 Use ??= in more places (#163594) 2022-10-13 14:59:35 -07:00
Matt Bierner
b2d129c4e5 Fix ipv6 support for simple browser (#163374)
Fixes #158599

This correctly handles ipv6 uris, such as `http://[::]:3000`. In these cases, the brackets are required
2022-10-12 11:04:56 -07:00
Jean Pierre
24b8eb0d54 Fixes simple browser webview is not reused if restored (#163389)
Fixes #163387
2022-10-11 20:59:54 -07:00
Matt Bierner
62d631a165 Add serializer for simple browser
Fixes #119057
2021-10-07 16:49:33 -07:00
Matt Bierner
809d2f63d0 Added show options to simple browser open command 2021-01-06 12:17:36 -08:00
Matt Bierner
3ed300eb9d Add simple browser extension (#109276)
* Add support for TS's Hierarchical refactorings API

https://github.com/microsoft/TypeScript/pull/41975

* Add simple browser extension

This change adds a new 'simple browser' extension. This extension uses a webview to render webpages directly in VS Code. We plan on using it for optionally previewing local servers in both desktop and codespaces

The browser itself has a number of limitations due to the security around iframes:

- It traps keyboard focus
- We can't detect if a page fails to load
- We can't track the current url of the iframe

* Add experimental alert when the iframe is focused

* Disable events on focus warning

* Hooking up simple browser to opener
2021-01-04 19:06:53 -08:00