Closed Bug 1937425 Opened 3 months ago Closed 3 months ago

Entering the GitHub and GitLab source markup editors displays cached content.

Categories

(Core :: Session Restore, defect)

Firefox 133
x86_64
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: zn7esutb, Unassigned)

References

()

Details

Steps to reproduce

  1. I saved (posted) a comment on GitHub (or GitLab).
  2. I modified that comment.
  3. I saved (posted) that (modified) comment.
  4. I entered the edit mode again.

Actual results

Instead of displaying the updated comment content, the previous content is displayed. Refreshing the page once usually remediates this, and refreshing it 2 to 3 times always does.

I presume that this is due to caching, considering that input form content is usually cached, except upon manual refresh.

I would have considered this to be a fault with either GitHub or GitLab, had it not occurred on both. It occurs on GitHub incredibly frequently, in comparison to GitLab.

Expected results

The new content should be displayed.

#c0

I have not verified whether this is exhibited on Firefox on Windows 11, nor whether it's exhibited on Chrome, because I rarely utilize either platform (although both are available to me if necessary) so the sporadic nature of the bug makes it difficult to reproduce on those platforms without extensive use of them.

Product: Firefox → Core

Works for me on GitHub. Reporter, are the steps to reproduce from comment 0 sufficient for you to reproduce this on GitHub?

Flags: needinfo?(zn7esutb)

Reporter, are the steps to reproduce from comment 0 sufficient for you to reproduce this on GitHub?

hsivonen@mozilla.com, yes. Additionally:

  1. The reproduction steps are identical on GitHub and GitLab.
  2. This occurs approximately 90% more frequently on GitHub in my usage, although my usage is skewed significantly toward GitHub.

I'll attempt to capture a screencast when this next occurs.

Flags: needinfo?(zn7esutb)
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → WORKSFORME

#a574469_691781

It's been strangely reliable recently. I'll reopen when I have captured a screencast as proof.

See Also: → 46845
Depends on: 1935897

#c4

I have had this recur at gitlab.com/-/snippets/4823517/edit at least 2 times today, on a new installation of firefox-136.0-2.fc41.x86_64 on a new OS installation, but with my previous profile (albeit with tm5k@tabmaster.org disabled). I verified by refreshing the page.

You need to log in before you can comment on or make changes to this bug.