New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a method to Servo to clean the history #19284
Comments
By purging do you mean removing all history entries in the past and future? |
Yes. |
It probably wouldn't be too tricky to implement, but we'd need a compelling argument for why we should have some non-standard behaviour. @paulrouget what's a use-case? |
That's a feature found in some browsers. A menu to clear history. It's also a method found in Webkit and Gecko. In Firefox, clearing history make it so we can't go back or forward anymore, but the current document is conserved. |
Fair enough. Is any of this spec'd somewhere? Is the |
I don't think there is any spec. The @asajeffrey this is not urgent, and once I need it, I will implement it myself. I just wanted to know if there was any difficulties in implementing this beside finding all the non active pipelines and destroying them. |
A
PurgeHistory(BrowserId)
event.This would clear the history.
On completion, we would get a
HistoryChanged
event./cc @asajeffrey what would it take to implement that?
The text was updated successfully, but these errors were encountered: