<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>11.03</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>macOS 11.0.1</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto"><code class="notranslate">remote.screen</code> has EventEmitter methods such as <code class="notranslate">on</code> defined, to listen to screen events such as <code class="notranslate">display-added</code></p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto"><code class="notranslate">remote.screen</code> does not have any defined EventEmitter methods</p>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">In the devtools, inspect <code class="notranslate">require('electron').remote.screen</code> and notice that it does not have the <code class="notranslate">on</code> method defined</p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">There was a PR to address other <code class="notranslate">remote.screen</code> methods not being defined that was merged in 11.0.3 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="749150327" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/26660" data-hovercard-type="pull_request" data-hovercard-url="/electron/electron/pull/26660/hovercard" href="https://github.com/electron/electron/pull/26660">#26660</a>), but it did not seem to address this bug</p>
<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>11.0.2</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>NixOS 21.03 x86_64</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>10.1.6</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto"><code class="notranslate">remote.screen.getPrimaryDisplay()</code> works.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto"><code class="notranslate">Uncaught TypeError: remote.screen.getPrimaryDisplay is not a function</code></p>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">Electron Fiddle: <a href="https://gist.github.com/andersk/6158c0016c56e52c58cec4aa4cd8317e">https://gist.github.com/andersk/6158c0016c56e52c58cec4aa4cd8317e</a></p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">This broke between 11.0.0-nightly.20200724 and 11.0.0-nightly.20200729, probably in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="663345379" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/24677" data-hovercard-type="pull_request" data-hovercard-url="/electron/electron/pull/24677/hovercard" href="https://github.com/electron/electron/pull/24677">#24677</a>. Cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nornagon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nornagon">@nornagon</a>.</p>
<p dir="auto">See also <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="746749192" data-permission-text="Title is private" data-url="https://github.com/electron-userland/spectron/issues/771" data-hovercard-type="issue" data-hovercard-url="/electron-userland/spectron/issues/771/hovercard" href="https://github.com/electron-userland/spectron/issues/771">electron-userland/spectron#771</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="746069996" data-permission-text="Title is private" data-url="https://github.com/webtorrent/webtorrent-desktop/issues/1896" data-hovercard-type="issue" data-hovercard-url="/webtorrent/webtorrent-desktop/issues/1896/hovercard" href="https://github.com/webtorrent/webtorrent-desktop/issues/1896">webtorrent/webtorrent-desktop#1896</a>.</p>