Closed Bug 1661730 Opened 4 years ago Closed 4 years ago

Allow std::function to be specified as a native type in XPIDL

Categories

(Core :: XPCOM, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox81 --- fixed
firefox82 --- fixed

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

Attachments

(1 file)

No description provided.

std::function requires parenthesis to be supported in the type.

Attachment #9172732 - Attachment description: Bug 1661730. Allow std::function to be specified as a native type in XPIDL. r=emilio → Bug 1661730. Allow std::function to be specified as a native type in XPIDL. r=nika
Blocks: 1653340
Pushed by jwatt@jwatt.org:
https://hg.mozilla.org/integration/autoland/rev/1d7a63a52abe
Allow std::function to be specified as a native type in XPIDL. r=nika
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch

Comment on attachment 9172732 [details]
Bug 1661730. Allow std::function to be specified as a native type in XPIDL. r=nika

Beta/Release Uplift Approval Request

  • User impact if declined: We need this for the new FrameLoader.printPreview API (bug 1653340).
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Just expands the C++ types that the XPIDL parser will accept in XPIDL files.
  • String changes made/needed:
Attachment #9172732 - Flags: approval-mozilla-beta?

Comment on attachment 9172732 [details]
Bug 1661730. Allow std::function to be specified as a native type in XPIDL. r=nika

Approved for 81.0b5.

Attachment #9172732 - 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: