From b72ccdafc06a2e84a5ac5d9b81c69b1a667bf2a9 Mon Sep 17 00:00:00 2001 From: Adam Raine <6752989+adamraine@users.noreply.github.com> Date: Thu, 18 Jul 2024 10:07:31 -0700 Subject: [PATCH] Update core/gather/driver/target-manager.js Co-authored-by: Connor Clark --- core/gather/driver/target-manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/gather/driver/target-manager.js b/core/gather/driver/target-manager.js index 37c2f038eb02..330198d42867 100644 --- a/core/gather/driver/target-manager.js +++ b/core/gather/driver/target-manager.js @@ -188,7 +188,7 @@ class TargetManager extends ProtocolEventEmitter { * @param {LH.Crdp.Runtime.ExecutionContextCreatedEvent} event */ _onExecutionContextCreated(event) { - if (event.context.name.match(/__puppeteer_utility_world__/)) return; + if (event.context.name.match(/^__puppeteer_utility_world__/)) return; if (event.context.name === 'lighthouse_isolated_context') return; this._executionContextIdToDescriptions.set(event.context.uniqueId, event.context);