Skip to content

utils::browseURL #166

Closed
Closed

Description

@vnijs

In the latest version of the R extension with r.sessionWatcher": true trying to open an external URL create a new tab in VSCode for a webview but the screen remains black.

utils::browseURL("https://gitlab.com/")

Activity

  1. renkun-ken commented on Dec 31, 2019

    @renkun-ken
    Member

    In the developer tools, it says

    [Embedded Page] Refused to display 'https://about.gitlab.com/' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' https://gitlab.lookbookhq.com https://learn.gitlab.com".
    

    We cannot walk around such security policy of WebView at the moment. See microsoft/vscode#65595 (comment).

  2. vnijs commented on Dec 31, 2019

    @vnijs
    Author

    Interesting. Thanks for following up @renkun-ken. Given that "Many websites block being embedded in iframes using x-frame-options" do you think it possible to have, for example, all https site open up in an external brower? Or perhaps anything that isn't run on localhost?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions