I just landed bug 1230034, and frame properties are now typed. The
direct benefit is that you no longer need to cast the value returned
The work to clean up remaining unneeded casts is tracked in bug 1243559.
For new frame properties:
The original macro NS_DECLARE_FRAME_PROPERTY is now replaced by
several new macros, in which the followings are expected to be used
You may also want to use the followings in some places:
The name of NS_DECLARE_FRAME_PROPERTY_WITH_FRAME_IN_DTOR is unchanged,
but it has one additional parameter for the type it holds.