You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SPA beacon is blocked if the href value of a existing link element is updated after route change, the following code will aid in reproducing the issue.
If we replace the example.com with any working domain, we can observe that on route change a spa beacon is not fired, on subsequent route changes spa beacon for the previous route change is fired and the t_done value is reported as the total time between the two route change events. So if we trigger the first route change by clicking on the example link and wait for 30 seconds and then change the route again by clicking on the sample link, the on sample page load the spa beacon for example is fired with t_done value as 30 seconds.
I have debugged and found that the pending_events in autoxhr plugin, for the css resource is never cleared in this scenario, this is blocking the spa beacon from firing.
Issue also exists if the href value for the link element is replaced with same value
My proposed fix above might not help. It was meant to fix A element href changes.
I thought that your code might hit the same bug but it does not. It looks like Chrome doesn't fire a load event when a LINKhref changes, we'll investigate further.
SPA beacon is blocked if the href value of a existing link element is updated after route change, the following code will aid in reproducing the issue.
If we replace the example.com with any working domain, we can observe that on route change a spa beacon is not fired, on subsequent route changes spa beacon for the previous route change is fired and the t_done value is reported as the total time between the two route change events. So if we trigger the first route change by clicking on the example link and wait for 30 seconds and then change the route again by clicking on the sample link, the on sample page load the spa beacon for example is fired with t_done value as 30 seconds.
I have debugged and found that the pending_events in autoxhr plugin, for the css resource is never cleared in this scenario, this is blocking the spa beacon from firing.
Issue also exists if the href value for the link element is replaced with same value
The text was updated successfully, but these errors were encountered: