Avoid errors in processing preloaded cursor entries to cause an overall error
Categories
(Core :: Storage: IndexedDB, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox70 | --- | unaffected |
firefox71 | --- | unaffected |
firefox72 | --- | fixed |
People
(Reporter: sg, Assigned: sg)
References
(Regression)
Details
(Keywords: regression)
Attachments
(7 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
By https://searchfox.org/mozilla-central/rev/cac340f10816707e91c46db6d285f80259420f07/dom/indexedDB/ActorsParent.cpp#25950, we may fail when processing preloaded entries, causing an error which would not be present when processing the original entry only. This should be avoided to ensure that preloading is completely transparent.
Comment 1•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Assertions on the type of an IPDL-defined union before accessing it are redundant,
since the generated accessors already contain a MOZ_RELEASE_ASSERT for checking
the type. Redundant assertions unnecessarily clutter the code, so they are removed.
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D53797
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D53798
Assignee | ||
Comment 5•5 years ago
|
||
Depends on D53799
Assignee | ||
Comment 6•5 years ago
|
||
Depends on D53800
Assignee | ||
Comment 7•5 years ago
|
||
Depends on D53801
Assignee | ||
Comment 8•5 years ago
|
||
Depends on D53802
Pushed by sgiesecke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8d10108fdd91 Removed redundant assertions. r=dom-workers-and-storage-reviewers,ytausky
Comment 10•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 11•5 years ago
|
||
What's the plan to fix this regression in 72, considering these patches aren't ready and we're basically at the end of 72 nightly?
Assignee | ||
Comment 12•5 years ago
|
||
(In reply to Julien Cristau [:jcristau] from comment #11)
What's the plan to fix this regression in 72, considering these patches aren't ready and we're basically at the end of 72 nightly?
I am trying to get the patches reviewed this week. If no significant changes are necessary, I can land them by the end of the week.
Comment 13•5 years ago
|
||
Pushed by bugmail@asutherland.org: https://hg.mozilla.org/integration/autoland/rev/a3a4f25c761a Removed code duplication between response type cases. r=dom-workers-and-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/124c6ad47ae6 Pull up SendSuccessResult to CursorOpBase to remove code duplication. r=dom-workers-and-storage-reviewers,edenchuang,asuth https://hg.mozilla.org/integration/autoland/rev/d9f063b6ae43 Added const where easily possible. r=dom-workers-and-storage-reviewers,perry https://hg.mozilla.org/integration/autoland/rev/a94d9e2ef3b0 Remove cursor positions from Cursor state. r=dom-workers-and-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/fcb930bb061e Remove duplication between OpenOp::Do*DatabaseWork functions. r=dom-workers-and-storage-reviewers,ytausky https://hg.mozilla.org/integration/autoland/rev/13e47a0fe213 Do not fail cursor operation when processing preloaded entries. r=dom-workers-and-storage-reviewers,asuth
Comment 14•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a3a4f25c761a
https://hg.mozilla.org/mozilla-central/rev/124c6ad47ae6
https://hg.mozilla.org/mozilla-central/rev/d9f063b6ae43
https://hg.mozilla.org/mozilla-central/rev/a94d9e2ef3b0
https://hg.mozilla.org/mozilla-central/rev/fcb930bb061e
https://hg.mozilla.org/mozilla-central/rev/13e47a0fe213
Updated•2 years ago
|
Description
•