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

Revert "Attempt to combine separate beginText/endText sequences in getTextContent (issue 9984)" #10041

Merged
merged 1 commit into from
Sep 5, 2018

Conversation

Snuffleupagus
Copy link
Collaborator

@Snuffleupagus Snuffleupagus commented Sep 5, 2018

Reverts #9986 for causing Mochitest failures, please refer to https://bugzilla.mozilla.org/show_bug.cgi?id=1488420#c2 and the following discussion.

/cc @timvandermeij
/cc @rvandermeulen

@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Sep 5, 2018

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/fdc624c6b20cd8f/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Sep 5, 2018

From: Bot.io (Windows)


Received

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

Live output at: http://54.215.176.217:8877/2a82194d65f7640/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Sep 5, 2018

From: Bot.io (Windows)


Failed

Full output at http://54.215.176.217:8877/2a82194d65f7640/output.txt

Total script time: 24.41 mins

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

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

@pdfjsbot
Copy link

pdfjsbot commented Sep 5, 2018

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/fdc624c6b20cd8f/output.txt

Total script time: 35.77 mins

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

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

@timvandermeij
Copy link
Contributor

I'll create an issue to look into why this is failing upstream, since I would like this functionality back, but I agree it's best to back it out for now so we can upstream.

/botio makeref

@pdfjsbot
Copy link

pdfjsbot commented Sep 5, 2018

From: Bot.io (Windows)


Received

Command cmd_makeref from @timvandermeij received. Current queue size: 0

Live output at: http://54.215.176.217:8877/162453ae271b3d2/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Sep 5, 2018

From: Bot.io (Linux m4)


Received

Command cmd_makeref from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/3ca8d2c15af9dc4/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Sep 5, 2018

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/162453ae271b3d2/output.txt

Total script time: 22.26 mins

  • Lint: Passed
  • Make references: Passed
  • Check references: Passed

@pdfjsbot
Copy link

pdfjsbot commented Sep 5, 2018

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/3ca8d2c15af9dc4/output.txt

Total script time: 33.45 mins

  • Lint: Passed
  • Make references: Passed
  • Check references: Passed

@timvandermeij timvandermeij merged commit d692737 into mozilla:master Sep 5, 2018
@@ -1546,7 +1535,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
task.ensureNotTerminated();
timeSlotManager.reset();
var stop, operation = {}, args = [];
let pendingBeginText = false;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Please note: This is actually a bug in the original PR, since this line should be placed e.g. just after https://github.com/mozilla/pdf.js/pull/10041/files#diff-0b94c2e77a5259f7a728122fdbf9f46aL1533 instead to ensure that pendingBeginText may never be accidentally reset.

@Snuffleupagus Snuffleupagus deleted the revert-9986-issue-9984 branch September 6, 2018 01:08
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.

3 participants