title: URL from location.href missing searchParams
body: <p>I'm trying to parse the query/search parameters of the current route</p>
  
  <pre><code>let url = new URL(location.href);
  </code></pre>
  
  <p>When I look at <code>url</code> the search parameters are in <code>href</code>. I expected them to be in <code>searchParams</code>, which is empty. Are my expectations off?</p>
  
  <p>URL:</p>
  
  <pre><code>hash: "#/admin?ac=flags"
  host: "localhost:8084"
  hostname: "localhost"
  href: "http://localhost:8084/#/admin?ac=flags"
  origin: "http://localhost:8084"
  password: ""
  pathname: "/"
  port: "8084"
  protocol: "http:"
  search: ""
  searchParams: URLSearchParams { }
  
  </code></pre>