mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 1500103 - Only test return_button_adv and exception_button for new cert error pages. r=nhnt11
exception_button can technically be clicked on the old error pages, too, but conditionally checking for the cert exception window to pop up is a bit overkill for this temporary workaround. Ideally we would remove this pref soon anyway. Differential Revision: https://phabricator.services.mozilla.com/D9243 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
d7b28163d3
commit
e5856b4cf7
@ -51,11 +51,13 @@ add_task(async function checkTelemetryClickEvents() {
|
||||
"clipboard_button_top",
|
||||
"clipboard_button_bot",
|
||||
"return_button_top",
|
||||
"return_button_adv",
|
||||
];
|
||||
|
||||
if (!useFrame) {
|
||||
recordedObjects.push("exception_button");
|
||||
if (Services.prefs.getBoolPref("browser.security.newcerterrorpage.enabled")) {
|
||||
recordedObjects.push("return_button_adv");
|
||||
if (!useFrame) {
|
||||
recordedObjects.push("exception_button");
|
||||
}
|
||||
}
|
||||
|
||||
for (let object of recordedObjects) {
|
||||
|
Loading…
Reference in New Issue
Block a user