gecko/js/jetpack/tests/unit/impl_rooting.js

6 lines
164 B
JavaScript

registerReceiver("ReceiveGCHandle", function(name, handle) {
handle.onInvalidate = function() {
sendMessage("onInvalidateReceived", handle.isValid);
};
});