Commit Graph

17 Commits

Author SHA1 Message Date
Matt Bierner
c47a56c7bc Adopt uuids for generating webview nonces 2025-10-29 13:53:47 -07:00
John Murray
9e5edb7d9a Allow downloads from pages viewed in Simple Browser (#185117) 2023-06-14 17:23:37 +00:00
Matt Bierner
b2ea6aa9fc Inline codicons font for simple browser (#176462)
Should fix #139674 but need to confirm on deployed codespaces
2023-03-07 19:46:53 -08:00
Matt Bierner
fac1eea159 Reset simple browser localResourceRoots on reload (#172834)
This makes us set the `localResourceRoots` when the simple browser is reloaded. In codespaces when switching from stable to insiders, this reload can change the extensionUrl, so we can't use the old local resource roots
2023-01-30 16:46:47 -08:00
Matt Bierner
3ca015cebd Adopt l10n for simple-browser (#165529)
For #164438
2022-11-04 11:15:23 -07:00
Matt Bierner
62d631a165 Add serializer for simple browser
Fixes #119057
2021-10-07 16:49:33 -07:00
Matt Bierner
0e52275271 Introduce WebviewOptions.forms
Fixes #132157
2021-09-02 13:24:49 -07:00
Matt Bierner
5b8ce768f3 Add getNonce function to generate webview nonces 2021-07-13 10:02:24 -07:00
Matt Bierner
73ae56b82b Build with latest TS nightly (#120690)
* Pick up new TS 4.3

Also tests adding override keywords for extensions as part of #120675

* Update to daily TS and workaround TS 4.3 issue

Works around https://github.com/microsoft/TypeScript/issues/43578
2021-04-07 12:19:05 -07:00
Jean Pierre
8117fec7df Fixes #120036 (#120275) 2021-04-06 15:29:36 -07:00
Matt Bierner
87a3effc79 Try to disable caching in the simple browser's iframes 2021-02-08 21:31:04 -08:00
Matt Bierner
46e28e3bbe Copy codicon files directly into sources instead of taking a non dev dependecy on the entire package 2021-02-08 14:27:16 -08:00
Matt Bierner
6cceb4eab0 Remove enabled setting and try to open simple browser to side of current editor 2021-01-14 17:06:14 -08:00
Matt Bierner
b7f9eddf04 Allow passing viewColumn to simpleBrowser.api.open 2021-01-13 16:56:39 -08:00
Matt Bierner
809d2f63d0 Added show options to simple browser open command 2021-01-06 12:17:36 -08:00
Matt Bierner
2fed7ba374 Adding settings to control which schemes simple browser is enabled for
Also adds a setting to enable/disable the focus lock indicator
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