mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
[JS] By default, a text field value must be treated as a number (bug 1802888)
This commit is contained in:
parent
33f9d1aab2
commit
ae7da6ae48
6 changed files with 57 additions and 8 deletions
|
@ -346,7 +346,7 @@ describe("Scripting", function () {
|
|||
expect(send_queue.has(refId)).toEqual(true);
|
||||
expect(send_queue.get(refId)).toEqual({
|
||||
id: refId,
|
||||
value: "123",
|
||||
value: 123,
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -826,7 +826,7 @@ describe("Scripting", function () {
|
|||
expect(send_queue.get(refId)).toEqual({
|
||||
id: refId,
|
||||
siblings: null,
|
||||
value: "123456.789",
|
||||
value: 123456.789,
|
||||
formattedValue: null,
|
||||
});
|
||||
});
|
||||
|
@ -1006,7 +1006,7 @@ describe("Scripting", function () {
|
|||
expect(send_queue.get(refId)).toEqual({
|
||||
id: refId,
|
||||
siblings: null,
|
||||
value: "321",
|
||||
value: 321,
|
||||
formattedValue: null,
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue