Page MenuHomePhabricator

VisualEditor's short-term local stash of an in-progress edit is erased when I'm logged out
Open, Needs TriagePublic

Description

Lately I have experienced rather short logged in sessions, and it seems like this also impacts backup of on-going edits. More often than not it seems like this backup is wiped when I try to reopen the page for editing.

My guess it is saved in the session, and not as a user preference, thus will be wiped when anything happens that forces the user to log in again.

I suspect the behavior can be traced back to T202028: CentralAuth fails when using "site isolation" in Google Chrome and Chromium or "first-party isolation" in Firefox

I don't have any cookbook on how to trigger the effect, but yes, I believe this feature to be broken.

Event Timeline

Jdforrester-WMF renamed this task from The saved version of on-going edit has very short time-to-live to VisualEditor's short-term local stash of an in-progress edit is erased when I'm logged out.Dec 20 2019, 3:01 PM
Jdforrester-WMF subscribed.

This is behaving as intended, yes. It's intentionally for "I lost my power"/"My browser crashed", not working around log-in bugs with your browser.

Well, I did lose the power and the session was lost.

Site isolation isn't a bug in the browser, it is an upcoming feature for several major browsers which breaks the WMF sites because they are misconfigured and relies on a dangerous practice.

Note that when the session is lost then VisualEditor sometimes get into a state where you can't save. Only solution seems to copy-paste content out of the page, log in again, start editing, and copy the content back in. You will then have to recreate references, etc.