18F / fedramp-automation

FedRAMP Automation
https://federalist-2372d2fd-fc94-42fe-bcc7-a8af4f664a51.app.cloud.gov/site/18f/fedramp-automation/
Other
15 stars 6 forks source link

Fix synchronous browser processing #600

Open danielnaab opened 2 years ago

danielnaab commented 2 years ago

Extended Description As a user, I would like my browser to not lock up when I apply FedRAMP validation rules, so I have a normal web experience.

Context: SaxonJS processes XSLT synchronously, without yielding back until processing is complete. As a result, the browser locks up when processing. Alternatives would involve running in a web worker or similar, running server-side, or taking mitigation steps such as lowering user expectations so they are not surprised when the browser locks. Previously, web-workers were ruled out due to lack of available DOM APIs. This ticket is to look for alternative approaches that will improve the user experience.

Acceptance Criteria

Definition of Done