Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Issue 2521843002: Fix flakyness in broadcastchannel/blobs.html test. (Closed)

Created:
4 years, 1 month ago by Marijn Kruisselbrink
Modified:
4 years, 1 month ago
Reviewers:
jsbell
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix flakyness in broadcastchannel/blobs.html test. Due to lack of ordering guarantees in mojo, the "done" message send on the BroadcastChannel could arrive after the worker signals that it was done (the worker sending that message via a MessagePort). Fortunately the spec doesn't give any guarantees of relative ordering of messages on message ports and other events, so this is all perfectly spec compliant (if not a little bit confusing), so this just changes the test to wait for both "done" signals to arrive before verifying the results. BUG=667552 Committed: https://crrev.com/55e6c2a1b1892268ca20d1c059638228d2a9c349 Cr-Commit-Position: refs/heads/master@{#433920}

Patch Set 1 #

Total comments: 5

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -17 lines) Patch
M third_party/WebKit/LayoutTests/broadcastchannel/blobs.html View 1 4 chunks +30 lines, -17 lines 0 comments Download

Messages

Total messages: 21 (15 generated)
Marijn Kruisselbrink
4 years, 1 month ago (2016-11-22 01:13:54 UTC) #6
jsbell
lgtm with nits https://codereview.chromium.org/2521843002/diff/1/third_party/WebKit/LayoutTests/broadcastchannel/blobs.html File third_party/WebKit/LayoutTests/broadcastchannel/blobs.html (right): https://codereview.chromium.org/2521843002/diff/1/third_party/WebKit/LayoutTests/broadcastchannel/blobs.html#newcode36 third_party/WebKit/LayoutTests/broadcastchannel/blobs.html:36: let verifyEvents = function() { nit: ...
4 years, 1 month ago (2016-11-22 17:13:23 UTC) #7
Marijn Kruisselbrink
https://codereview.chromium.org/2521843002/diff/1/third_party/WebKit/LayoutTests/broadcastchannel/blobs.html File third_party/WebKit/LayoutTests/broadcastchannel/blobs.html (right): https://codereview.chromium.org/2521843002/diff/1/third_party/WebKit/LayoutTests/broadcastchannel/blobs.html#newcode36 third_party/WebKit/LayoutTests/broadcastchannel/blobs.html:36: let verifyEvents = function() { On 2016/11/22 at 17:13:22, ...
4 years, 1 month ago (2016-11-22 17:51:28 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2521843002/40001
4 years, 1 month ago (2016-11-22 17:51:45 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 1 month ago (2016-11-22 18:33:26 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 18:38:38 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/55e6c2a1b1892268ca20d1c059638228d2a9c349
Cr-Commit-Position: refs/heads/master@{#433920}

Powered by Google App Engine
This is Rietveld 408576698