Page MenuHomePhabricator

Possible fix for JX.History spookiness?
ClosedPublic

Authored by epriestley on Apr 20 2015, 11:07 PM.
Tags
None
Referenced Files
F15518384: D12485.id.diff
Sat, Apr 19, 1:07 PM
F15516593: D12485.diff
Fri, Apr 18, 7:54 PM
F15493104: D12485.diff
Sat, Apr 12, 9:32 PM
F15458517: D12485.id29975.diff
Mon, Mar 31, 4:13 AM
F15445932: D12485.id29975.diff
Thu, Mar 27, 4:37 PM
F15439545: D12485.id.diff
Mar 26 2025, 8:02 AM
F15400822: D12485.id.diff
Mar 17 2025, 2:08 PM
F15397700: D12485.diff
Mar 16 2025, 9:49 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
Branch
quick1
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 5411
Build 5429: [Placeholder Plan] Wait for 30 Seconds

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.