"#ampf=undefined" appended in url when opening amp-lightbox.
What's the issue?
Whenever we are opening any amp-lightbox, #ampf=undefined is appended in URL. (When comes from google).
How do we reproduce the issue?
You can check for the following sites.
- https://www.google.co.in/amp/s/www.carwale.com/amp/used/cars-in-jamnagar/ (filter, Get Seller Detail, Check right price, etc will open lightbox)
- https://www.google.co.in/amp/s/www.makaan.com/lite/mumbai-property/vashi-flats-for-sale-50008 (Connect Now button)
What browsers are affected?
All browsers.
@ericfs Looks like the Google viewer adds ampf query param on history push. Is there more context on what the query param is for?
I can repro on the second link above (doesn't happen on non-viewer URL of same page).
Thanks for the report. Filed internal issue: b/117103357
This issue seems to be in Pending Triage for awhile. @ericfs Please triage this to an appropriate milestone.
This appears to be a consequence of the runtime sending the pushHistory message with stackIndex set to "NaN." Perhaps the index is getting munged / lost somewhere along the way?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.