Repository navigation
Add a no-op helper function for catch handlers that ignore errors - #22511
Conversation
Reference testsResults for 30c5523 (run, references from mozilla/pdf.js.refs@70a2e10bb1).
The report is kept for 30 days and replaced by the next run. |
Viewer preview🗑️ Viewer previews removed. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #22511 +/- ##
=======================================
Coverage 90.56% 90.57%
=======================================
Files 276 276
Lines 68676 68676
=======================================
+ Hits 62196 62200 +4
+ Misses 6480 6476 -4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
2f81e5f to
555c901
Compare
Merging this PR will degrade performance by 3.38%1 warning
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
nicolo-ribaudo
left a comment
There was a problem hiding this comment.
Currently there's a fair number of `catch` handlers that just suppress "uncaught exceptions", and rather than creating potentially a lot of inline functions we can re-use just a single helper instead. Note that such a function already existed, in the `src/shared/message_handler.js` file, hence that one is simply moved and re-named.
555c901 to
30c5523
Compare
Currently there's a fair number of
catchhandlers that just suppress "uncaught exceptions", and rather than creating potentially a lot of inline functions we can re-use just a single helper instead.Note that such a function already existed, in the
src/shared/message_handler.jsfile, hence that one is simply moved and re-named.