mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 01:35:35 +00:00
Bug 1291833 - remove little-used gWebRTCUI symbol in favor of natural module export. r=MattN
This commit is contained in:
parent
b3ea5e55df
commit
e4a2bde04b
@ -194,8 +194,8 @@ XPCOMUtils.defineLazyModuleGetter(this, "SessionStore",
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "fxAccounts",
|
||||
"resource://gre/modules/FxAccounts.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "gWebRTCUI",
|
||||
"resource:///modules/webrtcUI.jsm", "webrtcUI");
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "webrtcUI",
|
||||
"resource:///modules/webrtcUI.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "TabCrashHandler",
|
||||
"resource:///modules/ContentCrashHandlers.jsm");
|
||||
|
@ -22,7 +22,7 @@
|
||||
<label id="webRTC-selectWindow-label"
|
||||
control="webRTC-selectWindow-menulist"/>
|
||||
<menulist id="webRTC-selectWindow-menulist"
|
||||
oncommand="gWebRTCUI.updateMainActionLabel(this);">
|
||||
oncommand="webrtcUI.updateMainActionLabel(this);">
|
||||
<menupopup id="webRTC-selectWindow-menupopup"/>
|
||||
</menulist>
|
||||
<description id="webRTC-all-windows-shared" hidden="true">&getUserMedia.allWindowsShared.message;</description>
|
||||
|
@ -492,8 +492,8 @@ var gTests = [
|
||||
|
||||
yield promisePopupNotificationShown("webRTC-sharingDevices", () => {
|
||||
if ("nsISystemStatusBar" in Ci) {
|
||||
let activeStreams = gWebRTCUI.getActiveStreams(true, false, false);
|
||||
gWebRTCUI.showSharingDoorhanger(activeStreams[0], "Devices");
|
||||
let activeStreams = webrtcUI.getActiveStreams(true, false, false);
|
||||
webrtcUI.showSharingDoorhanger(activeStreams[0], "Devices");
|
||||
}
|
||||
else {
|
||||
let win =
|
||||
|
Loading…
Reference in New Issue
Block a user