mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 14:17:36 -10:00
In order to asynchronously load content scripts that need to run very early in the page load cycle, we need to be able to block further parsing from the document-element-inserted observer, before any page scripts are loaded. Interrupting the flush loop after the document element is inserted allows the observers to run, and temporarily block further parsing if necessary. MozReview-Commit-ID: A6D2T52Mlx4