Bug 1001157.  Assert that there is no exception pending on the JSContext afer a DOM call if the call was not marked as throwing or if it did not throw on the ErrorResult.  r=peterv