-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
[JS] Formatted value has to be a string when neither null nor undefined #14890
Conversation
Would it make sense to also add a Line 1523 in 72943ae
Or, if that's not correct, how about a Line 1535 in 72943ae
|
The issue here was due to a formatted value which was a number (so no trim method). pdf.js/src/display/annotation_layer.js Line 961 in 72943ae
pdf.js/src/display/annotation_layer.js Line 997 in 72943ae
The call to trim is a kind of assertion that the value is a string (and thx to that we caught the error you reported). |
That might be the nicest solution; since an explicit error is always better than an implicit one. |
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/bf24429f36bd3bb/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/bf24429f36bd3bb/output.txt Total script time: 2.57 mins Published |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me, with passing tests; thank you!
/botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/9a33fb322b964e0/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/d136a7983980082/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/d136a7983980082/output.txt Total script time: 25.85 mins
Image differences available at: http://54.241.84.105:8877/d136a7983980082/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/9a33fb322b964e0/output.txt Total script time: 31.86 mins
Image differences available at: http://54.193.163.58:8877/9a33fb322b964e0/reftest-analyzer.html#web=eq.log |
No description provided.