Skip to content

Conversation

joanlopez
Copy link
Contributor

@joanlopez joanlopez commented Sep 10, 2025

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

  • I have performed a self-review of my code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have added tests for my changes.
  • I have run linter and tests locally (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.

  • I have added the correct milestone and labels to the PR.
  • I have updated the release notes: link
  • I have updated or added an issue to the k6-documentation: grafana/k6-docs#NUMBER if applicable
  • I have updated or added an issue to the TypeScript definitions: grafana/k6-DefinitelyTyped#NUMBER if applicable

Related PR(s)/Issue(s)

@joanlopez joanlopez self-assigned this Sep 10, 2025
@joanlopez joanlopez requested a review from a team as a code owner September 10, 2025 10:01
Copy link
Contributor

@codebien codebien left a 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.
Copy link
Contributor

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.

Copy link
Contributor Author

@joanlopez joanlopez Sep 10, 2025

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.

@joanlopez joanlopez requested a review from codebien September 10, 2025 10:24
Copy link
Contributor

@ankur22 ankur22 left a 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!

@joanlopez joanlopez merged commit 6d438a0 into master Sep 10, 2025
37 checks passed
@joanlopez joanlopez deleted the fix-TestURLSkipRequest branch September 10, 2025 13:01
@joanlopez joanlopez added this to the v1.3.0 milestone Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants