Closed Bug 1797163 Opened 2 years ago Closed 1 year ago

handle IAsyncOperations better in windows package manager

Categories

(Firefox :: Shell Integration, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox108 --- fixed
firefox109 --- fixed

People

(Reporter: bhearsum, Assigned: bhearsum)

References

Details

(Whiteboard: [fidedi-ope])

Attachments

(1 file)

Currently, we're basically spinlocking constantly checking the status of the operation waiting for it to complete. nrishel found some docs that provide an example of how to use a callback instead, which we ought to do.

I was able to verify that the callback code runs and completes sucessfully, but I've been able build a version of Nightly that I can upload to the Store to fully verify that campaign IDs are still retrieved. My intention is to verify this in Beta (where we have "published" but non-public builds, and backout or adjust if any follow-up is needed.

Attachment #9300617 - Attachment description: Bug 1797163: handle IAsyncOperations with callbacks instead of spinlocking r?nrishel! → Bug 1797163: handle IAsyncOperations with callbacks and events instead of spinlocking r?nrishel!
Pushed by bhearsum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e1e7e5337313
handle IAsyncOperations with callbacks and events instead of spinlocking r=nrishel
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch

Comment on attachment 9300617 [details]
Bug 1797163: handle IAsyncOperations with callbacks and events instead of spinlocking r?nrishel!

Beta/Release Uplift Approval Request

  • User impact if declined: Some MSIX users will crash or experience hangs -- this is the #1 crasher & hang for Store builds at the moment.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce: (Not possible to test in Nightly)
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Only affects MSIX builds; has been verified by hand by me.
  • String changes made/needed:
  • Is Android affected?: No
Attachment #9300617 - Flags: approval-mozilla-beta?

Comment on attachment 9300617 [details]
Bug 1797163: handle IAsyncOperations with callbacks and events instead of spinlocking r?nrishel!

Approved for 108.0b6

Attachment #9300617 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: