-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix TestURLSkipRequest
for Chrome 140+
#5165
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I'd like to reference the comment as I explained in the comment.
// Under that assumption, it's important to notice that the Blob URL that we use | ||
// for this test case isn't valid, and we cannot use a valid one because we lack | ||
// general support for Blob and URL WebAPIs. | ||
// However, until Chrome 139.x, there was a subtle bug causing no valid NavigationEvent to be emitted. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have a chromium bug report that we can reference? It might be helpful if someone has to dig into this code again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be helpful if someone has to dig into this code again.
Yes, I have no doubts and fully agree with you.
Do you have a chromium bug report that we can reference?
But unfortunately no. I spent a decent amount of time trying to find it but I haven't been able to. And, at this point, I want to fix this to get our CI 🟢 again and focused on what I should have been focusing back to when I started to look at this 😓
If you have time and willingness, feel free to give it a try, maybe it's easier for you than it has been for me so far. But anyway, I'd prefer to get this merged in the meantime.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for diagnosing and fixing this!
Note: This supersedes #5151
What?
It changes the expected behavior for the
TestURLSkipRequest
test.Why?
Because it started to fail (it changed) since Chrome 140. See more details in the code comments.
Checklist
make check
) and all pass.Checklist: Documentation (only for k6 maintainers and if relevant)
Please do not merge this PR until the following items are filled out.
Related PR(s)/Issue(s)