<https://webkit.org/b/186793>
<rdar://problem/
41213255>
Turns out this isn't needed, so reverting r232959.
* platform/RuntimeApplicationChecks.h:
* platform/cocoa/RuntimeApplicationChecksCocoa.mm:
(WebCore::IOSApplication::isSplashBoardd): Deleted.
* platform/ios/wak/WebCoreThread.mm:
(WebThreadEnable):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@232969
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2018-06-19 David Kilzer <ddkilzer@apple.com>
+
+ Revert: Add logging when splashboardd enables WebThread
+ <https://webkit.org/b/186793>
+ <rdar://problem/41213255>
+
+ Turns out this isn't needed, so reverting r232959.
+
+ * platform/RuntimeApplicationChecks.h:
+ * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
+ (WebCore::IOSApplication::isSplashBoardd): Deleted.
+ * platform/ios/wak/WebCoreThread.mm:
+ (WebThreadEnable):
+
2018-06-19 Wenson Hsieh <wenson_hsieh@apple.com>
[WebKit on watchOS] Vend username text content type when using scribble in login fields
WEBCORE_EXPORT bool isWebBookmarksD();
bool isDumpRenderTree();
bool isMobileStore();
-bool isSplashBoardd();
bool isSpringBoard();
WEBCORE_EXPORT bool isWebApp();
WEBCORE_EXPORT bool isWebProcess();
return isMobileStore;
}
-bool IOSApplication::isSplashBoardd()
-{
- static bool isSplashBoardd = applicationBundleIsEqualTo(ASCIILiteral("splashboardd"));
- return isSplashBoardd;
-}
-
bool IOSApplication::isSpringBoard()
{
static bool isSpringBoard = applicationBundleIsEqualTo(ASCIILiteral("com.apple.springboard"));
void WebThreadEnable(void)
{
RELEASE_ASSERT_WITH_MESSAGE(!WebCore::IOSApplication::isWebProcess(), "The WebProcess should never run a Web Thread");
- if (WebCore::IOSApplication::isSplashBoardd())
- RELEASE_LOG_FAULT(Threading, "splashboardd enabled WebThread.");
- else if (WebCore::IOSApplication::isSpringBoard())
+ if (WebCore::IOSApplication::isSpringBoard())
RELEASE_LOG_FAULT(Threading, "SpringBoard enabled WebThread.");
static std::once_flag flag;