mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-02-08 00:21:11 +01:00
- Use a `URL`-instance directly, since it's by definition an absolute URL. - Actually limit the "raw" url-string handling to Node.js environments, as intended. - Skip the warning, since we're already throwing an Error if the `url`-parameter is invalid.