Closed Bug 1811049 Opened 2 years ago Closed 2 years ago

Target.setDiscoverTargets: Support filter option

Categories

(Remote Protocol :: CDP, enhancement, P5)

Firefox 111
enhancement

Tracking

(firefox113 fixed)

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: canadahonk, Assigned: canadahonk)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

Implement the filter option for Target.setDiscoverTargets (using base TargetFilter code from Bug 1810812). Happy to work on this also.

Blocks: 1548592
Blocks: 1811052

Implement the filter option for Target.setDiscoverTargets, using
internal function created previously. Changed relevant tests as the main
process target (browser type) should NOT be emitted by default. Also had
to change an internal testing function which thought previous was
correct behavior. I have checked with Chromium several times and they
behave the same as with this patch.

Depends on D167172

Assignee: nobody → oj
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Duplicate of this bug: 1811052
Severity: -- → S3
Priority: -- → P5

Puppeteer upstream would also need an update to not start failing. The PR can be found at: https://github.com/puppeteer/puppeteer/pull/9693.

Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/df368772785f [cdp] Implement filter option for Target.setDiscoverTargets r=webdriver-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: