Skip to content

JS -- Fix events dispatchment and add tests #12569

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

Merged
merged 1 commit into from
Nov 16, 2020

Conversation

calixteman
Copy link
Contributor

  • dispatch event to take into account calculation order
  • use a map for actions in Field

@calixteman calixteman force-pushed the events branch 2 times, most recently from 9833325 to 6498357 Compare November 6, 2020 19:10
@brendandahl
Copy link
Contributor

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Nov 6, 2020

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/722bd9da4859af4/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Nov 6, 2020

From: Bot.io (Windows)


Received

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

Live output at: http://3.101.106.178:8877/240922577f6d7a2/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Nov 6, 2020

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/722bd9da4859af4/output.txt

Total script time: 24.98 mins

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

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

@pdfjsbot
Copy link

pdfjsbot commented Nov 6, 2020

From: Bot.io (Windows)


Failed

Full output at http://3.101.106.178:8877/240922577f6d7a2/output.txt

Total script time: 28.01 mins

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

Image differences available at: http://3.101.106.178:8877/240922577f6d7a2/reftest-analyzer.html#web=eq.log

return actionsMap;
}

_isButton() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this going to be used more in the future? I only see this one return false; and one call to it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes especially for radio buttons.

return target.obj._runActions(event);
}

calculateNow() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

 * dispatch event to take into account calculation order
 * use a map for actions in Field
@brendandahl
Copy link
Contributor

/botio test

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/94d245a9b370169/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://3.101.106.178:8877/032d7858e5bf4ca/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/94d245a9b370169/output.txt

Total script time: 26.20 mins

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

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

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

Full output at http://3.101.106.178:8877/032d7858e5bf4ca/output.txt

Total script time: 28.69 mins

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

Image differences available at: http://3.101.106.178:8877/032d7858e5bf4ca/reftest-analyzer.html#web=eq.log

@brendandahl brendandahl merged commit f39d87b into mozilla:master Nov 16, 2020
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.

5 participants