Bug 1110268 - avoid crashing in canvas code when failing to allocate a frame. r=Bas.
Bug 1109922 - Check for Intl before testing it; r=test-fix

--HG--
extra : rebase_source : 84d074b0e073d5ea3b1d0c949dd593de73e26217