DevTools: relax the check when looking up the shared workers' agent hosts.

BUG=559310

Review URL: https://codereview.chromium.org/1473853002

Cr-Commit-Position: refs/heads/master@{#361556}
(cherry picked from commit 3f1bf682566dfcf478d5f0d841f65d27b849e643)

Review URL: https://codereview.chromium.org/1496983002 .

Cr-Commit-Position: refs/branch-heads/2526@{#498}
Cr-Branched-From: cb947c0153db0ec02a8abbcb3ca086d88bf6006f-refs/heads/master@{#352221}
1 file changed