Title: [253291] trunk/Source/WebKit
- Revision
- 253291
- Author
- [email protected]
- Date
- 2019-12-09 09:49:27 -0800 (Mon, 09 Dec 2019)
Log Message
Unreviewed, fix debug assertion for ApplePay API tests on iOS after r253277.
Disable server preconnect if the load will be handled by the LegacyCustomProtocolManager.
* NetworkProcess/NetworkConnectionToWebProcess.cpp:
(WebKit::NetworkConnectionToWebProcess::preconnectTo):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (253290 => 253291)
--- trunk/Source/WebKit/ChangeLog 2019-12-09 17:12:48 UTC (rev 253290)
+++ trunk/Source/WebKit/ChangeLog 2019-12-09 17:49:27 UTC (rev 253291)
@@ -1,3 +1,12 @@
+2019-12-09 Chris Dumez <[email protected]>
+
+ Unreviewed, fix debug assertion for ApplePay API tests on iOS after r253277.
+
+ Disable server preconnect if the load will be handled by the LegacyCustomProtocolManager.
+
+ * NetworkProcess/NetworkConnectionToWebProcess.cpp:
+ (WebKit::NetworkConnectionToWebProcess::preconnectTo):
+
2019-12-09 youenn fablet <[email protected]>
Add an option to capture audio in GPU process
Modified: trunk/Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp (253290 => 253291)
--- trunk/Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp 2019-12-09 17:12:48 UTC (rev 253290)
+++ trunk/Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp 2019-12-09 17:49:27 UTC (rev 253291)
@@ -76,6 +76,10 @@
#include "WebPaymentCoordinatorProxyMessages.h"
#endif
+#if ENABLE(LEGACY_CUSTOM_PROTOCOL_MANAGER)
+#include "LegacyCustomProtocolManager.h"
+#endif
+
#undef RELEASE_LOG_IF_ALLOWED
#define RELEASE_LOG_IF_ALLOWED(channel, fmt, ...) RELEASE_LOG_IF(m_sessionID.isAlwaysOnLoggingAllowed(), channel, "%p - NetworkConnectionToWebProcess::" fmt, this, ##__VA_ARGS__)
@@ -505,6 +509,13 @@
{
ASSERT(!parameters.request.httpBody());
+#if ENABLE(LEGACY_CUSTOM_PROTOCOL_MANAGER)
+ if (networkProcess().supplement<LegacyCustomProtocolManager>()->supportsScheme(parameters.request.url().protocol().toString())) {
+ didFinishPreconnection(preconnectionIdentifier, internalError(parameters.request.url()));
+ return;
+ }
+#endif
+
#if ENABLE(SERVER_PRECONNECT)
auto* session = networkSession();
if (session && session->allowsServerPreconnect()) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes