LadybirdBrowser / ancient-history

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

Fix reloading functionality #117

Closed Baitinq closed 2 years ago

Baitinq commented 2 years 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 2 years ago

One more thing about the commit message: Previoulsy.