Skip to content

Commit

Permalink
Fix minor issue about COOP test.
Browse files Browse the repository at this point in the history
The same message was sent twice, but we expect to receive it only once.
It means the assertion is weaker than expected.

Bug: None
Change-Id: I40a22a0732d32ea7754ae50e29e4147ae41f7de5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3918351
Commit-Queue: Arthur Hemery <[email protected]>
Reviewed-by: Arthur Hemery <[email protected]>
Auto-Submit: Arthur Sonzogni <[email protected]>
Commit-Queue: Arthur Sonzogni <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1051230}
  • Loading branch information
ArthurSonzogni authored and chromium-wpt-export-bot committed Sep 26, 2022
1 parent 9841e79 commit ccce3a3
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,13 @@
// 2. The opener opens a window.
send(opener_token, `
openee = window.open('${escapeComma(openee_url)}');
send("${this_window_token}", "ACK 1");
`);

// 3. Ensure the openee loads.
send(openee_token, `
send("${this_window_token}", "ACK 1");
send("${this_window_token}", "ACK");
`);
assert_equals("ACK 1", await receive(this_window_token));
assert_equals("ACK", await receive(this_window_token));

// 4. The opener navigates.
send(opener_token, `
Expand Down

0 comments on commit ccce3a3

Please sign in to comment.