Skip to content

Commit

Permalink
Update core/gather/driver/target-manager.js
Browse files Browse the repository at this point in the history
Co-authored-by: Connor Clark <cjamcl@google.com>
  • Loading branch information
adamraine and connorjclark authored Jul 18, 2024
1 parent f154f41 commit b72ccda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/gather/driver/target-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b72ccda

Please sign in to comment.