Skip to content

Add Highlight.js webworker

Jacques Erasmus requested to merge 366531-hljs-webworker into master

What does this MR do and why?

  • Adds a webworker wrapper for Highlight.js as part of #366531 (closed)
  • Make dependency_linker_util.js webworker-friendly (document and dom_utils can't be used).
  • Make gemspec_linker.js webworker-friendly (url_utility and translations from constants.js can't be used)
  • Make utils/package_json_linker.js webworker-friendly (url_utility and translations from constants.js can't be used)
Description MR
Move the blob_info GraphQL request to StatupJS !97371 (merged)
Create a WebWorker to handle the task of Highlighting 👈 this MR
Highlight all source code with the WebWorker follow-up

Screenshots or screen recordings

No visual changes are expected

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #366531 (closed)

Edited by Jacques Erasmus

Merge request reports

Loading