mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 07:47:32 +09:00
fix ubO pt.5
This commit is contained in:
parent
e134fea1ba
commit
ae54ac8e28
8 changed files with 63 additions and 6 deletions
|
|
@ -2323,11 +2323,16 @@ JSStructuredCloneReader::readHeader()
|
|||
return false;
|
||||
}
|
||||
|
||||
// Some older IndexedDB writers stored the compatibility marker in the
|
||||
// header. Read those records as durable cross-process data.
|
||||
if (storedScope == JS::StructuredCloneScope::DifferentProcessForIndexedDB) {
|
||||
storedScope = JS::StructuredCloneScope::DifferentProcess;
|
||||
}
|
||||
|
||||
if (allowedScope == JS::StructuredCloneScope::DifferentProcessForIndexedDB) {
|
||||
// Bug 1434308 and bug 1458320 - the scopes stored in old IndexedDB
|
||||
// clones are incorrect. Treat them as if they were DifferentProcess.
|
||||
allowedScope = JS::StructuredCloneScope::DifferentProcess;
|
||||
return true;
|
||||
}
|
||||
|
||||
if (storedScope < allowedScope) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue