Migrate NavigatorVR to shared UKM SourceId |
|
Issue descriptionThere is a usage of UpdateSourceURL in third_party/blink/renderer/modules/vr/navigator_vr.cc It looks like it should probably change to just use Document->GetSourceId, but it's unclear why it was changed away: https://chromium-review.googlesource.com/c/chromium/src/+/1008171
,
Oct 4
https://chromium-review.googlesource.com/c/chromium/src/+/1008171/1/third_party/blink/renderer/modules/gamepad/navigator_gamepad.cc#136 I think we were concerned about iframes - we wanted top-frame url for iframes using API, since several partners using the API were always going to be nested in iframes.
,
Oct 4
Ok, that case can now be covered by using Document::UkmSourceId, and analyzing the associated DocumentCreated events, which link it to the main-frame navigation. https://g3doc.corp.google.com/analysis/uma/g3doc/ukm/readable-analysis.md#processing-events-attached-to-blink-document-sources So we should be able to migrate this back now. |
|
►
Sign in to add a comment |
|
Comment 1 by ddorwin@chromium.org
, Oct 4Components: -UI>Browser>VR Blink>WebXR>VR
Status: Assigned (was: Available)