New issue
Advanced search Search tips
Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Sep 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 651572



Sign in to add a comment
link

Issue 651749: 8 failing web-platform-tests for Web Crypto that pass in Firefox and Edge

Reported by foolip@chromium.org, Sep 30 2016 Project Member

Issue description

Comment 1 by eroman@chromium.org, Sep 30 2016

Status: WontFix (was: Untriaged)
Thanks for filing a report.

These failures are expected. The given error is:
    NotSupportedError: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV).

The correct way to run these tests in Chrome is to change the URL from http://XXX to https://XXX

I confirmed that they work when run over https://XXX

As far as whether Chrome is correct to fail on non-secure origins, there has been a lot of discussion around this. This discussion is now resolved though:

https://github.com/w3c/webcrypto/issues/28

The spec now mandates secure origin, so implementations will (hopefully) soon be aligning on this behavior.

Comment 2 by foolip@chromium.org, Sep 30 2016

Hmm, when I filed the first of these bugs I couldn't reach https://w3c-test.org/ and just assumed it wasn't set up at all.

Are there tests in web-platform-tests that verify that Web Crypto isn't supported on non-secure origins?

Comment 3 by eroman@chromium.org, Sep 30 2016

> Are there tests in web-platform-tests that verify that Web Crypto isn't supported on non-secure origins?

Not that I am aware of.

Comment 4 by foolip@chromium.org, Sep 30 2016

OK, thanks, and sorry for the noise.

Sign in to add a comment