Firefox-JS: Crashfix (bad throw). Invalidated objects are now reported to client script as INVALID_VALUE.