Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /ai/semantic_embedder/semantic-embedder-downloadprogress-abort.tentative.https.window.html - WPT Dashboard Interop Dashboard
// META: title=Semantic Embedder Download Progress Abort
// META: script=/resources/testdriver.js
// META: script=/resources/testdriver-vendor.js
// META: script=../resources/util.js
// META: timeout=long
'use strict';
async function createSemanticEmbedder(options) {
await test_driver.bless();
return SemanticEmbedder.create(options);
}
promise_test(async t => {
await testCreateMonitorWithAbort(t, createSemanticEmbedder);
}, 'Progress events are not emitted after aborted.');