I happened to notice that the error handling wasn't that great, which I missed previously since there were no unit-tests for failure to load built-in CMap files. Hence this patch, which improves the error handling *and* adds tests.
brace-style
no-iterator
no-unused-vars
XMLHttpRequest
open
responseType
DOMCMapReaderFactory