won't that make onsuccess handlers fail with javascript errors ?

what about `request.onsuccess = request.onerror = null` instead ?