mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 850435 - Android Patch: separately measure UI telemetry for iframes and top level. r=felipe
This commit is contained in:
parent
5f5845529d
commit
12ca09149d
@ -4393,6 +4393,8 @@ var ErrorPageEventHandler = {
|
||||
let isMalware = /e=malwareBlocked/.test(errorDoc.documentURI);
|
||||
let bucketName = isMalware ? "WARNING_MALWARE_PAGE_" : "WARNING_PHISHING_PAGE_";
|
||||
let nsISecTel = Ci.nsISecurityUITelemetry;
|
||||
let isIframe = (aOwnerDoc.defaultView.parent === aOwnerDoc.defaultView);
|
||||
bucketName += isIframe ? "TOP_" : "FRAME_";
|
||||
|
||||
let formatter = Cc["@mozilla.org/toolkit/URLFormatterService;1"].getService(Ci.nsIURLFormatter);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user