Closed Bug 1740902 Opened 3 years ago Closed 2 years ago

Remove obsolete dom.storage.abort_on_sync_parent_to_child_messages preference and logic

Categories

(Core :: Storage: localStorage & sessionStorage, task)

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: jstutte, Assigned: hsingh)

References

Details

Attachments

(2 files, 1 obsolete file)

dom.storage.abort_on_sync_parent_to_child_messages is not needed anymore and always false.

See Also: → 1740889

This is basically like reverting this commit, right?

I don't find any other occurrences of that preference key: https://searchfox.org/mozilla-central/search?q=abort_on_sync_parent_to_child_messages&path=

Assignee: nobody → hsingh
Status: NEW → ASSIGNED
Attachment #9273188 - Attachment description: Bug 1740902: Backed out changeset 0303ad759e46 and removed obsolete code. r=#dom-storage-reviewers,janv → Bug 1740902: Remove obsolete dom.storage.abort_on_sync_parent_to_child_messages preference and related logic. r=#dom-storage-reviewers,janv

(In reply to Joaquín Serna from comment #1)

This is basically like reverting this commit, right?

I don't find any other occurrences of that preference key: https://searchfox.org/mozilla-central/search?q=abort_on_sync_parent_to_child_messages&path=

Sorry for late reply ...
Yes, that commit, but there were other commits prior to that which needed to be reverted as well.

Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ebef18795af8
Remove obsolete dom.storage.abort_on_sync_parent_to_child_messages preference and related logic. r=janv,dom-storage-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch

Backed out changeset ebef18795af8 (Bug 1740902) for frequent crash (Bug 1768691) CLOSED TREE
Backout link: https://hg.mozilla.org/integration/autoland/rev/a8c76fab6c0dd73628fc4b2a578ed81ebe808a88

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 102 Branch → ---

We don't abort the event loop spinning before the request is actually finished
because that would cause races between the current thread and DOM File thread.
Instead, we send the cancel message to the parent and wait for the request to
finish like in the normal case when the request is successfully finished on
time. OnResponse is called as the final step in both cases.

Attachment #9276320 - Attachment is obsolete: true
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0490bf75e06c
Remove obsolete dom.storage.abort_on_sync_parent_to_child_messages preference and related logic. r=janv,dom-storage-reviewers
https://hg.mozilla.org/integration/autoland/rev/0408e5bc277d
Don't abort the event loop spinning before the request is actually finished; r=hsingh
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: