Check url in browser#406
Conversation
|
However, under Remote Development, browsing a HTML file or other files does not work. I'm trying to come up some method to mimic the behavior of |
That would be in a separate PR, right? If so, I'll go ahead and review this PR this weekend (without trying it under Remote Development). |
Yes. Currently, I don't think there's a decent way to do that, so I'd rather leave as is at the moment. |
|
Tested on Windows. Everything works except this one: 'Local HTML file should open in external web browser due to WebView restrictions on resource location'. I get this output: But nothing happens in the browser. The Google example opens the Google homepage as expected. |
Thanks for testing. I'll take a look into this. Looks like the normalized path does not work with |
|
I could reproduce this in a Windows 10 VM. It turns out that |
|
Thanks! I will give it a test. |
andycraig
left a comment
There was a problem hiding this comment.
Tested the updated version on Windows 10, everything works. LGTM.
|
Thanks for testing on Windows! |
What problem did you solve?
Closes #371
(If you do not have screenshot) How can I check this pull request?
Following localhost http content it should work:
External http content should open in external web browser due to WebView restrictions on external web content:
browseURL("https://google.com")Local HTML file should open in external web browser due to WebView restrictions on resource location:
Local non-HTML file should open in vscode editor as text document: