<ul dir="auto">
<li>Electron Version: 1.8.7, 2.0.2 and 3.0.0-beta.4</li>
<li>Operating System (Platform and Version): Ubuntu Linux 18.04</li>
<li>Last known working Electron version: ?</li>
</ul>
<p dir="auto"><strong>Expected Behavior</strong></p>
<p dir="auto"><code class="notranslate">pointer: cursor</code> should work regardless of whether BrowserWindow was created with <code class="notranslate">frame: false</code>.</p>
<p dir="auto"><strong>Actual behavior</strong></p>
<p dir="auto"><code class="notranslate">pointer: cursor</code> stops working at about 76% height of the window, when using <code class="notranslate">frame: false</code>.</p>
<p dir="auto"><strong>To Reproduce</strong></p>
<p dir="auto">You can use Electron Fiddle to load the repro: <a href="https://gist.github.com/joaomoreno/2bb9879aee864f22704882b5fac825c3">https://gist.github.com/joaomoreno/2bb9879aee864f22704882b5fac825c3</a></p>
<p dir="auto"><strong>Additional Information</strong></p>
<p dir="auto">From <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="339441596" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/53870" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/53870/hovercard" href="https://github.com/microsoft/vscode/issues/53870">microsoft/vscode#53870</a></p>
<ul dir="auto">
<li>Electron version: 1.6.2</li>
<li>Operating system: OSX</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">I should be able to use the <code class="notranslate">--trace-warnings</code> flag in node by passing it like this:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="app.commandLine.appendSwitch('trace-warnings')"><pre class="notranslate"><span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-c1">commandLine</span><span class="pl-kos">.</span><span class="pl-en">appendSwitch</span><span class="pl-kos">(</span><span class="pl-s">'trace-warnings'</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">This enables stack traces for unhandled promise rejections. Right now, node will print "possibly unhandled promise rejection: " but not print a stack trace, which is incredibly frustrating.</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">Passing the flag to node enables stack traces for unhandled promise warnings.</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">Run this code within <code class="notranslate">index.js</code> of the electron app:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="new Promise((resolve, reject) =&gt; reject(new Error(&quot;foo&quot;)))"><pre class="notranslate"><span class="pl-k">new</span> <span class="pl-v">Promise</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">resolve</span><span class="pl-kos">,</span> <span class="pl-s1">reject</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">reject</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Error</span><span class="pl-kos">(</span><span class="pl-s">"foo"</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span></pre></div>