<p dir="auto">I have executed the following code with Electron v6.0.0-beta.3.<br>
And when I clicked the button on the form it crashed.</p>
<p dir="auto">Apparently, there is a problem with the execution of .</p>
<p dir="auto">Do you have any one who knows the solution?</p>
<p dir="auto">Regards.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;html&gt;
  &lt;body&gt;
    &lt;form action=&quot;cgi-bin/abc.cgi&quot; method=&quot;post&quot; enctype=&quot;multipart/form-data&quot;&gt;
      &lt;p&gt;
        &lt;input type=&quot;file&quot; name=&quot;datafile&quot;&gt;
      &lt;/p&gt;
      &lt;p&gt;
        &lt;input type=&quot;submit&quot; value=&quot;send&quot;&gt;
      &lt;/p&gt;
    &lt;/form&gt;
  &lt;/body&gt;
&lt;/html&gt;"><pre class="notranslate"><code class="notranslate">&lt;html&gt;
  &lt;body&gt;
    &lt;form action="cgi-bin/abc.cgi" method="post" enctype="multipart/form-data"&gt;
      &lt;p&gt;
        &lt;input type="file" name="datafile"&gt;
      &lt;/p&gt;
      &lt;p&gt;
        &lt;input type="submit" value="send"&gt;
      &lt;/p&gt;
    &lt;/form&gt;
  &lt;/body&gt;
&lt;/html&gt;
</code></pre></div>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>v6.0.0-beta.3</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Windows 10 Enterprise (1803)</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>:
<ul dir="auto">
<li>v5.0.1</li>
</ul>
</li>
</ul>
<h3 dir="auto">Preflight Checklist</h3>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>(output of <code class="notranslate">node_modules/.bin/electron --version</code>) e.g. 11.0.3</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>(Platform and Version) e.g. macOS / Windows 10</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>

</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Render PDF in BrowserWindow and webview for all partition</p>

<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Renders PDF in <code class="notranslate">default partition</code> and partition with <code class="notranslate">persist:</code><br>
but does not work for partitions without <code class="notranslate">persist:</code><br>
eg:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{partition: 'somepartition'}"><pre class="notranslate"><span class="pl-kos">{</span><span class="pl-c1">partition</span>: <span class="pl-s">'somepartition'</span><span class="pl-kos">}</span></pre></div>

<h3 dir="auto">To Reproduce</h3>
<p dir="auto">Please use this modified template to verify<br>
<a href="https://github.com/AbyAbyss/electron-quick-start.git">https://github.com/AbyAbyss/electron-quick-start.git</a></p>



<p dir="auto">If you provide a URL, please list the commands required to clone/setup/run your repo e.g.</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ git clone https://github.com/AbyAbyss/electron-quick-start.git
$ npm install
$ npm start"><pre class="notranslate">$ git clone https://github.com/AbyAbyss/electron-quick-start.git
$ npm install
$ npm start</pre></div>
<h3 dir="auto">Screenshots</h3>

<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24456144/100207552-b7494c00-2f2d-11eb-91d6-48ea63ef87ca.png"><img src="https://user-images.githubusercontent.com/24456144/100207552-b7494c00-2f2d-11eb-91d6-48ea63ef87ca.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">Additional Information</h3>