mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1847772 - aec logging button in about:webrtc is more helpful when sandboxed;r=mjf,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D185684
This commit is contained in:
parent
bc01c276c6
commit
aa8eccb5a8
@ -302,7 +302,11 @@ class AecLogging extends Control {
|
||||
}
|
||||
|
||||
onClick() {
|
||||
this.setState((WGI.aecDebug = !WGI.aecDebug));
|
||||
if (Services.env.get("MOZ_DISABLE_CONTENT_SANDBOX") != "1") {
|
||||
this.message = "about-webrtc-aec-logging-unavailable-sandbox";
|
||||
} else {
|
||||
this.setState((WGI.aecDebug = !WGI.aecDebug));
|
||||
}
|
||||
this.update();
|
||||
}
|
||||
}
|
||||
|
@ -23,6 +23,7 @@ about-webrtc-aec-logging-msg-label = AEC Logging
|
||||
about-webrtc-aec-logging-off-state-label = Start AEC Logging
|
||||
about-webrtc-aec-logging-on-state-label = Stop AEC Logging
|
||||
about-webrtc-aec-logging-toggled-on-state-msg = AEC logging active (speak with the caller for a few minutes and then stop the capture)
|
||||
about-webrtc-aec-logging-unavailable-sandbox = The environment variable MOZ_DISABLE_CONTENT_SANDBOX=1 is required to export AEC logs. Only set this variable if you understand the possible risks.
|
||||
# Variables:
|
||||
# $path (String) - The path to which the aec log file is saved.
|
||||
about-webrtc-aec-logging-toggled-off-state-msg = Captured log files can be found in: { $path }
|
||||
|
Loading…
Reference in New Issue
Block a user