WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
307073
REGRESSION (
306393@main
): ASSERTION FAILED: last on imported/w3c/web-platform-tests/focus/focus-element-crash.html
https://bugs.webkit.org/show_bug.cgi?id=307073
Summary
REGRESSION (306393@main): ASSERTION FAILED: last on imported/w3c/web-platform...
Alexey Proskuryakov
Reported
2026-02-05 08:30:16 PST
imported/w3c/web-platform-tests/focus/focus-element-crash.html has started to crash with an assertion every time since commits.webkit.org/306393@main
https://results.safari.apple.com/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Ffocus%2Ffocus-element-crash.html
ASSERTION FAILED: last /Volumes/Data/worker/Apple-iOS-26-Simulator-Debug-Build/build/Source/WebCore/page/FocusController.cpp(958) : Element *WebCore::FocusController::previousFocusableElementOrScopeOwner(const FocusNavigationScope &, Node *, const FocusEventData &) 1 0x14ab54a4c WebCore::FocusController::previousFocusableElementOrScopeOwner(WebCore::FocusNavigationScope const&, WebCore::Node*, WebCore::FocusEventData const&) 2 0x14ab544d0 WebCore::FocusController::previousFocusableElementWithinScope(WebCore::FocusNavigationScope const&, WebCore::Node*, WebCore::FocusEventData const&) 3 0x14ab54604 WebCore::FocusController::previousFocusableElementWithinScope(WebCore::FocusNavigationScope const&, WebCore::Node*, WebCore::FocusEventData const&) 4 0x14ab5455c WebCore::FocusController::previousFocusableElementWithinScope(WebCore::FocusNavigationScope const&, WebCore::Node*, WebCore::FocusEventData const&) 5 0x14ab52ca8 WebCore::FocusController::findFocusableElementWithinScope(WebCore::FocusDirection, WebCore::FocusNavigationScope const&, WebCore::Node*, WebCore::FocusEventData const&, WebCore::ShouldFocusElement) 6 0x14ab53cb4 WebCore::FocusController::findFocusableElementAcrossFocusScope(WebCore::FocusDirection, WebCore::FocusNavigationScope const&, WebCore::Node*, WebCore::FocusEventData const&, WebCore::ShouldFocusElement) 7 0x14ab55178 WebCore::FocusController::previousFocusableElement(WebCore::Node&) 8 0x130ee99a8 WebKit::nextAssistableElement(WebCore::Node*, WebCore::Page&, bool) 9 0x130ecd3d4 WebKit::WebPage::focusedElementInformation() 10 0x1321e2a3c WebKit::WebPage::elementDidFocus(WebCore::Element&, WebCore::FocusOptions const&) 11 0x131fbeb20 WebKit::WebChromeClient::elementDidFocus(WebCore::Element&, WebCore::FocusOptions const&) 12 0x1499d2f60 WebCore::Element::dispatchFocusEvent(WTF::RefPtr<WebCore::Element, WTF::RawPtrTraits<WebCore::Element>, WTF::DefaultRefDerefTraits<WebCore::Element>>&&, WebCore::FocusOptions const&) 13 0x14a07f328 WebCore::HTMLTextFormControlElement::dispatchFocusEvent(WTF::RefPtr<WebCore::Element, WTF::RawPtrTraits<WebCore::Element>, WTF::DefaultRefDerefTraits<WebCore::Element>>&&, WebCore::FocusOptions const&) 14 0x149868c2c WebCore::Document::setFocusedElement(WebCore::Element*, WebCore::FocusOptions const&, WebCore::BroadcastFocusedElement) 15 0x14ab432d8 WebCore::FocusController::setFocusedElement(WebCore::Element*, WebCore::Frame*, WebCore::FocusOptions const&, WebCore::BroadcastFocusedElement) 16 0x1499d240c WebCore::Element::focus(WebCore::FocusOptions const&) 17 0x1499d25d8 WebCore::Element::focusForBindings(WebCore::FocusOptions&&) 18 0x145cefa80 WebCore::jsHTMLElementPrototypeFunction_focusBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSHTMLElement*)::'lambda'()::operator()() const 19 0x145cef904 JSC::JSValue WebCore::toJS<WebCore::IDLUndefined, WebCore::jsHTMLElementPrototypeFunction_focusBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSHTMLElement*)::'lambda'()>(JSC::JSGlobalObject&, JSC::ThrowScope&, WebCore::jsHTMLElementPrototypeFunction_focusBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSHTMLElement*)::'lambda'()&&) 20 0x145cef6d8 WebCore::jsHTMLElementPrototypeFunction_focusBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSHTMLElement*) 21 0x145cef598 long long WebCore::IDLOperation<WebCore::JSHTMLElement>::call<&WebCore::jsHTMLElementPrototypeFunction_focusBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSHTMLElement*), (WebCore::CastedThisErrorBehavior)0>(JSC::JSGlobalObject&, JSC::CallFrame&, char const*) 22 0x145ce6510 WebCore::jsHTMLElementPrototypeFunction_focus(JSC::JSGlobalObject*, JSC::CallFrame*)
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-02-05 08:30:23 PST
<
rdar://problem/169714010
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug