Skip to content
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

Restore the URL.createObjectURL check to the createObjectURL utility function (issue 8344) #8346

Merged
merged 1 commit into from
Apr 27, 2017
Merged

Conversation

Snuffleupagus
Copy link
Collaborator

@Snuffleupagus Snuffleupagus commented Apr 27, 2017

This is a regression from commit 3888a99.

It turns out the even though we have a URL polyfill, it's still dependent on the existence of native URL.{createObjectURL, revokeObjectURL} functions.
Since no such thing exists in Node.js, our createObjectURL utility function breaks there.

Fixes #8344.

…ity function (issue 8344)

This is a regression from commit 3888a99.

It turns out the even though we have a `URL` polyfill, it's still dependent on the existence of native `URL.{createObjectURL, revokeObjectURL}` functions.
Since no such thing exists in Node.js, our `createObjectURL` utility function breaks there.
@yurydelendik
Copy link
Contributor

/botio test

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_test from @yurydelendik received. Current queue size: 0

Live output at: http://107.21.233.14:8877/1de3dabe874936b/output.txt

@yurydelendik
Copy link
Contributor

/botio-windows test

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_test from @yurydelendik received. Current queue size: 0

Live output at: http://54.215.176.217:8877/bacb632dd3cdb02/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

Full output at http://54.215.176.217:8877/bacb632dd3cdb02/output.txt

Total script time: 24.03 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: FAILED

Image differences available at: http://54.215.176.217:8877/bacb632dd3cdb02/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

From: Bot.io (Linux)


Failed

Full output at http://107.21.233.14:8877/1de3dabe874936b/output.txt

Total script time: 33.91 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: FAILED

Image differences available at: http://107.21.233.14:8877/1de3dabe874936b/reftest-analyzer.html#web=eq.log

@yurydelendik yurydelendik merged commit 7fd2084 into mozilla:master Apr 27, 2017
@yurydelendik
Copy link
Contributor

Thank you for the patch.

@Snuffleupagus Snuffleupagus deleted the issue-8344 branch April 27, 2017 20:45
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
Restore the `URL.createObjectURL` check to the `createObjectURL` utility function (issue 8344)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants