-
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
[api-minor] Implement API to get MarkInfo from the catalog. #12525
Conversation
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.
Looks good with these comments addressed. I think the requestIdleCallback
usage is quite a nice solution here!
8ea121d
to
008d693
Compare
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.
Looks good and can be merged with the final comment addressed!
src/display/api.js
Outdated
/** | ||
* @typedef {Object} MarkInfo | ||
* Properties correspond to Table 321 of the PDF 32000-1:2008 spec. Values | ||
* are null if not defined by the PDF. |
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.
null
-> false
008d693
to
e5e0655
Compare
/botio unittest |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/21120e56b479603/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/21120e56b479603/output.txt Total script time: 3.55 mins
|
Ah, it seems that
Not sure why Travis does like it. Maybe it does work in Node.js? |
The argument is used as the prototype, which doesn't survive the structured cloning algorithm. const markInfo = Object.assign(Object.create(null), {
Marked: false,
UserProperties: false,
Suspects: false,
});
Probably because those tests run with workers disabled. |
e5e0655
to
9bb46ac
Compare
9bb46ac
to
8a8b4f9
Compare
/botio unittest |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/e8b9171fdff5716/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_unittest from @timvandermeij received. Current queue size: 0 Live output at: http://3.101.106.178:8877/abf377e340e41f8/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/e8b9171fdff5716/output.txt Total script time: 3.50 mins
|
From: Bot.io (Windows)SuccessFull output at http://3.101.106.178:8877/abf377e340e41f8/output.txt Total script time: 4.61 mins
|
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/620a8eba477c68d/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/620a8eba477c68d/output.txt Total script time: 3.99 mins Published |
Thanks! |
Trying to get more data so we can decide whether to implement tagged pdfs.