|
4849 | 4849 | "search": "",
|
4850 | 4850 | "hash": ""
|
4851 | 4851 | },
|
4852 |
| - { |
4853 |
| - "input": "http://example.com/\uD800\uD801\uDFFE\uDFFF\uFDD0\uFDCF\uFDEF\uFDF0\uFFFE\uFFFF?\uD800\uD801\uDFFE\uDFFF\uFDD0\uFDCF\uFDEF\uFDF0\uFFFE\uFFFF", |
4854 |
| - "base": null, |
4855 |
| - "href": "http://example.com/%EF%BF%BD%F0%90%9F%BE%EF%BF%BD%EF%B7%90%EF%B7%8F%EF%B7%AF%EF%B7%B0%EF%BF%BE%EF%BF%BF?%EF%BF%BD%F0%90%9F%BE%EF%BF%BD%EF%B7%90%EF%B7%8F%EF%B7%AF%EF%B7%B0%EF%BF%BE%EF%BF%BF", |
4856 |
| - "origin": "http://example.com", |
4857 |
| - "protocol": "http:", |
4858 |
| - "username": "", |
4859 |
| - "password": "", |
4860 |
| - "host": "example.com", |
4861 |
| - "hostname": "example.com", |
4862 |
| - "port": "", |
4863 |
| - "pathname": "/%EF%BF%BD%F0%90%9F%BE%EF%BF%BD%EF%B7%90%EF%B7%8F%EF%B7%AF%EF%B7%B0%EF%BF%BE%EF%BF%BF", |
4864 |
| - "search": "?%EF%BF%BD%F0%90%9F%BE%EF%BF%BD%EF%B7%90%EF%B7%8F%EF%B7%AF%EF%B7%B0%EF%BF%BE%EF%BF%BF", |
4865 |
| - "hash": "" |
4866 |
| - }, |
4867 | 4852 | "Forbidden host code points",
|
4868 | 4853 | {
|
4869 | 4854 | "input": "sc://a\u0000b/",
|
|
9658 | 9643 | "search": "",
|
9659 | 9644 | "hash": ""
|
9660 | 9645 | },
|
| 9646 | + { |
| 9647 | + "input": "android://x:0/a", |
| 9648 | + "base": null, |
| 9649 | + "href": "android://x:0/a", |
| 9650 | + "origin": "null", |
| 9651 | + "protocol": "android:", |
| 9652 | + "username": "", |
| 9653 | + "password": "", |
| 9654 | + "host": "x:0", |
| 9655 | + "hostname": "x", |
| 9656 | + "port": "0", |
| 9657 | + "pathname": "/a", |
| 9658 | + "search": "", |
| 9659 | + "hash": "" |
| 9660 | + }, |
| 9661 | + { |
| 9662 | + "input": "drivefs://x:0/a", |
| 9663 | + "base": null, |
| 9664 | + "href": "drivefs://x:0/a", |
| 9665 | + "origin": "null", |
| 9666 | + "protocol": "drivefs:", |
| 9667 | + "username": "", |
| 9668 | + "password": "", |
| 9669 | + "host": "x:0", |
| 9670 | + "hostname": "x", |
| 9671 | + "port": "0", |
| 9672 | + "pathname": "/a", |
| 9673 | + "search": "", |
| 9674 | + "hash": "" |
| 9675 | + }, |
| 9676 | + { |
| 9677 | + "input": "chromeos-steam://x:0/a", |
| 9678 | + "base": null, |
| 9679 | + "href": "chromeos-steam://x:0/a", |
| 9680 | + "origin": "null", |
| 9681 | + "protocol": "chromeos-steam:", |
| 9682 | + "username": "", |
| 9683 | + "password": "", |
| 9684 | + "host": "x:0", |
| 9685 | + "hostname": "x", |
| 9686 | + "port": "0", |
| 9687 | + "pathname": "/a", |
| 9688 | + "search": "", |
| 9689 | + "hash": "" |
| 9690 | + }, |
| 9691 | + { |
| 9692 | + "input": "steam://x:0/a", |
| 9693 | + "base": null, |
| 9694 | + "href": "steam://x:0/a", |
| 9695 | + "origin": "null", |
| 9696 | + "protocol": "steam:", |
| 9697 | + "username": "", |
| 9698 | + "password": "", |
| 9699 | + "host": "x:0", |
| 9700 | + "hostname": "x", |
| 9701 | + "port": "0", |
| 9702 | + "pathname": "/a", |
| 9703 | + "search": "", |
| 9704 | + "hash": "" |
| 9705 | + }, |
| 9706 | + { |
| 9707 | + "input": "materialized-view://x:0/a", |
| 9708 | + "base": null, |
| 9709 | + "href": "materialized-view://x:0/a", |
| 9710 | + "origin": "null", |
| 9711 | + "protocol": "materialized-view:", |
| 9712 | + "username": "", |
| 9713 | + "password": "", |
| 9714 | + "host": "x:0", |
| 9715 | + "hostname": "x", |
| 9716 | + "port": "0", |
| 9717 | + "pathname": "/a", |
| 9718 | + "search": "", |
| 9719 | + "hash": "" |
| 9720 | + }, |
| 9721 | + { |
| 9722 | + "input": "android-app://x:0", |
| 9723 | + "base": null, |
| 9724 | + "href": "android-app://x:0", |
| 9725 | + "origin": "null", |
| 9726 | + "protocol": "android-app:", |
| 9727 | + "username": "", |
| 9728 | + "password": "", |
| 9729 | + "host": "x:0", |
| 9730 | + "hostname": "x", |
| 9731 | + "port": "0", |
| 9732 | + "pathname": "", |
| 9733 | + "search": "", |
| 9734 | + "hash": "" |
| 9735 | + }, |
| 9736 | + { |
| 9737 | + "input": "chrome-distiller://x:0", |
| 9738 | + "base": null, |
| 9739 | + "href": "chrome-distiller://x:0", |
| 9740 | + "origin": "null", |
| 9741 | + "protocol": "chrome-distiller:", |
| 9742 | + "username": "", |
| 9743 | + "password": "", |
| 9744 | + "host": "x:0", |
| 9745 | + "hostname": "x", |
| 9746 | + "port": "0", |
| 9747 | + "pathname": "", |
| 9748 | + "search": "", |
| 9749 | + "hash": "" |
| 9750 | + }, |
| 9751 | + { |
| 9752 | + "input": "chrome-extension://x:0", |
| 9753 | + "base": null, |
| 9754 | + "href": "chrome-extension://x:0", |
| 9755 | + "origin": "null", |
| 9756 | + "protocol": "chrome-extension:", |
| 9757 | + "username": "", |
| 9758 | + "password": "", |
| 9759 | + "host": "x:0", |
| 9760 | + "hostname": "x", |
| 9761 | + "port": "0", |
| 9762 | + "pathname": "", |
| 9763 | + "search": "", |
| 9764 | + "hash": "" |
| 9765 | + }, |
| 9766 | + { |
| 9767 | + "input": "chrome-native://x:0", |
| 9768 | + "base": null, |
| 9769 | + "href": "chrome-native://x:0", |
| 9770 | + "origin": "null", |
| 9771 | + "protocol": "chrome-native:", |
| 9772 | + "username": "", |
| 9773 | + "password": "", |
| 9774 | + "host": "x:0", |
| 9775 | + "hostname": "x", |
| 9776 | + "port": "0", |
| 9777 | + "pathname": "", |
| 9778 | + "search": "", |
| 9779 | + "hash": "" |
| 9780 | + }, |
| 9781 | + { |
| 9782 | + "input": "chrome-resource://x:0", |
| 9783 | + "base": null, |
| 9784 | + "href": "chrome-resource://x:0", |
| 9785 | + "origin": "null", |
| 9786 | + "protocol": "chrome-resource:", |
| 9787 | + "username": "", |
| 9788 | + "password": "", |
| 9789 | + "host": "x:0", |
| 9790 | + "hostname": "x", |
| 9791 | + "port": "0", |
| 9792 | + "pathname": "", |
| 9793 | + "search": "", |
| 9794 | + "hash": "" |
| 9795 | + }, |
| 9796 | + { |
| 9797 | + "input": "chrome-search://x:0", |
| 9798 | + "base": null, |
| 9799 | + "href": "chrome-search://x:0", |
| 9800 | + "origin": "null", |
| 9801 | + "protocol": "chrome-search:", |
| 9802 | + "username": "", |
| 9803 | + "password": "", |
| 9804 | + "host": "x:0", |
| 9805 | + "hostname": "x", |
| 9806 | + "port": "0", |
| 9807 | + "pathname": "", |
| 9808 | + "search": "", |
| 9809 | + "hash": "" |
| 9810 | + }, |
| 9811 | + { |
| 9812 | + "input": "fuchsia-dir://x:0", |
| 9813 | + "base": null, |
| 9814 | + "href": "fuchsia-dir://x:0", |
| 9815 | + "origin": "null", |
| 9816 | + "protocol": "fuchsia-dir:", |
| 9817 | + "username": "", |
| 9818 | + "password": "", |
| 9819 | + "host": "x:0", |
| 9820 | + "hostname": "x", |
| 9821 | + "port": "0", |
| 9822 | + "pathname": "", |
| 9823 | + "search": "", |
| 9824 | + "hash": "" |
| 9825 | + }, |
| 9826 | + { |
| 9827 | + "input": "isolated-app://x:0", |
| 9828 | + "base": null, |
| 9829 | + "href": "isolated-app://x:0", |
| 9830 | + "origin": "null", |
| 9831 | + "protocol": "isolated-app:", |
| 9832 | + "username": "", |
| 9833 | + "password": "", |
| 9834 | + "host": "x:0", |
| 9835 | + "hostname": "x", |
| 9836 | + "port": "0", |
| 9837 | + "pathname": "", |
| 9838 | + "search": "", |
| 9839 | + "hash": "" |
| 9840 | + }, |
9661 | 9841 | "Scheme relative path starting with multiple slashes",
|
9662 | 9842 | {
|
9663 | 9843 | "input": "///test",
|
|
9812 | 9992 | "pathname": "/",
|
9813 | 9993 | "search": "",
|
9814 | 9994 | "hash": ""
|
| 9995 | + }, |
| 9996 | + "# Non-special URL and backslashes", |
| 9997 | + { |
| 9998 | + "input": "non-special:\\\\opaque", |
| 9999 | + "base": null, |
| 10000 | + "href": "non-special:\\\\opaque", |
| 10001 | + "origin": "null", |
| 10002 | + "protocol": "non-special:", |
| 10003 | + "username": "", |
| 10004 | + "password": "", |
| 10005 | + "host": "", |
| 10006 | + "hostname": "", |
| 10007 | + "port": "", |
| 10008 | + "pathname": "\\\\opaque", |
| 10009 | + "search": "", |
| 10010 | + "hash": "" |
| 10011 | + }, |
| 10012 | + { |
| 10013 | + "input": "non-special:\\\\opaque/path", |
| 10014 | + "base": null, |
| 10015 | + "href": "non-special:\\\\opaque/path", |
| 10016 | + "origin": "null", |
| 10017 | + "protocol": "non-special:", |
| 10018 | + "username": "", |
| 10019 | + "password": "", |
| 10020 | + "host": "", |
| 10021 | + "hostname": "", |
| 10022 | + "port": "", |
| 10023 | + "pathname": "\\\\opaque/path", |
| 10024 | + "search": "", |
| 10025 | + "hash": "" |
| 10026 | + }, |
| 10027 | + { |
| 10028 | + "input": "non-special:\\\\opaque\\path", |
| 10029 | + "base": null, |
| 10030 | + "href": "non-special:\\\\opaque\\path", |
| 10031 | + "origin": "null", |
| 10032 | + "protocol": "non-special:", |
| 10033 | + "username": "", |
| 10034 | + "password": "", |
| 10035 | + "host": "", |
| 10036 | + "hostname": "", |
| 10037 | + "port": "", |
| 10038 | + "pathname": "\\\\opaque\\path", |
| 10039 | + "search": "", |
| 10040 | + "hash": "" |
| 10041 | + }, |
| 10042 | + { |
| 10043 | + "input": "non-special:\\/opaque", |
| 10044 | + "base": null, |
| 10045 | + "href": "non-special:\\/opaque", |
| 10046 | + "origin": "null", |
| 10047 | + "protocol": "non-special:", |
| 10048 | + "username": "", |
| 10049 | + "password": "", |
| 10050 | + "host": "", |
| 10051 | + "hostname": "", |
| 10052 | + "port": "", |
| 10053 | + "pathname": "\\/opaque", |
| 10054 | + "search": "", |
| 10055 | + "hash": "" |
| 10056 | + }, |
| 10057 | + { |
| 10058 | + "input": "non-special:/\\path", |
| 10059 | + "base": null, |
| 10060 | + "href": "non-special:/\\path", |
| 10061 | + "origin": "null", |
| 10062 | + "protocol": "non-special:", |
| 10063 | + "username": "", |
| 10064 | + "password": "", |
| 10065 | + "host": "", |
| 10066 | + "hostname": "", |
| 10067 | + "port": "", |
| 10068 | + "pathname": "/\\path", |
| 10069 | + "search": "", |
| 10070 | + "hash": "" |
| 10071 | + }, |
| 10072 | + { |
| 10073 | + "input": "non-special://host\\a", |
| 10074 | + "base": null, |
| 10075 | + "failure": true |
| 10076 | + }, |
| 10077 | + { |
| 10078 | + "input": "non-special://host/a\\b", |
| 10079 | + "base": null, |
| 10080 | + "href": "non-special://host/a\\b", |
| 10081 | + "origin": "null", |
| 10082 | + "protocol": "non-special:", |
| 10083 | + "username": "", |
| 10084 | + "password": "", |
| 10085 | + "host": "host", |
| 10086 | + "hostname": "host", |
| 10087 | + "port": "", |
| 10088 | + "pathname": "/a\\b", |
| 10089 | + "search": "", |
| 10090 | + "hash": "" |
9815 | 10091 | }
|
9816 | 10092 | ]
|
0 commit comments