mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 17:59:34 +00:00
Bug 518924. Fix memory leak in NPAPI async callback test and re-enable
This commit is contained in:
parent
4119a09041
commit
73c5de5dd1
@ -70,10 +70,10 @@ _MOCHITEST_FILES = \
|
||||
test_streamNotify.html \
|
||||
test_instantiation.html \
|
||||
test_cookies.html \
|
||||
test_npn_timers.html \
|
||||
test_npn_asynccall.html \
|
||||
$(NULL)
|
||||
|
||||
# test_npn_timers.html \ disabled for leaking
|
||||
# test_npn_asynccall.html \ disabled for leaking
|
||||
# test_npruntime_npnsetexception.html \ Disabled for e10s
|
||||
|
||||
ifdef MOZ_IPC
|
||||
|
@ -2425,6 +2425,7 @@ asyncCallback(void* cookie)
|
||||
BOOLEAN_TO_NPVARIANT(id->asyncCallbackResult, arg);
|
||||
NPN_Invoke(npp, windowObject, NPN_GetStringIdentifier(id->asyncTestScriptCallback.c_str()), &arg, 1, &rval);
|
||||
NPN_ReleaseVariantValue(&arg);
|
||||
NPN_ReleaseObject(windowObject);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user