Open Bug 1605720 Opened 5 years ago Updated 2 years ago

Not calling Target.setDiscoverTargets() will cause hangs in waiting for "Target.activateTarget"

Categories

(Remote Protocol :: CDP, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

References

(Blocks 1 open bug)

Details

I have seen that a couple of times for browser chrome tests. Specifically when opening a new tab and waiting for the target to be activated. If Target.setDiscoverTargets() isn't called before, the test hangs until the timeout.

We should investigate why this is happening.

For the moment I will file a separate bug that will move the call to Target.setDiscoverTargets() into head.js, which ensures that it is always called.

Component: CDP: Target → CDP
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.