*)';
    const dataURL = `data:text/javascript,import "${importURL}";`;
    const worker = new Worker(dataURL, { type: 'module' });
    worker.postMessage('Send message for tests from main script.');
    const msgEvent = await new Promise((resolve, reject) =>{
        worker.onmessage = resolve;
        worker.onerror = reject;
    }).catch(e => assert_true(false));
    assert_array_equals(msgEvent.data,
        expectation === 'blocked' ? ['ERROR']
                                  : ['export-block-cross-o