Changeset 195558 in webkit
- Timestamp:
- Jan 25, 2016 3:08:03 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r195555 r195558 1 2016-01-25 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r195543. 4 https://bugs.webkit.org/show_bug.cgi?id=153451 5 6 regressed performance of test bots by ~6% (Requested by dydz 7 on #webkit). 8 9 Reverted changeset: 10 11 "WebKitTestRunner: Credential cache is not cleared between 12 tests" 13 https://bugs.webkit.org/show_bug.cgi?id=153407 14 http://trac.webkit.org/changeset/195543 15 1 16 2016-01-25 Chris Dumez <cdumez@apple.com> 2 17 -
trunk/Source/WebKit2/NetworkProcess/NetworkProcess.cpp
r195543 r195558 256 256 } 257 257 258 void NetworkProcess::switchToNewTestingSession()259 {260 NetworkStorageSession::switchToNewTestingSession();261 }262 263 258 void NetworkProcess::ensurePrivateBrowsingSession(SessionID sessionID) 264 259 { -
trunk/Source/WebKit2/NetworkProcess/NetworkProcess.h
r195543 r195558 147 147 void deleteWebsiteDataForOrigins(WebCore::SessionID, uint64_t websiteDataTypes, const Vector<WebCore::SecurityOriginData>& origins, const Vector<String>& cookieHostNames, uint64_t callbackID); 148 148 149 void switchToNewTestingSession();150 151 149 // FIXME: This should take a session ID so we can identify which disk cache to delete. 152 150 void clearDiskCache(std::chrono::system_clock::time_point modifiedSince, std::function<void ()> completionHandler); -
trunk/Source/WebKit2/NetworkProcess/NetworkProcess.messages.in
r195543 r195558 33 33 #endif 34 34 35 SwitchToNewTestingSession()36 37 35 EnsurePrivateBrowsingSession(WebCore::SessionID sessionID) 38 36 DestroyPrivateBrowsingSession(WebCore::SessionID sessionID) -
trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp
r195543 r195558 539 539 } 540 540 541 void WKContextResetTestingNetworkSession(WKContextRef context)542 {543 toImpl(context)->resetTestingNetworkSession();544 }545 546 541 WKDictionaryRef WKContextCopyPlugInAutoStartOriginHashes(WKContextRef contextRef) 547 542 { -
trunk/Source/WebKit2/UIProcess/API/C/WKContextPrivate.h
r195543 r195558 83 83 WK_EXPORT void WKContextUseTestingNetworkSession(WKContextRef context); 84 84 85 // Test only. Should be called before running a test.86 WK_EXPORT void WKContextResetTestingNetworkSession(WKContextRef context);87 88 85 typedef void (*WKContextInvalidMessageFunction)(WKStringRef messageName); 89 86 WK_EXPORT void WKContextSetInvalidMessageFunction(WKContextInvalidMessageFunction invalidMessageFunction); -
trunk/Source/WebKit2/UIProcess/WebProcessPool.cpp
r195543 r195558 1074 1074 } 1075 1075 1076 void WebProcessPool::resetTestingNetworkSession()1077 {1078 ASSERT(!m_processes.isEmpty());1079 ASSERT(m_networkProcess);1080 1081 if (!m_shouldUseTestingNetworkSession || !m_networkProcess || m_processes.isEmpty())1082 return;1083 1084 sendToAllProcesses(Messages::WebProcess::SwitchToNewTestingSession());1085 m_networkProcess->send(Messages::NetworkProcess::SwitchToNewTestingSession(), 0);1086 }1087 1088 1076 void WebProcessPool::allowSpecificHTTPSCertificateForHost(const WebCertificateInfo* certificate, const String& host) 1089 1077 { -
trunk/Source/WebKit2/UIProcess/WebProcessPool.h
r195543 r195558 240 240 241 241 void useTestingNetworkSession(); 242 void resetTestingNetworkSession();243 242 bool isUsingTestingNetworkSession() const { return m_shouldUseTestingNetworkSession; } 244 243 -
trunk/Source/WebKit2/WebProcess/WebProcess.cpp
r195543 r195558 499 499 } 500 500 501 void WebProcess::switchToNewTestingSession()502 {503 NetworkStorageSession::switchToNewTestingSession();504 }505 506 501 WebPage* WebProcess::focusedWebPage() const 507 502 { -
trunk/Source/WebKit2/WebProcess/WebProcess.h
r195543 r195558 211 211 void platformInitializeWebProcess(WebProcessCreationParameters&&); 212 212 213 void switchToNewTestingSession();214 215 213 void platformTerminate(); 216 214 void registerURLSchemeAsEmptyDocument(const String&); -
trunk/Source/WebKit2/WebProcess/WebProcess.messages.in
r195543 r195558 45 45 UserPreferredLanguagesChanged(Vector<String> languages) 46 46 FullKeyboardAccessModeChanged(bool fullKeyboardAccessEnabled) 47 48 SwitchToNewTestingSession()49 47 50 48 // Legacy private browsing session is per process. Individual pages or page groups may use the private session or the default one as appropriate. -
trunk/Tools/ChangeLog
r195557 r195558 1 2016-01-25 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r195543. 4 https://bugs.webkit.org/show_bug.cgi?id=153451 5 6 regressed performance of test bots by ~6% (Requested by dydz 7 on #webkit). 8 9 Reverted changeset: 10 11 "WebKitTestRunner: Credential cache is not cleared between 12 tests" 13 https://bugs.webkit.org/show_bug.cgi?id=153407 14 http://trac.webkit.org/changeset/195543 15 1 16 2016-01-25 Aakash Jain <aakash_jain@apple.com> 2 17 -
trunk/Tools/WebKitTestRunner/TestController.cpp
r195543 r195558 715 715 WKContextSetCacheModel(TestController::singleton().context(), kWKCacheModelDocumentBrowser); 716 716 717 WKContextResetTestingNetworkSession(TestController::singleton().context());718 719 717 // FIXME: This function should also ensure that there is only one page open. 720 718
Note: See TracChangeset
for help on using the changeset viewer.