mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Fix for bug 54079: don't crash when loading XUL into the composer content area. Simple null check a=akkana, sr=brendan. Landed on trunk and branch
This commit is contained in:
parent
e7f1eaafcb
commit
4c4c45722f
@ -691,7 +691,8 @@ nsJSContext::ExecuteScript(void* aScriptObject,
|
||||
{
|
||||
if (!mScriptsEnabled) {
|
||||
*aIsUndefined = PR_TRUE;
|
||||
aRetValue->Truncate();
|
||||
if (aRetValue)
|
||||
aRetValue->Truncate();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user