Bug 374334 - Uncaught exception with cloneNode method and frameset element. Patch by Alex Vincent <ajvincent@gmail.com>. r=jst,sr=jst
git-svn-id: svn://10.0.0.236/trunk@229403 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1671,7 +1671,7 @@ nsJSContext::CompileEventHandler(nsIAtom *aName,
|
||||
aURL, aLineNo);
|
||||
|
||||
if (!fun) {
|
||||
return NS_ERROR_FAILURE;
|
||||
return NS_ERROR_ILLEGAL_VALUE;
|
||||
}
|
||||
|
||||
JSObject *handler = ::JS_GetFunctionObject(fun);
|
||||
|
||||
Reference in New Issue
Block a user