Title: [231199] trunk/Tools
- Revision
- 231199
- Author
- [email protected]
- Date
- 2018-05-01 10:09:06 -0700 (Tue, 01 May 2018)
Log Message
[WKTR] Move navigation policy for response decision from InjectedBundle to UIProcess
https://bugs.webkit.org/show_bug.cgi?id=185157
Reviewed by Geoffrey Garen.
Move navigation policy for response decision from InjectedBundle to UIProcess. This is a more
common configuration and should therefore be the configuration we test by default.
* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::decidePolicyForResponse):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (231198 => 231199)
--- trunk/Tools/ChangeLog 2018-05-01 16:03:54 UTC (rev 231198)
+++ trunk/Tools/ChangeLog 2018-05-01 17:09:06 UTC (rev 231199)
@@ -1,3 +1,16 @@
+2018-05-01 Chris Dumez <[email protected]>
+
+ [WKTR] Move navigation policy for response decision from InjectedBundle to UIProcess
+ https://bugs.webkit.org/show_bug.cgi?id=185157
+
+ Reviewed by Geoffrey Garen.
+
+ Move navigation policy for response decision from InjectedBundle to UIProcess. This is a more
+ common configuration and should therefore be the configuration we test by default.
+
+ * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
+ (WTR::InjectedBundlePage::decidePolicyForResponse):
+
2018-05-01 Oleksandr Skachkov <[email protected]>
WebAssembly: add support for stream APIs - _javascript_ API
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp (231198 => 231199)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp 2018-05-01 16:03:54 UTC (rev 231198)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp 2018-05-01 17:09:06 UTC (rev 231199)
@@ -1387,11 +1387,7 @@
InjectedBundle::singleton().outputText(stringBuilder.toString());
}
- if (injectedBundle.testRunner() && injectedBundle.testRunner()->shouldDecideResponsePolicyAfterDelay())
- return WKBundlePagePolicyActionPassThrough;
-
- WKRetainPtr<WKStringRef> mimeType = adoptWK(WKURLResponseCopyMIMEType(response));
- return WKBundlePageCanShowMIMEType(page, mimeType.get()) ? WKBundlePagePolicyActionUse : WKBundlePagePolicyActionPassThrough;
+ return WKBundlePagePolicyActionPassThrough;
}
void InjectedBundlePage::unableToImplementPolicy(WKBundlePageRef, WKBundleFrameRef, WKErrorRef, WKTypeRef*)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes