Bug 248734

Summary: ASSERTION FAILED: m_element under WebFullScreenManager::willExitFullScreen on media/video-inaccurate-duration-ended.html in EWS
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, jer.noble, ntim, simon.fraser
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=248093
https://bugs.webkit.org/show_bug.cgi?id=248782

Description Simon Fraser (smfr) 2022-12-03 20:58:43 PST
https://ews-build.s3-us-west-2.amazonaws.com/macOS-AppleSilicon-Big-Sur-Debug-WK2-Tests-EWS/d33837a3-45214/results.html

media/video-inaccurate-duration-ended.html crashes sometimes:

ASSERTION FAILED: m_element
/Volumes/Data/worker/macOS-AppleSilicon-Big-Sur-Debug-Build-EWS/build/Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.cpp(293) : void WebKit::WebFullScreenManager::willExitFullScreen()
1   0x1411a4b60 WTFCrash
2   0x10195ecd0 WTFCrashWithInfo(int, char const*, char const*, int)
3   0x10355d04c WebKit::WebFullScreenManager::willExitFullScreen()
4   0x1038ac3e4 WKBundlePageWillExitFullScreen
5   0x164052490 WTR::InjectedBundlePage::exitFullScreenForElement(OpaqueWKBundleNodeHandle const*)
6   0x16404b3f8 WTR::InjectedBundlePage::exitFullScreenForElement(OpaqueWKBundlePage const*, OpaqueWKBundleNodeHandle const*)
7   0x10389aa40 WebKit::InjectedBundlePageFullScreenClient::exitFullScreenForElement(WebKit::WebPage*, WebCore::Element*)
8   0x10355c580 WebKit::WebFullScreenManager::exitFullScreenForElement(WebCore::Element*)
9   0x103aa6818 WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad()
10  0x11bc850ec WebCore::FrameLoader::prepareForLoadStart()
11  0x11bccd7bc WebCore::FrameLoader::continueLoadAfterNavigationPolicy(WebCore::ResourceRequest const&, WebCore::FormState*, WebCore::NavigationPolicyDecision, WebCore::AllowNavigationToInvalidURL)::$_11::operator()()
12  0x11bccd5a0 WTF::Detail::CallableWrapper<WebCore::FrameLoader::continueLoadAfterNavigationPolicy(WebCore::ResourceRequest const&, WebCore::FormState*, WebCore::NavigationPolicyDecision, WebCore::AllowNavigationToInvalidURL)::$_11, void>::call()
13  0x11a04ce54 WTF::Function<void ()>::operator()() const
14  0x1173ba684 WTF::CompletionHandler<void ()>::operator()()
15  0x11bc8a1e4 WebCore::FrameLoader::continueLoadAfterNavigationPolicy(WebCore::ResourceRequest const&, WebCore::FormState*, WebCore::NavigationPolicyDecision, WebCore::AllowNavigationToInvalidURL)
Comment 1 Simon Fraser (smfr) 2022-12-04 08:06:47 PST
media/video-inactive-playback.html also hits this.
Comment 2 Alexey Proskuryakov 2022-12-04 17:43:51 PST
This is probably caused by a preceding test. Guessing from the name, this one doesn’t seem to use fullscreen.

Adding expectations would move the flakiness to next test.
Comment 3 Simon Fraser (smfr) 2022-12-05 16:52:28 PST

*** This bug has been marked as a duplicate of bug 248782 ***