Closed
Bug 1613340
Opened 4 years ago
Closed 4 years ago
Remove const_cast from IndexedDB
Categories
(Core :: Storage: IndexedDB, task, P3)
Core
Storage: IndexedDB
Tracking
()
RESOLVED
FIXED
mozilla75
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: sg, Assigned: sg)
References
(Blocks 1 open bug)
Details
Attachments
(5 files)
const_cast
bears the danger of undefined behaviour. This should be removed from IndexedDB code where possible. Several of the uses const_cast
are related to IPDL generated methods, which can be de-virtualized now.
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → sgiesecke
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D61668
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D61669
Assignee | ||
Comment 4•4 years ago
|
||
Assignee | ||
Comment 5•4 years ago
|
||
Depends on D61671
Updated•4 years ago
|
Priority: -- → P3
Pushed by sgiesecke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/54432e819f8f Remove const_cast relating to DatabaseSpec. r=dom-workers-and-storage-reviewers,edenchuang https://hg.mozilla.org/integration/autoland/rev/e77b18fdf915 Remove const_cast relating to ObjectStoreSpec. r=dom-workers-and-storage-reviewers,edenchuang https://hg.mozilla.org/integration/autoland/rev/01235f908545 Remove const_cast relating to StructuredCloneReadInfo. r=dom-workers-and-storage-reviewers,edenchuang https://hg.mozilla.org/integration/autoland/rev/193b829f4c0e Remove const_cast relating to SerializedStructuredCloneReadInfo. r=jld,dom-workers-and-storage-reviewers,edenchuang https://hg.mozilla.org/integration/autoland/rev/a1d04bf539f1 Remove const_cast relating to CursorResponse. r=jld,dom-workers-and-storage-reviewers,edenchuang
Comment 7•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/54432e819f8f
https://hg.mozilla.org/mozilla-central/rev/e77b18fdf915
https://hg.mozilla.org/mozilla-central/rev/01235f908545
https://hg.mozilla.org/mozilla-central/rev/193b829f4c0e
https://hg.mozilla.org/mozilla-central/rev/a1d04bf539f1
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox75:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in
before you can comment on or make changes to this bug.
Description
•