Write tests for ParsedURL.js
Write tests for ParsedURL.js

This CL attempts to cover ParsedURL.js
with Karma tests. Note that some of the
code was not covered because the it threw
an error when trying to call Root but the
coverage ended up being above 90%

Change-Id: Iede3cda2a520f0a8a9a3c1378e48caecc11d183d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1852287
Reviewed-by: Tim van der Lippe <dba8716ee7f8d16236046f74d2167cb94410f6ed@google.com>
Reviewed-by: Paul Lewis <8915f5d5c39a08c5a3e8a8d7314756e4580816f9@chromium.org>
Commit-Queue: Almothana Athamneh <706f26a62e50fed4f186b9ee03c9abd1857b411a@google.com>
Cr-Original-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#704585}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 72bb7d44cf66a171057bee45ec228a90736a440b

ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend