[webkit-changes] [WebKit/WebKit] 8a2524: Remove a bogus assert in restoreScrollPositionAndV...

Ahmad Saleem noreply at github.com
Tue Oct 3 14:49:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8a2524e6b2d8d3e1eb1111013eed5b6dae1e0d22
      https://github.com/WebKit/WebKit/commit/8a2524e6b2d8d3e1eb1111013eed5b6dae1e0d22
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    M Source/WebCore/loader/HistoryController.cpp

  Log Message:
  -----------
  Remove a bogus assert in restoreScrollPositionAndViewState

https://bugs.webkit.org/show_bug.cgi?id=252944
rdar://problem/106232374

Reviewed by Chris Dumez.

Merge: https://chromium.googlesource.com/chromium/blink/+/dea55cb041d519f2f42a85449e3071b3c9813f30

iframes initially populated by javascript urls can cause us to call
restoreDocumentState() without a current history item.

* Source/WebCore/loader/HistoryController.cpp:
(FrameLoader::HistoryController::restoreScrollPositionAndViewState):

Canonical link: https://commits.webkit.org/268803@main




More information about the webkit-changes mailing list