mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Converted --max-session-history opt into a pref, updated its uses to PREF api
updated test docs
This commit is contained in:
parent
4c401e47dc
commit
0fae39f468
4 changed files with 4 additions and 12 deletions
|
@ -18,7 +18,7 @@
|
|||
var go_forward_by = 24;
|
||||
|
||||
// The number of pages to go back by.
|
||||
// This should be more than the default --max-session-history,
|
||||
// This should be more than the default session-history.max-length pref,
|
||||
// to ensure that going back reloads the page.
|
||||
var go_back_by = Math.min(page_number, 20);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue