Closed Bug 1182274 Opened 10 years ago Closed 10 years ago

Browser UI not updated after DOM pushState/popState with back/forward

Categories

(Firefox for iOS :: Browser, defect)

All
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios + ---

People

(Reporter: bnicholson, Assigned: bnicholson)

Details

Attachments

(1 file)

STR: 1) Go to https://people.mozilla.org/~bnicholson/test/pushstate.html. 2) Push the button on the page twice. 3) Push back twice. 4) Push forward twice. After these steps, the page URL should change (to include #foobar), and the forward button should be disabled. Neither happen until the phone is rotated. This seems to be related to the built-in back/forward list: pages that use pushState don't fire the typical navigation events we rely on to update the UI. We need to figure out some other way to detect this.
Status: NEW → ASSIGNED
Comment on attachment 8631899 [details] [review] Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/700 This looks good to me. Are there UI tests to test the areas that are affected? Navigation, Reading View?
Attachment #8631899 - Flags: review?(sarentz) → review+
(In reply to Stefan Arentz [:st3fan] from comment #2) > Comment on attachment 8631899 [details] [review] > Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/700 > > This looks good to me. Are there UI tests to test the areas that are > affected? Navigation, Reading View? Not really -- those are still in the works. I hit a number of other URL bar regressions while writing them, so trying to clear those out first.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: