зеркало из https://github.com/mozilla/gecko-dev.git
Bug 952592 - [Australis] Collect sizemode from first window in BrowserUITelemetry. r=Gijs.
This commit is contained in:
Родитель
5b8a5bf098
Коммит
b1ee575843
|
@ -361,6 +361,10 @@ this.BrowserUITelemetry = {
|
|||
let document = aWindow.document;
|
||||
let result = {};
|
||||
|
||||
// Determine if the window is in the maximized, normal or
|
||||
// fullscreen state.
|
||||
result.sizemode = document.documentElement.getAttribute("sizemode");
|
||||
|
||||
// Determine if the Bookmarks bar is currently visible
|
||||
let bookmarksBar = document.getElementById("PersonalToolbar");
|
||||
result.bookmarksBarEnabled = bookmarksBar && !bookmarksBar.collapsed;
|
||||
|
|
Загрузка…
Ссылка в новой задаче