mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Merge pull request #12850 from calixteman/missing_cstes
JS -- Add few missing constants in global scope
This commit is contained in:
commit
f45ba02fd3
4 changed files with 138 additions and 20 deletions
|
@ -858,7 +858,8 @@ describe("Scripting", function () {
|
|||
expect(send_queue.has("alert")).toEqual(true);
|
||||
expect(send_queue.get("alert")).toEqual({
|
||||
command: "alert",
|
||||
value: "Invalid number in [ MyField ]",
|
||||
value:
|
||||
"The value entered does not match the format of the field [ MyField ]",
|
||||
});
|
||||
done();
|
||||
} catch (ex) {
|
||||
|
@ -1052,7 +1053,8 @@ describe("Scripting", function () {
|
|||
expect(send_queue.has("alert")).toEqual(true);
|
||||
expect(send_queue.get("alert")).toEqual({
|
||||
command: "alert",
|
||||
value: "12 is not between 123 and 456",
|
||||
value:
|
||||
"Invalid value: must be greater than or equal to 123 and less than or equal to 456.",
|
||||
});
|
||||
|
||||
done();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue