Assert relative changes in history.length
in same-url.html
All browsers except Firefox spuriously fail the precondition in
onload
0 because their history includes about:blank
(initially
loaded by WebDriver [1, 2]), followed by same-url.html
. Avoid encoding
this implementation detail in the test.
Also, add the current state to each assertion to make failure more
informative.