From 191ec5415b5bc6f06cc5cd7b1d907575eb928332 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sat, 17 Mar 2018 13:09:02 +0100 Subject: Use origin instead of documentURI for WebRTC permission requests, when available. --- browser/modules/ContentWebRTC.jsm | 1 + 1 file changed, 1 insertion(+) (limited to 'browser/modules/ContentWebRTC.jsm') diff --git a/browser/modules/ContentWebRTC.jsm b/browser/modules/ContentWebRTC.jsm index bfb98a868..fd50176a0 100644 --- a/browser/modules/ContentWebRTC.jsm +++ b/browser/modules/ContentWebRTC.jsm @@ -208,6 +208,7 @@ function prompt(aContentWindow, aWindowID, aCallID, aConstraints, aDevices, aSec let request = { callID: aCallID, windowID: aWindowID, + origin: aContentWindow.origin, documentURI: aContentWindow.document.documentURI, secure: aSecure, requestTypes: requestTypes, -- cgit v1.2.3