Re: [html-tests] Add tests for scroll restoration mode (#2437)

There have been reviewed [here](https://codereview.chromium.org/1239463005/). The changes from those tests are:
1. Remove test verifying scale restoration is unaffected: this relied on blink internal API for scaling. I like to add a similar one later if possible (perhaps using webdriver API?).
2. Make cross doc tests into cross origin ones which is more appropriate.**
3. Refactor multi-step navigation to separate stepping logic from actual test steps making test more readable.

** As part of this I removed [one assertion](https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/LayoutTests/fast/history/scroll-restoration/scroll-restoration-fragment-navigation-crossdoc.html&l=49) that turned out to be unnecessary but required additional complexity in the cross origin test .



View on GitHub: https://github.com/w3c/web-platform-tests/pull/2437#issuecomment-165475369

Received on Thursday, 17 December 2015 14:56:04 UTC