Commit 5ddabb8
committed
Fix AcroFormField Subtype setter to be a true no-op
The setter was storing values, which caused tests to fail because the
stored value would appear in the PDF output. Tests expect setting
radioGroup.Subtype = "Form" to be silently ignored without affecting
the computed value returned by the getter.
This changes the setter to be a true no-op (empty function), preventing
the "Cannot set property which has only a getter" error while preserving
the original behavior where assignments are silently ignored.1 parent e7835bc commit 5ddabb8
File tree
15 files changed
+33
-45
lines changed- dist
- src/modules
15 files changed
+33
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
7048 | 7048 | | |
7049 | 7049 | | |
7050 | 7050 | | |
7051 | | - | |
7052 | 7051 | | |
7053 | 7052 | | |
7054 | 7053 | | |
7055 | 7054 | | |
7056 | | - | |
7057 | | - | |
7058 | | - | |
7059 | 7055 | | |
7060 | 7056 | | |
7061 | 7057 | | |
7062 | | - | |
| 7058 | + | |
| 7059 | + | |
7063 | 7060 | | |
7064 | 7061 | | |
7065 | 7062 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
7550 | 7550 | | |
7551 | 7551 | | |
7552 | 7552 | | |
7553 | | - | |
7554 | 7553 | | |
7555 | 7554 | | |
7556 | 7555 | | |
7557 | 7556 | | |
7558 | | - | |
7559 | | - | |
7560 | | - | |
7561 | 7557 | | |
7562 | 7558 | | |
7563 | 7559 | | |
7564 | | - | |
| 7560 | + | |
| 7561 | + | |
7565 | 7562 | | |
7566 | 7563 | | |
7567 | 7564 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
7133 | 7133 | | |
7134 | 7134 | | |
7135 | 7135 | | |
7136 | | - | |
7137 | 7136 | | |
7138 | 7137 | | |
7139 | 7138 | | |
7140 | 7139 | | |
7141 | | - | |
7142 | | - | |
7143 | | - | |
7144 | 7140 | | |
7145 | 7141 | | |
7146 | 7142 | | |
7147 | | - | |
| 7143 | + | |
| 7144 | + | |
7148 | 7145 | | |
7149 | 7146 | | |
7150 | 7147 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments