forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REGRESSION(286686@main?): [macOS] http/tests/workers/service/shownoti…
…fication-allowed.html is a constant failure (flaky in EWS) rdar://140875944 https://bugs.webkit.org/show_bug.cgi?id=283999 Reviewed by Chris Dumez. http/tests/workers/service/shownotification-allowed.html was failing as we were: - stopping the service worker due to network process crash - recreating the service worker, but in a different process from the web page - sending a message to the web page via self.clients - But the web page is not reregistering it as a service worker client since it does not create a new connection to the network process. To fix this, we make sure the web page recreates a connection to the network process and we make sure the service worker loops until it can send the message to at least one client. * LayoutTests/http/tests/workers/service/resources/shownotification-worker.js: (let.messageClients): * LayoutTests/http/tests/workers/service/shownotification-allowed.html: * LayoutTests/platform/mac-wk2/TestExpectations: Canonical link: https://commits.webkit.org/287520@main
- Loading branch information
Showing
3 changed files
with
21 additions
and
16 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
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
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