Report whether a thrown value is, or wraps, a platform storage-pressure
failure — the device refusing a write for lack of space.
Recognizes the QuotaExceededErrorDOMException every engine raises, the
Firefox NS_ERROR_DOM_QUOTA_REACHED name, and the legacy numeric
DOMException codes, then walks a bounded cause and AggregateError graph
so a store adapter that wrapped the failure is still classified correctly.
Bounded and cycle-safe: it inspects at most 32 nodes and visits none twice.
Exported because a host-supplied OfflineRegionStore must classify the same
condition the same way; without a shared predicate an adapter's wrapper would
silently downgrade a full device to an internal store failure.
Report whether a thrown value is, or wraps, a platform storage-pressure failure — the device refusing a write for lack of space.
Recognizes the
QuotaExceededErrorDOMExceptionevery engine raises, the FirefoxNS_ERROR_DOM_QUOTA_REACHEDname, and the legacy numericDOMExceptioncodes, then walks a boundedcauseandAggregateErrorgraph so a store adapter that wrapped the failure is still classified correctly. Bounded and cycle-safe: it inspects at most 32 nodes and visits none twice.Exported because a host-supplied
OfflineRegionStoremust classify the same condition the same way; without a shared predicate an adapter's wrapper would silently downgrade a full device to an internal store failure.