Name Description Size Coverage
pus-handler.py This script handles requests for the "main" and "signal" resources. The "main" resource serves an HTML page that either initiates or acts as the target for a prerendering speculation rule. The "signal" resource is used to coordinate between the initiator and the prerendered page, ensuring the prerendering is complete before proceeding. It uses query parameters to determine its behavior and coordinate the process. 3158 -
pus-initiator-page-template.html Initiator page 1109 -
pus-page-template.html prerender-until-script 493 -
pus-upgrade-handler.py Serves the initiator and target pages for the PUS-to-prerender upgrade test. Two stash-backed gates sequence the test: * `uid` confirms the PUS target started loading before the upgrade rule. * `js_uid` confirms its paused JavaScript resumed before activation. Prerender-page requests release a gate; initiator requests long-poll it. 4365 -
pus-upgrade-initiator-template.html Initiator: prerender-until-script to prerender upgrade 1936 -
pus-upgrade-page-template.html prerender-until-script upgrade target page 1221 -