<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"> 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"> 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"> 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>

</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>

</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>

<h3 dir="auto">Actual Behavior</h3>

<h3 dir="auto">To Reproduce</h3>




<h3 dir="auto">Screenshots</h3>

<h3 dir="auto">Additional Information</h3>
<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><br>
6.0.x , 7.0.x</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>macOS 10.14 , macos 10.15</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong><br>
*4.x.x</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">The function {browserwindow}.setContentProtection(true) , should make the app unrecordable for "Electron desktopCapturer" module.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">It does not work .</p>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">Make a simple blank app, setContentProtection of the browserWindow, capture the desktop stream using the desktopCapturer module and show it on a canvas.</p>