"The order matters"

This commit is contained in:
Cris Stringfellow 2021-12-15 22:18:30 +08:00
parent 725f688f4a
commit 7cfc183c0a
1 changed files with 4 additions and 4 deletions

View File

@ -114,11 +114,11 @@ async function collect({chrome_port:port, mode} = {}) {
throw new TypeError(`Must specify mode`); throw new TypeError(`Must specify mode`);
} }
on("Target.targetInfoChanged", indexURL);
on("Target.targetInfoChanged", updateTargetInfo);
on("Target.targetInfoChanged", reloadIfNotLive);
on("Target.targetInfoChanged", attachToTarget);
on("Target.targetInfoChanged", displayTargetInfo); on("Target.targetInfoChanged", displayTargetInfo);
on("Target.targetInfoChanged", attachToTarget);
on("Target.targetInfoChanged", reloadIfNotLive);
on("Target.targetInfoChanged", updateTargetInfo);
on("Target.targetInfoChanged", indexURL);
on("Target.attachedToTarget", installForSession); on("Target.attachedToTarget", installForSession);
on("Fetch.requestPaused", cacheRequest); on("Fetch.requestPaused", cacheRequest);
on("Runtime.consoleAPICalled", handleMessage); on("Runtime.consoleAPICalled", handleMessage);