Repository navigation
devtools: Fix console exception test being flaky - #45753
Merged
Merged
Conversation
Member
Author
|
Let's also see if the CI testing label works c: |
Before we were overwriting the `evaluation_result` future. Additionally, when checking that the `result_id` matched the evaluation result, there was a race condition where the event could fire before we set `result_id`. Now we removed the check from `on_evaluation`, as there should only be one result anyways in this test. Also, since this test is the only one that used the `evaluate` function, it is now inlined in the test. If we have this pattern more times we can split it again. Signed-off-by: eri <[email protected]>
eerii
force-pushed
the
fix-console-throw-test
branch
from
June 17, 2026 09:18
1e1430d to
6d3dabe
Compare
|
🔨 Triggering try run (#27678573408) for Linux (Devtools Tests) |
|
✨ Try run (#27678573408) succeeded. |
Member
Author
|
Nice, it worked! I think for the future it would be nice to have the failed tests appear in the comment like they do for WPT (I don't think it will work like that now), but it's a good start being able to check in the CI. I guess we should encourage maintainers to always add the |
atbrakhi
approved these changes
Jun 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before we were overwriting the
evaluation_resultfuture. Additionally, when checking that theresult_idmatched the evaluation result, there was a race condition where the event could fire before we setresult_id.Now we removed the check from
on_evaluation, as there should only be one result anyways in this test. Also, since this test is the only one that used theevaluatefunction, it is now inlined in the test. If we have this pattern more times we can split it again.Testing: Changes to existing test,
test_console_throw_exception.