Bug 687486 - Throw INVALID_STATE_ERR when dispatching uninitialized events; r=smaug

This commit is contained in:
Ms2ger
2011-10-09 20:23:13 +02:00
parent fd3b61e4a2
commit 08ce099174
12 changed files with 4 additions and 86 deletions

View File

@@ -398,8 +398,6 @@ nsDOMExceptionProvider::GetException(nsresult result,
return NS_NewFileException(result, aDefaultException, _retval);
case NS_ERROR_MODULE_DOM_INDEXEDDB:
return NS_NewIDBDatabaseException(result, aDefaultException, _retval);
case NS_ERROR_MODULE_DOM_EVENTS:
return NS_NewEventException(result, aDefaultException, _retval);
default:
return NS_NewDOMException(result, aDefaultException, _retval);
}