Skip to content

Chrome browser security associated issue #43

@taechonkim

Description

@taechonkim

Hi, I'm interested in using spice-web-client.

eyeOS spice-web-client works well on Edge, firefox, even if IE.

But when I execute it on Chrome, it got errors described below.
(My chrome version is 77.0.3865.120)

  1. Uncaught DOMException: Failed to construct 'Worker' : Script at '.../spice-web-client/application/WorkerProcess.js' cannot be accessed from origin 'null'.
  2. Uncaught TypeError: Cannot read property 'processors' of undefined at f.onStartAudio (application.js:307)
  3. Uncaught TypeError: Cannot read property '0' of null at f.executeExternalCallback (application.js:328)

I searched about 1st error, I figured out it is associated with chrome security policy.
As solutions I found, I executed Chrome through console with '--allow-file-access-from-files' flag, then finally spice-web-client works well.
But I'm curious about being another simple solution.

Do you know how to execute spice-web-client on Chrome simply?

I would appreciate your reply. :-)

Below is my environment description.

Host: Ubuntu 16.04 + qemu-kvm
Guest: Windows Desktop 10 + spice agent tools (for QXL supports)
Client: Windows Desktop 10 + Chrome (same problem as edge, IE, firefox)

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