This test fails because the text that's supposed to be added to the DOM when the test page (state_operations.html) gets loaded doesn't actually get added after back navigation:
../../ios/web/navigation/history_state_operations_inttest.mm:363: Failure
Value of: IsOnLoadTextVisible()
Actual: false
Expected: true
The problem seems to be that the window.onload event isn't firing on back navigation. Safari on iOS doesn't fire an onload event in this situation, so we're likely just inheriting this behavior now. Browser behavior in this area is inconsistent. Testing on Mac, Chrome and Safari *do* fire an onload event for back navigation, but Firefox does not.
A good next step for this bug is to figure where/if this behavior is spec'd.
Comment 1 by bugdroid1@chromium.org
, Feb 13 2018