Bug 1645084 - Stop collecting telemetry for outerWidth/outerHeight features of window.open in web content. r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D81969
This commit is contained in:
Tooru Fujisawa 2020-07-15 04:40:01 +00:00
Родитель 7386e228fd
Коммит 7c0bb4dbca
2 изменённых файлов: 0 добавлений и 18 удалений

Просмотреть файл

@ -15145,16 +15145,6 @@
"n_buckets": 50,
"description": "Time in milliseconds spent in the layout system per Refresh Driver tick."
},
"WINDOW_OPEN_OUTER_SIZE": {
"record_in_processes": ["main", "content"],
"products": ["firefox"],
"alert_emails": ["tfujisawa.birchill@mozilla.com"],
"expires_in_version": "80",
"kind": "boolean",
"bug_numbers": [1624150],
"releaseChannelCollection": "opt-out",
"description": "Flag indicating consumer of non-standard outerWidth/outerHeight features in window.open"
},
"WINDOW_REMOTE_SUBFRAMES_ENABLED_STATUS": {
"record_in_processes": ["main"],
"products": ["firefox"],

Просмотреть файл

@ -62,7 +62,6 @@
#include "mozilla/Preferences.h"
#include "mozilla/ResultExtensions.h"
#include "mozilla/StaticPrefs_full_screen_api.h"
#include "mozilla/Telemetry.h"
#include "mozilla/dom/Element.h"
#include "mozilla/dom/Storage.h"
#include "mozilla/dom/ScriptSettings.h"
@ -686,13 +685,6 @@ nsresult nsWindowWatcher::OpenWindowInternal(
bool isCallerChrome = nsContentUtils::LegacyIsCallerChromeOrNativeCode();
if (!hasChromeParent) {
bool outerSizeUsed =
features.Exists("outerwidth") || features.Exists("outerheight");
mozilla::Telemetry::Accumulate(mozilla::Telemetry::WINDOW_OPEN_OUTER_SIZE,
outerSizeUsed);
}
SizeSpec sizeSpec;
CalcSizeSpec(features, sizeSpec);