[Webkit-unassigned] [Bug 241018] New: ASSERTION FAILED: gTestRunner->waitToDump() from Tools/DumpRenderTree/mac/UIDelegate.mm
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 27 08:05:39 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=241018
Bug ID: 241018
Summary: ASSERTION FAILED: gTestRunner->waitToDump() from
Tools/DumpRenderTree/mac/UIDelegate.mm
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: fred.wang at free.fr
Created attachment 459812
--> https://bugs.webkit.org/attachment.cgi?id=459812&action=review
Repro case
The following testcase is asserting with a DumpTestRunner debug build:
<!DOCTYPE>
<a id="a">
<base target="0"></base>
</a>
<script>
a.href = "http://foo";
a.click();
</script>
DYLD_FRAMEWORK_PATH=~/WebKit/WebKitBuild/Debug ~/WebKit/WebKitBuild/Debug/DumpRenderTree --no-enable-all-experimental-features --no-timeout ~/assertion-wait-to-dump.html
2022-05-27 17:04:18.251 DumpRenderTree[9878:375404] nil host used in call to allowsSpecificHTTPSCertificateForHost
2022-05-27 17:04:18.251 DumpRenderTree[9878:375404] nil host used in call to allowsAnyHTTPSCertificateForHost:
ASSERTION FAILED: gTestRunner->waitToDump()
/Users/fred/WebKit/Tools/DumpRenderTree/mac/UIDelegate.mm(179) : -[UIDelegate webView:createWebViewWithRequest:]
1 0x11c0dbc44 WTFCrash
2 0x1006211e4 AccessibilityController::~AccessibilityController()
3 0x100886468 -[UIDelegate webView:createWebViewWithRequest:]
4 0x1082af1f4 -[WebDefaultUIDelegate webView:createWebViewWithRequest:windowFeatures:]
5 0x19c633684 __invoking___
6 0x19c6334fc -[NSInvocation invoke]
7 0x19c666fb4 -[NSInvocation invokeWithTarget:]
8 0x10818f14c -[_WebSafeForwarder forwardInvocation:]
9 0x19c631b1c ___forwarding___
10 0x19c631670 _CF_forwarding_prep_0
11 0x107ff8860 WebFrameLoaderClient::dispatchCreatePage(WebCore::NavigationAction const&, WebCore::NewFrameOpenerPolicy)
12 0x2a862ec74 WebCore::FrameLoader::continueLoadAfterNewWindowPolicy(WebCore::ResourceRequest const&, WebCore::FormState*, WTF::AtomString const&, WebCore::NavigationAction const&, WebCore::ShouldContinuePolicyCheck, WebCore::AllowNavigationToInvalidURL, WebCore::NewFrameOpenerPolicy)
13 0x2a86618f8 WebCore::FrameLoader::loadURL(WebCore::FrameLoadRequest&&, WTF::String const&, WebCore::FrameLoadType, WebCore::Event*, WTF::RefPtr<WebCore::FormState, WTF::RawPtrTraits<WebCore::FormState>, WTF::DefaultRefDerefTraits<WebCore::FormState> >&&, std::__1::optional<WebCore::PrivateClickMeasurement>&&, WTF::CompletionHandler<void ()>&&)::$_3::operator()(WebCore::ResourceRequest const&, WTF::WeakPtr<WebCore::FormState, WTF::EmptyCounter>&&, WTF::AtomString const&, WebCore::NavigationAction const&, WebCore::ShouldContinuePolicyCheck)
14 0x2a86615b0 WTF::Detail::CallableWrapper<WebCore::FrameLoader::loadURL(WebCore::FrameLoadRequest&&, WTF::String const&, WebCore::FrameLoadType, WebCore::Event*, WTF::RefPtr<WebCore::FormState, WTF::RawPtrTraits<WebCore::FormState>, WTF::DefaultRefDerefTraits<WebCore::FormState> >&&, std::__1::optional<WebCore::PrivateClickMeasurement>&&, WTF::CompletionHandler<void ()>&&)::$_3, void, WebCore::ResourceRequest const&, WTF::WeakPtr<WebCore::FormState, WTF::EmptyCounter>&&, WTF::AtomString const&, WebCore::NavigationAction const&, WebCore::ShouldContinuePolicyCheck>::call(WebCore::ResourceRequest const&, WTF::WeakPtr<WebCore::FormState, WTF::EmptyCounter>&&, WTF::AtomString const&, WebCore::NavigationAction const&, WebCore::ShouldContinuePolicyCheck)
15 0x2a8729694 WTF::Function<void (WebCore::ResourceRequest const&, WTF::WeakPtr<WebCore::FormState, WTF::EmptyCounter>&&, WTF::AtomString const&, WebCore::NavigationAction const&, WebCore::ShouldContinuePolicyCheck)>::operator()(WebCore::ResourceRequest const&, WTF::WeakPtr<WebCore::FormState, WTF::EmptyCounter>&&, WTF::AtomString const&, WebCore::NavigationAction const&, WebCore::ShouldContinuePolicyCheck) const
16 0x2a86db780 WTF::CompletionHandler<void (WebCore::ResourceRequest const&, WTF::WeakPtr<WebCore::FormState, WTF::EmptyCounter>&&, WTF::AtomString const&, WebCore::NavigationAction const&, WebCore::ShouldContinuePolicyCheck)>::operator()(WebCore::ResourceRequest const&, WTF::WeakPtr<WebCore::FormState, WTF::EmptyCounter>&&, WTF::AtomString const&, WebCore::NavigationAction const&, WebCore::ShouldContinuePolicyCheck)
17 0x2a872a8a8 WebCore::FrameLoader::PolicyChecker::checkNewWindowPolicy(WebCore::NavigationAction&&, WebCore::ResourceRequest&&, WTF::RefPtr<WebCore::FormState, WTF::RawPtrTraits<WebCore::FormState>, WTF::DefaultRefDerefTraits<WebCore::FormState> >&&, WTF::AtomString const&, WTF::CompletionHandler<void (WebCore::ResourceRequest const&, WTF::WeakPtr<WebCore::FormState, WTF::EmptyCounter>&&, WTF::AtomString const&, WebCore::NavigationAction const&, WebCore::ShouldContinuePolicyCheck)>&&)::$_8::operator()(WebCore::PolicyAction, WebCore::PolicyCheckIdentifier)
18 0x2a8729f60 WTF::Detail::CallableWrapper<WebCore::FrameLoader::PolicyChecker::checkNewWindowPolicy(WebCore::NavigationAction&&, WebCore::ResourceRequest&&, WTF::RefPtr<WebCore::FormState, WTF::RawPtrTraits<WebCore::FormState>, WTF::DefaultRefDerefTraits<WebCore::FormState> >&&, WTF::AtomString const&, WTF::CompletionHandler<void (WebCore::ResourceRequest const&, WTF::WeakPtr<WebCore::FormState, WTF::EmptyCounter>&&, WTF::AtomString const&, WebCore::NavigationAction const&, WebCore::ShouldContinuePolicyCheck)>&&)::$_8, void, WebCore::PolicyAction, WebCore::PolicyCheckIdentifier>::call(WebCore::PolicyAction, WebCore::PolicyCheckIdentifier)
19 0x10800ed40 WTF::Function<void (WebCore::PolicyAction, WebCore::PolicyCheckIdentifier)>::operator()(WebCore::PolicyAction, WebCore::PolicyCheckIdentifier) const
20 0x10800f850 -[WebFramePolicyListener receivedPolicyDecision:]
21 0x10800fef0 -[WebFramePolicyListener use]
22 0x1082aebc4 -[WebDefaultPolicyDelegate webView:decidePolicyForNewWindowAction:request:newFrameName:decisionListener:]
23 0x19c633684 __invoking___
24 0x19c6334fc -[NSInvocation invoke]
25 0x19c666fb4 -[NSInvocation invokeWithTarget:]
26 0x10818efb0 -[_WebSafeForwarder forwardInvocation:]
27 0x19c631b1c ___forwarding___
28 0x19c631670 _CF_forwarding_prep_0
29 0x107ff9b5c WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction(WebCore::NavigationAction const&, WebCore::ResourceRequest const&, WebCore::FormState*, WTF::String const&, WebCore::PolicyCheckIdentifier, WTF::Function<void (WebCore::PolicyAction, WebCore::PolicyCheckIdentifier)>&&)
30 0x2a86db2f8 WebCore::FrameLoader::PolicyChecker::checkNewWindowPolicy(WebCore::NavigationAction&&, WebCore::ResourceRequest&&, WTF::RefPtr<WebCore::FormState, WTF::RawPtrTraits<WebCore::FormState>, WTF::DefaultRefDerefTraits<WebCore::FormState> >&&, WTF::AtomString const&, WTF::CompletionHandler<void (WebCore::ResourceRequest const&, WTF::WeakPtr<WebCore::FormState, WTF::EmptyCounter>&&, WTF::AtomString const&, WebCore::NavigationAction const&, WebCore::ShouldContinuePolicyCheck)>&&)
31 0x2a86071a8 WebCore::FrameLoader::loadURL(WebCore::FrameLoadRequest&&, WTF::String const&, WebCore::FrameLoadType, WebCore::Event*, WTF::RefPtr<WebCore::FormState, WTF::RawPtrTraits<WebCore::FormState>, WTF::DefaultRefDerefTraits<WebCore::FormState> >&&, std::__1::optional<WebCore::PrivateClickMeasurement>&&, WTF::CompletionHandler<void ()>&&)
--
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/20220527/93317f29/attachment.htm>
More information about the webkit-unassigned
mailing list