Bug 1315885 - Part 2: Avoid rethrowing exception in CustomElementCallback::Call. r=wchen

MozReview-Commit-ID: J6cUv2HJqE

--HG--
extra : rebase_source : c3868491497114ef9717ec976289a7c1268e5c7e
This commit is contained in:
John Dai 2017-07-10 16:22:13 +08:00
parent 47399ef481
commit 8da9589387

View File

@ -55,6 +55,10 @@ CustomElementCallback::Call()
mArgs.name, mArgs.oldValue, mArgs.newValue, rv);
break;
}
// If callbacks throw exceptions, it'll be handled and reported in
// Lifecycle*Callback::Call function.
rv.SuppressException();
}
void