Bug 1090776 - Prevent DataCloneError. r=hsinyi, a=2.0m+