The buld bustage only appears with some options being disabled in the mozconfig. Likely, nsRefreshDriver.h is included by another hedear that isn't included when an option is disabled.
Note: This adds STACK_ARENA_ to the beginning of the names of a few macros.