Closed Bug 1510265 Opened Last year Closed Last year

MozPromise::CreateAndResolve/Reject bypasses |explicit| keyword

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: jya, Assigned: jya)

References

Details

Attachments

(2 files)

Similar to bug 1504643
but this time for MozPromise::CreateAndResolve / CreateAndReject
And some required fixes to make things compile.
It's not needed, and only makes code harder to follow.

Depends on D13868
Assignee: nobody → jyavenard
Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0de0365e049f
P1. Enforce template-parameter classes restrictions in MozPromise. r=gerald
https://hg.mozilla.org/integration/autoland/rev/25db74150dbf
P2. Don't use AllPromiseType in GMPServiceParent. r=gerald
https://hg.mozilla.org/mozilla-central/rev/0de0365e049f
https://hg.mozilla.org/mozilla-central/rev/25db74150dbf
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.