Bug 1884172 - Use x-moz-nativeimage when copying screenshots to clipboard. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D204256
This commit is contained in:
@@ -97,14 +97,16 @@ export class ScreenshotsComponentChild extends JSWindowActorChild {
|
||||
case "Screenshots:Download":
|
||||
this.requestDownloadScreenshot(event.detail.region);
|
||||
break;
|
||||
case "Screenshots:OverlaySelection":
|
||||
case "Screenshots:OverlaySelection": {
|
||||
let { hasSelection } = event.detail;
|
||||
this.sendOverlaySelection({ hasSelection });
|
||||
break;
|
||||
case "Screenshots:RecordEvent":
|
||||
}
|
||||
case "Screenshots:RecordEvent": {
|
||||
let { eventName, reason, args } = event.detail;
|
||||
this.recordTelemetryEvent(eventName, reason, args);
|
||||
break;
|
||||
}
|
||||
case "Screenshots:ShowPanel":
|
||||
this.showPanel();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user