LadybirdBrowser / ancient-history

The Ladybird web browser
BSD 2-Clause "Simplified" License
1.62k stars 109 forks source link

Fix reloading functionality #117

Closed Baitinq closed 1 year ago

Baitinq commented 1 year ago

Previoulsy, reloading went back to the first page loaded by WebView::load() or WebView::load_html(), as they are the only methods that modify m_url, which is what the reload loaded. Now we handle reloads in Tab.cpp by simply loading the last entry in the m_history.

gunnarbeutner commented 1 year ago

One more thing about the commit message: Previoulsy.