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
nested_worker_close_self.worker.js
importScripts("/resources/testharness.js");
async_test(function() {
if (!self.Worker)
done();
const worker = new Worker("support/WorkerClose.js");
worker.onmessage = this.step_func_done(function(e) {
assert_equals(e.data, "close");
done();
});
worker.postMessage("close");
}, "Nested work that closes itself");
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...