Closed Bug 1221151 Opened 4 years ago Closed 4 years ago

use [infallible] in nsILoadInfo.idl instead of manual %{C++ blocks

Categories

(Core :: Networking, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

Using [infallible] generates the exact same code as we already have in
the %{C++ blocks.  Let's get rid of the %{C++ blocks.
Sadly, we can't use [infallible] for all of the attributes, because
[infallible] currently only works on builtin types, not on typedefs.  Maybe in
a future patch...
Attachment #8682542 - Flags: review?(jduell.mcbugs)
Attachment #8682542 - Flags: review?(jduell.mcbugs) → review+
https://hg.mozilla.org/mozilla-central/rev/dbf226c8887a
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.