WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
278500
REGRESSION (
282564@main
): [ macOS iOS wk2 debug arm64 ] imported/w3c/web-platform-tests/navigation-api/navigate-event/replaceState-inside-back-handler.html is a constant crash with a assertion failure.
https://bugs.webkit.org/show_bug.cgi?id=278500
Summary
REGRESSION (282564@main): [ macOS iOS wk2 debug arm64 ] imported/w3c/web-plat...
Anfernee Viduya
Reported
2024-08-21 16:08:10 PDT
imported/w3c/web-platform-tests/navigation-api/navigate-event/replaceState-inside-back-handler.html is a constant crash producing an assertion failure. HISTORY:
https://results.webkit.org/?platform=mac&platform=ios&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fnavigation-api%2Fnavigate-event%2FreplaceState-inside-back-handler.html
LOG: 1 0x35b3ad4d8 WebCore::DOMPromise::whenPromiseIsSettled(WebCore::JSDOMGlobalObject*, JSC::JSObject*, WTF::Function<void ()>&&) 2 0x35b3ad01c WebCore::DOMPromise::whenSettled(std::__1::function<void ()>&&) 3 0x35cfa8a68 WebCore::waitForAllPromises(WTF::Vector<WTF::RefPtr<WebCore::DOMPromise, WTF::RawPtrTraits<WebCore::DOMPromise>, WTF::DefaultRefDerefTraits<WebCore::DOMPromise>>, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> const&, WTF::Function<void ()>&&, WTF::Function<void (JSC::JSValue)>&&) 4 0x35cfa7dd8 WebCore::Navigation::innerDispatchNavigateEvent(WebCore::NavigationNavigationType, WTF::Ref<WebCore::NavigationDestination, WTF::RawPtrTraits<WebCore::NavigationDestination>, WTF::DefaultRefDerefTraits<WebCore::NavigationDestination>>&&, WTF::String const&, WebCore::FormState*, WebCore::SerializedScriptValue*) 5 0x35cfa9014 WebCore::Navigation::dispatchPushReplaceReloadNavigateEvent(WTF::URL const&, WebCore::NavigationNavigationType, bool, WebCore::FormState*, WebCore::SerializedScriptValue*) LINK:
https://build.webkit.org/results/Apple-Sonoma-Debug-AppleSilicon-WK2-Tests/282576@main%20(3805)/imported/w3c/web-platform-tests/navigation-api/navigate-event/replaceState-inside-back-handler-crash-log.txt
DESCRIPTION: In
282564@main
changes were made in Navigation. I tried to bisect the regression but it seems that
282564@main
had a build failure. In
282563@main
the crash does not occur. REPRODUCIBILITY: I was able to reproduce the constant crash on ToT using command run-webkit-test imported/w3c/web-platform-tests/navigation-api/navigate-event/replaceState-inside-back-handler.html --debug --iterations 10
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-08-21 16:08:20 PDT
<
rdar://problem/134452443
>
Anfernee Viduya
Comment 2
2024-08-21 16:14:24 PDT
ASSERTION FAILED: !scope.exception() || vm.hasPendingTerminationException()
EWS
Comment 3
2024-08-21 17:03:56 PDT
Test gardening commit
282588@main
(975b17dd3d6f): <
https://commits.webkit.org/282588@main
> Reviewed commits have been landed. Closing PR #32566 and removing active labels.
Anfernee Viduya
Comment 4
2024-08-21 18:59:33 PDT
With the above commit it was decided to skip the test on affected platforms.
Patrick Griffis
Comment 5
2024-08-22 09:42:11 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/32596
EWS
Comment 6
2024-08-22 10:53:53 PDT
Committed
282623@main
(df546f0d2c4d): <
https://commits.webkit.org/282623@main
> Reviewed commits have been landed. Closing PR #32596 and removing active labels.
Alexey Proskuryakov
Comment 7
2024-08-22 16:55:15 PDT
This fix didn't unskip tests that were skipped in
282588@main
, this still needs to be done.
Alexey Proskuryakov
Comment 8
2024-08-22 17:08:59 PDT
My mistake, I somehow overlooked that the expectations were actually removed. Please ignore the above comment.
Anfernee Viduya
Comment 9
2024-08-28 14:17:00 PDT
The fix was
282623@main
. It reverted the commit that regressed the test.
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