Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unneeded code in HistoryController::createItemTree
https://bugs.webkit.org/show_bug.cgi?id=273790 rdar://127621115 Reviewed by Pascoe. This code was added 16 years ago in 24907@main. It was intended to fix an issue where reloading would create a history item for an <object> element that might not have loaded. Today, history items are not created upon reloading. With site isolation, we are not always able to check if a child frame has loaded, so we should just remove this code. The test that was added in 24907@main still passes: http/tests/navigation/fallback-anchor-reload.html * Source/WebCore/loader/HistoryController.cpp: (WebCore::HistoryController::createItemTree): Canonical link: https://commits.webkit.org/278433@main
- Loading branch information