Removed the Profiler screenshot capture feature

This wasn't reliable because of browser extension API limitations and required serious throttling to avoid harming performance, so I've decided to just remove it entirely for now.
This commit is contained in:
Brian Vaughn
2019-07-31 11:36:01 -07:00
parent 4f8b7864ee
commit 271aa75cf2
19 changed files with 5 additions and 388 deletions
@@ -75,15 +75,3 @@ if (!backendInitialized) {
}
}, 500);
}
chrome.runtime.onMessage.addListener(function(request, sender, sendResponse) {
if (request.event === 'screenshotCaptured') {
window.postMessage(
{
source: 'react-devtools-content-script',
payload: request,
},
'*'
);
}
});