Update Gaia API documents for #f0b9500b2c7305c878ec7778b8427da8558bae70
    bug 952707

* Ensure error-message is visible and has been set before testing for presence of message.

r=gaye