Skip to content

Safari: editor/notebook web worker is not included in content security policy #108833

Closed

Description

@rebornix

Steps to Reproduce:

  1. Open Codespace in Safari
  2. Install GitHub Issue Notebook, create a notebook, stage it, make more modifications
  3. In SCM viewlet, click the entry from pending changes

Instead of opening a diff editor, we throw an error The operation is insecure due to

Refused to load https://rebornix-microsoft-vscode-github-issue-notebooks-jm29.ppe.github.dev/workbench-page/web-standalone/insider-a522f37/out/vs/base/worker/workerMain.js#notebookEditorWorkerService because it appears in neither the child-src directive nor the default-src directive of the Content Security Policy.

Does this issue occur when all extensions are disabled?: Yes/No

Activity

  1. changed the title [-]Safari/iPadOS: notebook web worker is not included in content security policy[/-] [+]Safari: notebook web worker is not included in content security policy[/+] on Oct 16, 2020
  2. added
    bug
    safari
    on Oct 16, 2020
  3. changed the title [-]Safari: notebook web worker is not included in content security policy[/-] [+]Safari: editor/notebook web worker is not included in content security policy[/+] on Oct 16, 2020
  4. rebornix commented on Oct 16, 2020

    @rebornix
    ContributorAuthor

    It applies to editor worker too so it's not notebook specific

    Refused to load https://rebornix-microsoft-vscode-github-issue-notebooks-jm29.ppe.github.dev/workbench-page/web-standalone/insider-a522f37/out/vs/base/worker/workerMain.js#editorWorkerService because it appears in neither the child-src directive nor the default-src directive of the Content Security Policy.
    workbench.web.api.js:416:553```
    
  5. changed the title [-]Safari: editor/notebook web worker is not included in content security policy[/-] [+]Safari: extension/notebook web worker is not included in content security policy[/+] on Oct 16, 2020
  6. changed the title [-]Safari: extension/notebook web worker is not included in content security policy[/-] [+]Safari: editor/notebook web worker is not included in content security policy[/+] on Oct 16, 2020
  7. alexdima commented on Oct 20, 2020

    @alexdima
    Member
  8. added
    info-needed
    and removed
    bug
    on Oct 20, 2020
  9. removed
    info-needed
    on Oct 22, 2020
  10. alexdima commented on Oct 23, 2020

    @alexdima
    Member

    This works on latest.

  11. locked and limited conversation to collaborators on Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

github-codespacessafari

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions