yomichan/test
toasted-nutbread 5b96559df8
Error logging refactoring (#454)
* Create new logging methods on yomichan object

* Use new yomichan.logError instead of global logError

* Remove old logError

* Handle unhandledrejection events

* Add addEventListener stub

* Update log function

* Update error conversion to support more types

* Add log event

* Add API log function

* Log errors to the backend

* Make error/warning logs update the badge

* Clear log error indicator on extension button click

* Log correct URL on the background page

* Fix incorrect error conversion

* Remove unhandledrejection handling

Firefox doesn't support it properly.

* Remove unused argument type from log function

* Improve function name

* Change console.warn to yomichan.logWarning

* Move log forwarding initialization into main scripts
2020-04-26 16:55:25 -04:00
..
data Add tests 2020-04-18 21:33:14 -04:00
lint Add simple check to see if globals are unused 2020-04-10 18:45:16 -04:00
dictionary-validate.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
schema-validate.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
test-database.js Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
test-dictionary.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
test-document.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
test-japanese.js Update tests 2020-04-22 21:37:28 -04:00
test-object-property-accessor.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
test-schema.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
test-text-source-map.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
yomichan-test.js Change some test variables using 'source' instead of 'content' 2020-04-19 10:57:33 -04:00
yomichan-vm.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00