`<textarea>`s render cached content, across refreshes and browser invocations.
Categories
(Core :: Session Restore, defect)
Tracking
()
People
(Reporter: RokeJulianLockhart, Unassigned)
References
()
Details
Attachments
(4 files)
How To Reproduce
-
I saved (posted) a comment on GitHub (or GitLab).
-
I modified that comment.
-
I saved (posted) that (modified) comment.
-
I entered the edit mode again.
Actual Result
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 Result
The new content should be displayed.
My Environment
The latest version reproduced on is 145.0.1.
| Reporter | ||
Comment 1•1 year ago
|
||
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.
Updated•1 year ago
|
Comment 2•1 year ago
|
||
Works for me on GitHub. Reporter, are the steps to reproduce from comment 0 sufficient for you to reproduce this on GitHub?
| Reporter | ||
Comment 3•1 year ago
|
||
Reporter, are the steps to reproduce from comment 0 sufficient for you to reproduce this on GitHub?
hsivonen@mozilla.com, yes. Additionally:
- The reproduction steps are identical on GitHub and GitLab.
- 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.
| Reporter | ||
Updated•1 year ago
|
| Comment hidden (obsolete) |
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 5•1 year ago
•
|
||
Location And Environment
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.
| Reporter | ||
Comment 6•1 year ago
•
|
||
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
Comment 7•1 year ago
|
||
Just to note that the issue in the screencast was blog.burnsmcd.com in the rendered markdown, but not in the editor.
Is it reproducible with a clean profile?
| Reporter | ||
Comment 8•1 year ago
|
||
Is it reproducible with a clean profile?
I can't easily tell, because it's so inconsistent. It certainly occurs infinitely more on GitLab (especially Snippets) than on GitHub, but I don't have a definitive way to evaluate this. Is there something I can check in the DevTools when I encounter it that demonstrates that the browser is loading cached content?
I suppose it could be feasible for me to create two test Snippets. One, I edit on a new profile, and the other on the current profile. I keep editing until it either appears or I've tried for long enough that it doesn't.
| Reporter | ||
Comment 9•1 year ago
•
|
||
I suppose it could be feasible for me to create two test Snippets. One, I edit on a new profile, and the other on the current profile. I keep editing until it either appears or I've tried for long enough that it doesn't.
Since it's already reproduced in my default profile, I created a snippet and added its content via my default profile, then exited it, and modified it thereafter solely in the new profile. It immediately reproduced on the first edit, didn't for some time, but eventually did again. I managed to screencast the last reproduction.
| Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 10•1 year ago
|
||
Would you be comfortable sharing a https://profiler.firefox.com/ profile captured while you're reproducing this? It'd allow us to get some hints about where the problem occurs.
| Reporter | ||
Comment 11•1 year ago
•
|
||
Diagnosis
Apologies for the wait. I've managed to capture a surprisingly short profile at share.firefox.dev/42AoWVj, in which I confirmed that the issue reproduced.
| Reporter | ||
Comment 12•11 months ago
•
|
||
Location And Remediation
Had this reproduce at https://github.com/rogalmic/vscode-bash-debug/issues/197#issue-3024235077 on org.mozilla.fenix, which I previously considered unaffected. Specifically, I loaded the page, modified the comment, and on refresh after submission (refresh shouldn't occur), was displayed the cached page without my modification. After manual refresh, the modification appeared.
Environment
2025-05-13T00:30:19.561342428:140.0a1 (Build #2016090567), hg-6994db615d7f+ GV: 140.0a1-20250512213630 AS: 140.20250509050400 OS: Android 14
| Reporter | ||
Updated•11 months ago
|
| Reporter | ||
Comment 13•11 months ago
•
|
||
Location And Environment
I have managed to reproduce this with id=1969259#c3 on my FFA-synchronised profile, via Mozilla.Firefox_139.0.0.0_x64__n80bbvh6b1yt2 from apps.microsoft.com/detail/9nzvdkpmr9rd:
Publisher : CN=082E9164-EE6C-4EC8-B62C-441FAE7BEFA1 ResourceId : InstallLocation : C:\Program Files\WindowsApps\Mozilla.Firefox_139.0.0.0_x64__n80bbvh6b1yt2 IsFramework : False IsResourcePackage : False IsBundle : False IsDevelopmentMode : False NonRemovable : False IsPartiallyStaged : False SignatureKind : Store Status : Ok
Remediation
This on a new browser invocation: I had saved the content on the previous invocation, then exited. A location.reload() remediated it.
| Reporter | ||
Updated•11 months ago
|
| Reporter | ||
Updated•11 months ago
|
| Reporter | ||
Updated•11 months ago
|
| Reporter | ||
Updated•11 months ago
|
| Reporter | ||
Updated•10 months ago
|
| Reporter | ||
Updated•10 months ago
|
| Reporter | ||
Comment 14•10 months ago
|
||
Where Reproduced
gitlab.com/-/snippets/4809739.
Via What (The Environment)
141.0a1(Build #2016097671),nullGV: 141.0a1-20250618211250 AS: 141.20250617050355 OS: Android 14
2025-06-18T21:12:50
| Reporter | ||
Comment 15•22 days ago
|
||
I experienced this with rendered content, after gitlab.com/gitlab-org/gitlab/-/work_items/596800#note_3253698033, with firefox-nightly-151.0a1-20260415040720. IDK whether that's relevant, or server-side.
Description
•