<h3 dir="auto">What problem does this feature solve?</h3>
<p dir="auto">The 'Vue server renderer' package should pass in a URL object when creating a sandbox</p>
<h3 dir="auto">What does the proposed API look like?</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="createBundleRenderer(bundle, {
            ...renderOptions,
            runInNewContext: 'once',
            sandbox: {
                URL: URL
            }
        });"><pre class="notranslate"><span class="pl-en">createBundleRenderer</span><span class="pl-kos">(</span><span class="pl-s1">bundle</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
            ...<span class="pl-s1">renderOptions</span><span class="pl-kos">,</span>
            <span class="pl-c1">runInNewContext</span>: <span class="pl-s">'once'</span><span class="pl-kos">,</span>
            <span class="pl-c1">sandbox</span>: <span class="pl-kos">{</span>
                <span class="pl-c1">URL</span>: <span class="pl-c1">URL</span>
            <span class="pl-kos">}</span>
        <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<h3 dir="auto">Version</h3>
<p dir="auto">2.6.11</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://jsfiddle.net/shengslogar/f4kc5vq2/32/" rel="nofollow">https://jsfiddle.net/shengslogar/f4kc5vq2/32/</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Create a watcher with an async handler. Make it throw an error.</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">It's captured by Vue error handler</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">Not being captured by vue error handler</p>
<hr>
<p dir="auto">Shows an uncaught promise error</p>