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

Issue 729923004: Add some tests to make sure message ports properly queue up message. (Closed)

Created:
6 years, 1 month ago by Marijn Kruisselbrink
Modified:
6 years ago
Reviewers:
falken
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, tzik, serviceworker-reviews, nhiroki, falken, kinuko+serviceworker, horo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@cross_process_messaging_with_terminate
Project:
blink
Visibility:
Public.

Description

Add some tests to make sure message ports properly queue up message. In particular this adds tests for the case were a message port is being transfered to a service woker that isn't currently running. Depends on https://codereview.chromium.org/695643002/ BUG=432678 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186485

Patch Set 1 #

Total comments: 15

Patch Set 2 : address comments #

Patch Set 3 : rebase #

Patch Set 4 : fix FIXMEs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -14 lines) Patch
M LayoutTests/http/tests/serviceworker/chromium/postmessage-after-terminate.html View 1 2 3 2 chunks +116 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/chromium/resources/postmessage-port-worker.js View 1 1 chunk +20 lines, -0 lines 0 comments Download
A + LayoutTests/http/tests/serviceworker/chromium/resources/postmessage-worker.js View 1 1 chunk +0 lines, -14 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
falken
let me revisit this after the patch it depends <https://codereview.chromium.org/688413002/> on lands first https://codereview.chromium.org/729923004/diff/1/LayoutTests/http/tests/serviceworker/chromium/postmessage-after-terminate.html File ...
6 years, 1 month ago (2014-11-20 04:09:29 UTC) #2
Marijn Kruisselbrink
https://codereview.chromium.org/729923004/diff/1/LayoutTests/http/tests/serviceworker/chromium/postmessage-after-terminate.html File LayoutTests/http/tests/serviceworker/chromium/postmessage-after-terminate.html (right): https://codereview.chromium.org/729923004/diff/1/LayoutTests/http/tests/serviceworker/chromium/postmessage-after-terminate.html#newcode68 LayoutTests/http/tests/serviceworker/chromium/postmessage-after-terminate.html:68: return get_newest_worker(registration); On 2014/11/20 04:09:28, falken wrote: > registration.active ...
6 years, 1 month ago (2014-11-20 21:42:38 UTC) #5
Marijn Kruisselbrink
PTAL, all the dependencies of this CL have landed
6 years ago (2014-12-03 13:44:02 UTC) #6
falken
lgtm!
6 years ago (2014-12-04 06:21:56 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/729923004/100001
6 years ago (2014-12-04 08:23:02 UTC) #9
commit-bot: I haz the power
6 years ago (2014-12-04 08:25:26 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=186485

Powered by Google App Engine
This is Rietveld 408576698