forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS Sim Debug] ASSERTION FAILED The atomic string comes from an othe…
…r thread! Layout Test imported/w3c/web-platform-tests/workers/WorkerNavigator_appName.htm is a flaky crash https://bugs.webkit.org/show_bug.cgi?id=197530 <rdar://problem/50448285> Reviewed by Geoffrey Garen. The issue is that NavigatorBase::platform() was not thread safe but was called by both Navigator on the main thread and WorkerNavigator on worker threads. No new tests, covered by existing tests. * page/Navigator.cpp: (WebCore::Navigator::platform const): * page/Navigator.h: * page/NavigatorBase.cpp: (WebCore::NavigatorBase::platform const): * page/NavigatorBase.h: Make NavigatorBase::platform() thread safe. * platform/ios/Device.cpp: (WebCore::deviceName): * platform/ios/Device.h: Make WebCore::deviceName() thread safe. * platform/ios/UserAgentIOS.mm: (WebCore::deviceNameForUserAgent): Cache value returned by WebCore::deviceName() for performance. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@244927 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
cdumez@apple.com
committed
May 3, 2019
1 parent
f998a7e
commit 878faaa
Showing
8 changed files
with
69 additions
and
36 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
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
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