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

Added try/catch #5427 #5448

Merged
merged 1 commit into from
Dec 8, 2014
Merged

Added try/catch #5427 #5448

merged 1 commit into from
Dec 8, 2014

Conversation

thejdeep
Copy link
Contributor

No description provided.

pendingRequest.mozChunked = true;
} else {
xhr.responseType = 'arraybuffer';
// Some legacy broswers might throw an exception
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling nit: browsers. Also please end sentences with a period.

@Snuffleupagus
Copy link
Collaborator

Also, please update the commit message to something a bit more descriptive and please squash the commits once you have addressed the review comments.

@thejdeep thejdeep force-pushed the androidfix branch 2 times, most recently from c0ab658 to f4bb1af Compare October 27, 2014 15:40
if (xhr.responseType === 'moz-chunked-arraybuffer') {
pendingRequest.onProgressiveData = args.onProgressiveData;
pendingRequest.mozChunked = true;
} else {
xhr.responseType = 'arraybuffer';
xhr.responseType = 'arraybuffer';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last nit: the indentation is incorrect here, please revert this change.

Fix for pdf on android not visible

Fix for pdf on android not visible
@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://107.22.172.223:8877/9d8f9b1e61ef2f7/output.txt

@yurydelendik
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

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

Live output at: http://107.21.233.14:8877/7dd536126776148/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://107.22.172.223:8877/9d8f9b1e61ef2f7/output.txt

Total script time: 18.09 mins

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

@timvandermeij
Copy link
Contributor

@yurydelendik Is this good to go?

@yurydelendik
Copy link
Contributor

Yes. Thank you for the patch.

yurydelendik added a commit that referenced this pull request Dec 8, 2014
@yurydelendik yurydelendik merged commit 7f24b1d into mozilla:master Dec 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants