Fix Profiles with OPFS entries that already upgraded from <=115 to 116
Categories
(Core :: DOM: File, defect, P1)
Tracking
()
People
(Reporter: diannaS, Assigned: janv)
References
Details
Attachments
(2 files)
|
Bug 1847989 - Fix Profiles with OPFS entries that already upgraded from <=115 to 116; r=#dom-storage
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
diannaS
:
approval-mozilla-release+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
diannaS
:
approval-mozilla-release+
|
Details | Review |
In bug 1847619 we will be correcting an issue that occurs when Firefox users of Adobe Photoshop online upgrade from <=Fx115 to 116(the bug prevented them from accessing old or creating new files).
This ticket is to address the profiles that were already affected.
Comment 1•1 year ago
|
||
Assigning to Jan, since he's best situated to do this
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
Should we mark bug 1847619 as dup of this? (Dianna says no)
QA test steps
Prerequisites
- Install mozregression by
pip install mozregression - Get an Adobe subscription
Getting 115 profile
- Run
mozregression --repo mozilla-release --launch 115.0.3 --arg https://creativecloud.adobe.com/photoshop --profile-persistence reuse --profile (profiledir)(set your own profile folder in--profile) - Sign in to Photoshop https://creativecloud.adobe.com/photoshop
- Create a document
- Select some example task, in my case I selected "Make BW background"
- Select some example photo, in my case I selected "jumping man"
- Remember not to edit this photo, just in case doing so changes the behavior
- Create another document by repeating the previous step, this time to edit freely
- Close Firefox
- Backup the profile
Getting 116 profile, a broken one
- Prepare 115 profile from the backup
- Run
mozregression --repo mozilla-release --launch 116.0.1 --arg https://creativecloud.adobe.com/photoshop --profile-persistence reuse --profile (profiledir)(use the directory of the previous step) - Open all documents created during 115 profile preparation
- Open devtools and see whether it says 'worker sent an error' or 'Could not open "jumping-man"', while the loading indicator in the webpage never finishes
- Close Firefox after confirming the message on each tab
- Backup the profile
Testing
Repeat the following with your backed up 115 and 116 profile.
- Run
firefox --profile (profiledir) https://creativecloud.adobe.com/photoshopwith your build including the fix - Open all documents created during 115
- Confirm the load completes and you can click brush button on the left
- Try drawing by the brush on the edit-free photo and saving it by Control+S or equivalent
- Try reloading and confirm the load still completes
- Try closing Firefox and reload and confirm it still completes
- Try clearing data from
adobe.comin "Cookies and Site Data"➡️"Manage Data..." inabout:preferences#privacyand reload and confirm it still completes
Comment 6•1 year ago
|
||
Comment on attachment 9348496 [details]
Bug 1847989 - Fix Profiles with OPFS entries that already upgraded from <=115 to 116; r=#dom-storage
Beta/Release Uplift Approval Request
- User impact if declined: OPFS users (especially Photoshop) will continue to be broken if they access an image cached locally in 115.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: See bug
Engineers have tested local builds. Adobe has been sent Try builds to test. - List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Worst case would be it's still broken but in a different way, or not fixing everyone. Clear Site Data should resolve things in all cases. It's not a one-liner patch, but the problem is well-understood, and JanV answered my questions in detail about what the patch does, why, what happens that causes the DB corruption and attempts to use the corrupted DB.
Analysis of the bug is that this patch is unlikely to cause problems or dataloss for non-Adobe users (and they're likely broken now too, if they had OPFS data in 115)
Android is affected, but photoshop doesn't work (well?) on android. Other OPFS users will, though.
We do not have good automated tests for upgrades, so this will rely on manual testing. We can file followups for better general DB upgrade tests in the future. - String changes made/needed: none
- Is Android affected?: Yes
Updated•1 year ago
|
| Reporter | ||
Comment 7•1 year ago
|
||
Comment on attachment 9348496 [details]
Bug 1847989 - Fix Profiles with OPFS entries that already upgraded from <=115 to 116; r=#dom-storage
Approved for 116.0.3 dot release
| Reporter | ||
Updated•1 year ago
|
Comment 10•1 year ago
|
||
Comment on attachment 9348496 [details]
Bug 1847989 - Fix Profiles with OPFS entries that already upgraded from <=115 to 116; r=#dom-storage
Approved for 117.0b7
Updated•1 year ago
|
Comment 11•1 year ago
|
||
| bugherder | ||
Updated•1 year ago
|
| Assignee | ||
Comment 12•1 year ago
|
||
It seems an additional fix is needed.
| Assignee | ||
Comment 13•1 year ago
|
||
Comment 14•1 year ago
|
||
Comment 15•1 year ago
|
||
| bugherder | ||
Comment 16•1 year ago
|
||
Verified fixed on latest Nightly
Name Firefox
Version 118.0a1
Build ID 20230815091726
Comment 17•1 year ago
|
||
| uplift | ||
| Reporter | ||
Comment 18•1 year ago
|
||
Comment on attachment 9348915 [details]
Bug 1847989 - Clear only invalid file ids and invalid main files during the additional upgrade for version 2; r=#dom-storage
Approved for 117.0b8
Approved for dot release 116.0.3 build 2
Comment 19•1 year ago
|
||
| uplift | ||
| Reporter | ||
Updated•1 year ago
|
Comment 20•1 year ago
|
||
I also verified that this is now fixed on both Firefox 116.0.3-build2 and Firefox 117.0b8 across platforms (Windows 10, macOS 13 and Ubuntu 18.04). No extra issues found while testing.
Comment 21•1 year ago
|
||
Please be aware that we need to fix also bug 1848916 to have a complete solution.
Description
•