зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 6e691c7ff5dd (bug 1455275) for dt failures in devtools/client/responsive.html/test/browser/browser_exit_button.js on a CLOSED TREE
This commit is contained in:
Родитель
72ce6f775e
Коммит
681387a8ba
|
@ -1997,12 +1997,6 @@ Toolbox.prototype = {
|
||||||
Services.prefs.setBoolPref(SPLITCONSOLE_ENABLED_PREF, false);
|
Services.prefs.setBoolPref(SPLITCONSOLE_ENABLED_PREF, false);
|
||||||
this._refreshConsoleDisplay();
|
this._refreshConsoleDisplay();
|
||||||
this.component.setIsSplitConsoleActive(false);
|
this.component.setIsSplitConsoleActive(false);
|
||||||
|
|
||||||
this._telemetry.recordEvent("devtools.main", "deactivate", "split_console", null, {
|
|
||||||
"host": this._getTelemetryHostString(),
|
|
||||||
"width": Math.ceil(this.win.outerWidth / 50) * 50
|
|
||||||
});
|
|
||||||
|
|
||||||
this.emit("split-console");
|
this.emit("split-console");
|
||||||
|
|
||||||
if (this._lastFocusedElement) {
|
if (this._lastFocusedElement) {
|
||||||
|
|
|
@ -152,15 +152,6 @@ const ResponsiveUIManager = exports.ResponsiveUIManager = {
|
||||||
// Already in the process of destroying, abort.
|
// Already in the process of destroying, abort.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const toolbox = gDevTools.getToolbox(TargetFactory.forTab(tab));
|
|
||||||
const hostType = toolbox ? toolbox.hostType : "none";
|
|
||||||
|
|
||||||
const t = this._telemetry;
|
|
||||||
t.recordEvent("devtools.main", "deactivate", "responsive_design", null, {
|
|
||||||
"host": hostType,
|
|
||||||
"width": Math.ceil(window.outerWidth / 50) * 50
|
|
||||||
});
|
|
||||||
|
|
||||||
this.activeTabs.delete(tab);
|
this.activeTabs.delete(tab);
|
||||||
|
|
||||||
if (!this.isActiveForWindow(window)) {
|
if (!this.isActiveForWindow(window)) {
|
||||||
|
|
|
@ -228,14 +228,3 @@ devtools.main:
|
||||||
extra_keys:
|
extra_keys:
|
||||||
host: "Toolbox host (positioning): bottom, side, window or other."
|
host: "Toolbox host (positioning): bottom, side, window or other."
|
||||||
width: Toolbox width rounded up to the nearest 50px.
|
width: Toolbox width rounded up to the nearest 50px.
|
||||||
deactivate:
|
|
||||||
objects: ["responsive_design", "split_console"]
|
|
||||||
bug_numbers: [1455275]
|
|
||||||
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
|
|
||||||
record_in_processes: ["main"]
|
|
||||||
description: User deactivates the responsive_design or split_console in the devtools toolbox.
|
|
||||||
release_channel_collection: opt-out
|
|
||||||
expiry_version: never
|
|
||||||
extra_keys:
|
|
||||||
host: "Toolbox host (positioning): bottom, side, window or other."
|
|
||||||
width: Toolbox width rounded up to the nearest 50px.
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче