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

Interactive forms: set the buttonValue for radio buttons that do not have a fieldValue #8041

Merged
merged 2 commits into from
Feb 7, 2017

Conversation

timvandermeij
Copy link
Contributor

@timvandermeij timvandermeij commented Feb 7, 2017

Previously, we skipped setting the buttonValue if the fieldValue is not available, due to an early return. Obviously the button still has a value even if the field doesn't, so I'm not sure how I missed that before, but this patch fixes it and adds a unit test for it (that fails when this patch is not applied and passes if it is applied).

Supersedes #8031.

@timvandermeij
Copy link
Contributor Author

/botio-linux preview

@pdfjsbot
Copy link

pdfjsbot commented Feb 7, 2017

From: Bot.io (Linux)


Received

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

Live output at: http://107.21.233.14:8877/e83366fa3a32027/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Feb 7, 2017

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/e83366fa3a32027/output.txt

Total script time: 2.11 mins

Published

@timvandermeij
Copy link
Contributor Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Feb 7, 2017

From: Bot.io (Windows)


Received

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

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

@timvandermeij
Copy link
Contributor Author

/botio-linux test

@pdfjsbot
Copy link

pdfjsbot commented Feb 7, 2017

From: Bot.io (Linux)


Received

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

Live output at: http://107.21.233.14:8877/26e9470affa0be1/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Feb 7, 2017

From: Bot.io (Windows)


Success

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

Total script time: 22.09 mins

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

@pdfjsbot
Copy link

pdfjsbot commented Feb 7, 2017

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/26e9470affa0be1/output.txt

Total script time: 26.94 mins

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

@timvandermeij timvandermeij merged commit 35102c0 into mozilla:master Feb 7, 2017
@timvandermeij timvandermeij deleted the radio-button-value branch February 7, 2017 23:35
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
Interactive forms: set the `buttonValue` for radio buttons that do not have a `fieldValue`
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.

2 participants