Closed Bug 1377567 Opened 7 years ago Closed 7 years ago

Refine telemetry for toplevel data: URI loads

Categories

(Core :: DOM: Security, enhancement, P2)

enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: ckerschb, Assigned: ckerschb)

References

Details

(Whiteboard: [domsecurity-active])

We should refine our telemetry in the following way:
* add referrer URI
* add contentpolicytype
* check if data URI loads a form
Assignee: nobody → ckerschb
Blocks: 1331351
Status: NEW → ASSIGNED
Priority: -- → P2
See Also: → 1357386
Whiteboard: [domsecurity-active]
Another thing we discussed was differentiating between:

- typed-in URLs
- URLs loaded from the outside (e.g. link clicked in Thunderbird)
(In reply to François Marier [:francois] from comment #1)
> - URLs loaded from the outside (e.g. link clicked in Thunderbird)

I discussed things with smaug and it seems we don't have the information to determine whether a click comes from outside. Dan, you mentioned we potentially have a flag within docshell to query that information, can you recall what flag that was?
Flags: needinfo?(dveditz)
LOAD_FLAGS_FROM_EXTERNAL might do what you want; dunno how reliable it is (added by the front-end).

https://searchfox.org/mozilla-central/source/docshell/base/nsIWebNavigation.idl#146

(In reply to François Marier [:francois] from comment #1)
> Another thing we discussed was differentiating between:
> - typed-in URLs

Don't we already have telemetry for those?
Flags: needinfo?(dveditz)
Since we got green lights to ship Bug 1331351, we are not going to need refinement on the telemetry here.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.