Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[api-minor] Add more validation for the
cMapUrl
, `standardFontDataU…
…rl`, and `wasmUrl` parameters Given that we now have a few different factory-url parameters, we introduce a helper function for parsing them. *Please note:* These parameters have always been documented as requiring a trailing slash[1], which we can now easily enforce during the `getDocument`-call. --- [1] I recall that we've occasionally seen issues because users miss that detail, and the new Error should hopefully be more easily actionable than one thrown during rendering/parsing.
- Loading branch information