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

XFA - Return html element for the different possible value #13540

Merged
merged 1 commit into from
Jun 11, 2021

Conversation

calixteman
Copy link
Contributor

@calixteman
Copy link
Contributor Author

/botio test

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/32b79683c45d698/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://3.101.106.178:8877/915efcb4cc8224e/output.txt

Comment on lines 618 to 625
return HTMLResult.success({
name: "span",
attributes: {
class: ["xfaRich"],
style: {},
},
value: this[$content] === 1,
});
Copy link
Contributor

@marco-c marco-c Jun 11, 2021

Choose a reason for hiding this comment

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

this code is all very similar between the different objects, what if you moved it to a base class and made all classes inherit this method?
or even just extract the code to an external function and call it in all places

@@ -4782,12 +4820,20 @@ class Time extends StringObject {
}

[$finalize]() {
// TODO
this[$content] = new Date(this[$content]);
// TODO.
Copy link
Contributor

Choose a reason for hiding this comment

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

What's left TODO here?

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/32b79683c45d698/output.txt

Total script time: 26.64 mins

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

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

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

Full output at http://3.101.106.178:8877/915efcb4cc8224e/output.txt

Total script time: 30.18 mins

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

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

@calixteman calixteman merged commit 7b4fa0a into mozilla:master Jun 11, 2021
@calixteman
Copy link
Contributor Author

/botio makeref

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/97a3c3b01fd9c9f/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_makeref from @calixteman received. Current queue size: 1

Live output at: http://3.101.106.178:8877/0ae15ef555751e3/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/97a3c3b01fd9c9f/output.txt

Total script time: 23.29 mins

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

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://3.101.106.178:8877/0ae15ef555751e3/output.txt

Total script time: 27.31 mins

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

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.

HSBC XFA "Compte" field not pre-filled
4 participants