Throw "SyntaxError" for location.protocol

Issue #10422816 • Assigned to Arron E.

Details

Author
Anne v.
Created
Jan 5, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Firefox
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Both Edge and Firefox throw some kind of internal non-standard error for location.protocol, so we decided to align with precedent and Chrome and Safari, which throw "SyntaxError".

https://github.com/w3c/web-platform-tests/pull/4412 has tests and additional details.

https://github.com/whatwg/html/pull/2245 has the HTML Standard change.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To to “Arron E.”

      Changed Title from “Throw "SyntaxError" for location.protocol” to “Throw "SyntaxError" for location.protocol”

    You need to sign in to your Microsoft account to add a comment.

    Sign in