Skip to content
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

Dispatch event when annotations have finished rendering. #12229

Merged
merged 1 commit into from
Aug 17, 2020

Conversation

brendandahl
Copy link
Contributor

This is needed for some smoke tests in mozilla central for testing forms
in pdf.js.

Note: AnnotationLayerBuilder.render() doesn't really need to be async, but
we're talking of making the annotation's render functions async, so this
will make that switch easier.

web/annotation_layer_builder.js Outdated Show resolved Hide resolved
web/annotation_layer_builder.js Outdated Show resolved Hide resolved
web/pdf_page_view.js Outdated Show resolved Hide resolved
web/pdf_page_view.js Outdated Show resolved Hide resolved
@timvandermeij timvandermeij added the Gecko 81 Tracking work planned for Form Fill in Shirley 81 release label Aug 17, 2020
web/pdf_page_view.js Outdated Show resolved Hide resolved
web/pdf_page_view.js Outdated Show resolved Hide resolved
web/pdf_page_view.js Outdated Show resolved Hide resolved
web/annotation_layer_builder.js Outdated Show resolved Hide resolved
@brendandahl brendandahl force-pushed the ann-event branch 2 times, most recently from 4db9228 to 01c1b86 Compare August 17, 2020 20:58
@timvandermeij
Copy link
Contributor

Looks good with the two final comments above addressed.

Copy link
Contributor

@timvandermeij timvandermeij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me with the final comment addressed. Thanks!

web/annotation_layer_builder.js Outdated Show resolved Hide resolved
@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 1

Live output at: http://54.67.70.0:8877/fd6f52468ad7338/output.txt

This is needed for some smoke tests in mozilla central for testing forms
in pdf.js.

Note: AnnotationLayerBuilder.render() doesn't really need to be async, but
we're talking of making the annotation's render functions async, so this
will make that switch easier.
@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/fd6f52468ad7338/output.txt

Total script time: 0.13 mins

@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/07ab5a71bbd3c2d/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/07ab5a71bbd3c2d/output.txt

Total script time: 3.32 mins

Published

@timvandermeij timvandermeij merged commit 37e9c97 into mozilla:master Aug 17, 2020
@timvandermeij
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
form-acroform Gecko 81 Tracking work planned for Form Fill in Shirley 81 release test upstream viewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants