Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exempt Safari and WebKit-based DDG browsers from using serverTiming #206

Merged
merged 1 commit into from
May 15, 2024

Conversation

englehardt
Copy link
Collaborator

https://app.asana.com/0/1186013049913869/1205272059194928/f

Looks like Safari added serverTiming support last year, which led to two code paths checking for the success of the load running. From what I can tell, they don't support it for cross-origin loads though, so one code path will always return blocked. This was leading to a race condition between the two measurement methods and inconsistent output.

I also renamed the two fireResource methods within the injected scripts, since I saw some timing inconsistency there as well from the naming conflict.

@jonathanKingston jonathanKingston merged commit e067375 into main May 15, 2024
1 check passed
@jonathanKingston jonathanKingston deleted the senglehardt/ad-click-test-page-status-fix branch May 15, 2024 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants