Revision e7944b7ba52ab7a830ee4115bbcc188f406105a4 authored by Guido Urdaneta on 06 August 2018, 12:06:09 UTC, committed by Chrome-bot on 06 August 2018, 12:06:09 UTC
These tests check that the SpeechRecognition constructors returns an object with the expected properties on secure origins, and that it fails on insecure origins. Bug: 761371 Change-Id: Ied400facf474ad18f632c650b636bbbcf725b116
1 parent edb7245
idlharness.any.js
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// See: https://wicg.github.io/shape-detection-api/
promise_test(async () => {
const idl = await fetch('/interfaces/shape-detection-api.idl').then(r => r.text());
const idl_array = new IdlArray();
idl_array.add_idls(idl);
idl_array.test();
}, 'Test shape-detection IDL interface');
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...