Closed Bug 1143511 Opened 6 years ago Closed 6 years ago
Correct the usages of .catch() in DOM cache tests
These tests used .catch() incorrectly, in a way that did not actually guarantee that the promise is rejected, so in 3 cases the promise resolved to known failure values (undefined or an empty array) and this was not being caught as a test failure. This patch fixes those three places, and also rewrites the .catch() usage in another case to guarantee that the promise is indeed rejected.
Attachment #8577804 - Flags: review?(bkelly) → review+
You need to log in before you can comment on or make changes to this bug.