-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove combineUrl
from the test files
#7183
Comments
We still need to test the combineUrl function (e.g. keep it in util_spec) or remove that from our code. |
Good point. Now that I come to think of it, couldn't we remove it entirely since we have a polyfill for it (at Line 1692 in 68e8f5f
|
@brendandahl already wanted to remove that. Please notice that we shall properly handle |
Hi, This will be my first contribution, is it okay if I take this issue up and work on it? |
Sure, please read https://github.com/mozilla/pdf.js/wiki/Contributing |
Thank you.. |
there is a source file having reference to combineUrl - api.js in display. Should I replace that refernece too? Or only the test file references? |
Yes, you can replace that, remove tests and from util.js. |
Remove `combineUrl` and replace it with `new URL`. Issue #7183, for reference.
Take a look at https://github.com/mozilla/pdf.js/search?utf8=%E2%9C%93&q=combineUrl for where it is still used. We should replace it with the URL constructor as done in https://github.com/mozilla/pdf.js/pull/7178/files.
The text was updated successfully, but these errors were encountered: