[Webkit-unassigned] [Bug 223965] [GTK][WPE] Several http/tests/contentextensions tests crash at TestController::configureContentExtensionForTest()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 30 19:07:03 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=223965
Carlos Alberto Lopez Perez <clopez at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.webkit.org/sho
| |w_bug.cgi?id=193622
Summary|REGRESSION(r275204): |[GTK][WPE] Several
|[GTK][WPE] Several |http/tests/contentextension
|http/tests/contentextension |s tests crash at
|s tests crash |TestController::configureCo
| |ntentExtensionForTest()
--- Comment #5 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
Further debugging this I see that the request to the Apache server is never done in the case of main-resource-redirect-blocked.py. WTR crashes before doing the request.
However, If i rename main-resource-redirect-blocked.py to something else it works (I mean, the crash is gone)
And it seems the crash is triggered by the file LayoutTests/http/tests/contentextensions/main-resource-redirect-blocked.py.json ... If I delete this file then the test stops crashing.
Further debugging this I see WTR is trying to load this json file in the function TestController::configureContentExtensionForTest()
From: https://trac.webkit.org/browser/webkit/trunk/Tools/WebKitTestRunner/TestController.cpp?rev=275046#L1427
1393 void TestController::configureContentExtensionForTest(const TestInvocation& test)
1394 {
[....]
1425
1426 WKPageSetUserContentExtensionsEnabled(mainWebView()->page(), true);
1427 WKUserContentControllerAddUserContentFilter(userContentController(), context.filter.get());
1428 }
And it is crashing on the line 1427 because context.filter.get() is returning nullptr
This code was added in r241283
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210331/f4252266/attachment.htm>
More information about the webkit-unassigned
mailing list