Closed Bug 1426862 Opened 8 years ago Closed 8 years ago

history.pushState(stateObj, title, location) is causing a javascript error

Categories

(Firefox for iOS :: General, defect)

Other
iOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
fxios ? ---

People

(Reporter: bassel, Unassigned, NeedInfo)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20171206182557 Steps to reproduce: in my script and after calling history.pushState(stateObj, title, location) where stateObj = {menu: 1} (for example) and title, location are 2 strings (normal parameters) the script seize to continue Actual results: javascript error Expected results: code to continue running after calling history.pushState
Flags: needinfo?(jdarcangelo)
:bassel, can you please provide an example illustrating the problem that you're seeing? I tried following your STR and came up with this JSBin that seems to be working: http://output.jsbin.com/valudoy
Flags: needinfo?(jdarcangelo) → needinfo?(bassel)
Closing for now. Please feel free to re-open if you can provide an example to repro this issue.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.