Closed
Bug 1727497
Opened 3 years ago
Closed 3 years ago
Add MOZ_ALWAYS_SUCCEEDS to all message dispatches that unblock shutdown
Categories
(Core :: Storage: Cache API, task)
Core
Storage: Cache API
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox94 | --- | fixed |
People
(Reporter: jstutte, Assigned: hxu)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
(deleted),
text/x-phabricator-request
|
Details | |
Bug 1727497 - Return Dispatch result from NS_ProxyRelease; r=#dom-storage-reviewers,#xpcom-reviewers
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details |
Investigation started at bug 1588498 comment 19.
Starting from CacheQuotaClient::InitiateShutdown()
we need to identify all potential message dispatches during shutdown which are needed to unblock but that might silently fail.
Examples of unsafe dispatches:
Examples of safeguarded dispatches:
Reporter | ||
Updated•3 years ago
|
Summary: Add MOZ_ALWAYS_SUCCESS/MOZ_DIAGNOSTIC_ASSERT to all message dispatches that unblock shutdown → Add MOZ_ALWAYS_SUCCEEDS/MOZ_DIAGNOSTIC_ASSERT to all message dispatches that unblock shutdown
Assignee | ||
Updated•3 years ago
|
Assignee: nobody → hxu
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D124454
Assignee | ||
Updated•3 years ago
|
Keywords: leave-open
Updated•3 years ago
|
Attachment #9239352 -
Attachment description: Bug 1727497 - Add MOZ_ALWAYS_SUCCEEDS in ReadStream::Inner::CloseStream() when calling Close(); r=#dom-storage → Bug 1727497 - Add MOZ_ALWAYS_SUCCEEDS in ReadStream::Inner::CloseStream() and Context::ThreadsafeHandle::~ThreadsafeHandle(); r=#dom-storage,#xpcom-reviewers
Updated•3 years ago
|
Attachment #9239352 -
Attachment description: Bug 1727497 - Add MOZ_ALWAYS_SUCCEEDS in ReadStream::Inner::CloseStream() and Context::ThreadsafeHandle::~ThreadsafeHandle(); r=#dom-storage,#xpcom-reviewers → Bug 1727497 - Returning dispatch result from NS_ProxyRelease; r=#dom-storage,#xpcom-reviewers!
Updated•3 years ago
|
Attachment #9239351 -
Attachment description: Bug 1727497 - Add MOZ_DIAGNOSTIC_ASSERT in CacheStreamControlParent::CloseAll() and Context::ThreadsafeHandle::~ThreadsafeHandle(); r=#dom-storage → Bug 1727497 - Add MOZ_DIAGNOSTIC_ASSERT in CacheStreamControlParent::CloseAll(); r=#dom-storage
Pushed by jstutte@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dcea64592be7
Add MOZ_DIAGNOSTIC_ASSERT in CacheStreamControlParent::CloseAll(); r=dom-storage-reviewers,jstutte
Updated•3 years ago
|
Attachment #9239352 -
Attachment description: Bug 1727497 - Returning dispatch result from NS_ProxyRelease; r=#dom-storage,#xpcom-reviewers! → Bug 1727497 - Return Dispatch result from NS_ProxyRelease; r=#dom-storage-reviewers,#xpcom-reviewers
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D124455
Comment 5•3 years ago
|
||
bugherder |
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2fca70f014e0
Return Dispatch result from NS_ProxyRelease; r=dom-storage-reviewers,xpcom-reviewers,nika,janv
Comment 7•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Summary: Add MOZ_ALWAYS_SUCCEEDS/MOZ_DIAGNOSTIC_ASSERT to all message dispatches that unblock shutdown → Add MOZ_ALWAYS_SUCCEEDS to all message dispatches that unblock shutdown
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6c30f7d0aa9b
Add MOZ_ALWAYS_SUCCEEDS when calling dispatch functions during dom/cache shutdown; r=dom-storage-reviewers,janv
Assignee | ||
Comment 9•3 years ago
|
||
Comment 10•3 years ago
|
||
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b93ff7be64e7
Revert the usage of MOZ_DIAGNOSTIC_ASSERT in CacheStreamControlParent::CloseAll(); r=dom-storage-reviewers,janv
Assignee | ||
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Keywords: leave-open
Comment 11•3 years ago
|
||
bugherder |
Updated•3 years ago
|
status-firefox94:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•