-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1558184 [wpt PR 17246] - service worker: Drop postMessage() to re…
…dundant workers silently., a=testonly Automatic update from web-platform-tests service worker: Drop postMessage() to redundant workers silently. Update the WPT and fix behavior. Per spec change at w3c/ServiceWorker#1146. Bug: 972461 Change-Id: Id4bac3fbe1996382952e54d46cb405de9eb951b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1650685 Reviewed-by: Hayato Ito <[email protected]> Reviewed-by: Kenichi Ishibashi <[email protected]> Commit-Queue: Matt Falkenhagen <[email protected]> Cr-Commit-Position: refs/heads/master@{#667523} -- wp5At-commits: 0ea1346335e30ab897ee5124aeeafcae663b5f49 wpt-pr: 17246
- Loading branch information
Showing
2 changed files
with
33 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
3 changes: 3 additions & 0 deletions
3
...ng/web-platform/tests/service-workers/service-worker/resources/postmessage-echo-worker.js
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
self.addEventListener('message', event => { | ||
event.source.postMessage(event.data); | ||
}); |