mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 952592 - [Australis] Collect sizemode from first window in BrowserUITelemetry. r=Gijs.
This commit is contained in:
parent
86b366517d
commit
761c45a21c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user