Page MenuHomePhabricator

Possible fix for JX.History spookiness?
ClosedPublic

Authored by epriestley on Apr 20 2015, 11:07 PM.
Tags
None
Referenced Files
F13118508: D12485.diff
Mon, Apr 29, 2:28 PM
Unknown Object (File)
Thu, Apr 25, 3:41 AM
Unknown Object (File)
Wed, Apr 24, 4:47 AM
Unknown Object (File)
Wed, Apr 17, 7:46 PM
Unknown Object (File)
Mar 22 2024, 7:45 PM
Unknown Object (File)
Feb 25 2024, 12:41 AM
Unknown Object (File)
Feb 1 2024, 12:00 PM
Unknown Object (File)
Jan 29 2024, 2:29 PM
Subscribers

Details

Reviewers
btrahan
Maniphest Tasks
T7573: Ship Quicksand
Commits
Restricted Diffusion Commit
rP1602858b2662: Possible fix for JX.History spookiness?
Summary

Ref T7573. I only got this reproducing like 10% of the time in Firefox but I can't reproduce it anymore after this change.

Test Plan
  • Added some logging.
  • Saw Firefox handing us nonsense state values (?)
  • Read the Firefox documentation?
  • Maybe state is expected to be an object? This shouldn't matter?
  • I don't really know?

iiam

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Possible fix for JX.History spookiness?.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
This revision is now accepted and ready to land.Apr 20 2015, 11:35 PM
This revision was automatically updated to reflect the committed changes.

This didn't fix it for me unfortunately...

  • load /p/btrahan
    • observe debug output of path that's getting put into _history member variable: /p/btrahan/
  • click /p/btrahan/feed/ link
    • Quicksand.js:270 Object {path: "/p/btrahan/feed/", state: 1}
  • click back
    • Quicksand.js:270 Object {path: "/p/btrahan/", state: 2}
    • this should be 0...?

Yeah, it should be 0. I don't even know where the 2 is coming from. Locally when I repro'd this, we never pushed 2 into the state in the same window that I could see.