|
7429 | 7429 | "protocol": "https:",
|
7430 | 7430 | "search": "",
|
7431 | 7431 | "username": "user"
|
| 7432 | + }, |
| 7433 | + "Tests for the distinct percent-encode sets", |
| 7434 | + { |
| 7435 | + "input": "foo:// !\"$%&'()*+,-.;<=>@[\\]^_`{|}~@host/", |
| 7436 | + "base": "about:blank", |
| 7437 | + "hash": "", |
| 7438 | + "host": "host", |
| 7439 | + "hostname": "host", |
| 7440 | + "href": "foo://%20!%22$%&'()*+,-.%3B%3C%3D%3E%40%5B%5C%5D%5E_%60%7B%7C%7D~@host/", |
| 7441 | + "origin": "null", |
| 7442 | + "password": "", |
| 7443 | + "pathname": "/", |
| 7444 | + "port":"", |
| 7445 | + "protocol": "foo:", |
| 7446 | + "search": "", |
| 7447 | + "username": "%20!%22$%&'()*+,-.%3B%3C%3D%3E%40%5B%5C%5D%5E_%60%7B%7C%7D~" |
| 7448 | + }, |
| 7449 | + { |
| 7450 | + "input": "wss:// !\"$%&'()*+,-.;<=>@[]^_`{|}~@host/", |
| 7451 | + "base": "about:blank", |
| 7452 | + "hash": "", |
| 7453 | + "host": "host", |
| 7454 | + "hostname": "host", |
| 7455 | + "href": "wss://%20!%22$%&'()*+,-.%3B%3C%3D%3E%40%5B%5D%5E_%60%7B%7C%7D~@host/", |
| 7456 | + "origin": "wss://host", |
| 7457 | + "password": "", |
| 7458 | + "pathname": "/", |
| 7459 | + "port":"", |
| 7460 | + "protocol": "wss:", |
| 7461 | + "search": "", |
| 7462 | + "username": "%20!%22$%&'()*+,-.%3B%3C%3D%3E%40%5B%5D%5E_%60%7B%7C%7D~" |
| 7463 | + }, |
| 7464 | + { |
| 7465 | + "input": "foo://joe: !\"$%&'()*+,-.:;<=>@[\\]^_`{|}~@host/", |
| 7466 | + "base": "about:blank", |
| 7467 | + "hash": "", |
| 7468 | + "host": "host", |
| 7469 | + "hostname": "host", |
| 7470 | + "href": "foo://joe:%20!%22$%&'()*+,-.%3A%3B%3C%3D%3E%40%5B%5C%5D%5E_%60%7B%7C%7D~@host/", |
| 7471 | + "origin": "null", |
| 7472 | + "password": "%20!%22$%&'()*+,-.%3A%3B%3C%3D%3E%40%5B%5C%5D%5E_%60%7B%7C%7D~", |
| 7473 | + "pathname": "/", |
| 7474 | + "port":"", |
| 7475 | + "protocol": "foo:", |
| 7476 | + "search": "", |
| 7477 | + "username": "joe" |
| 7478 | + }, |
| 7479 | + { |
| 7480 | + "input": "wss://joe: !\"$%&'()*+,-.:;<=>@[]^_`{|}~@host/", |
| 7481 | + "base": "about:blank", |
| 7482 | + "hash": "", |
| 7483 | + "host": "host", |
| 7484 | + "hostname": "host", |
| 7485 | + "href": "wss://joe:%20!%22$%&'()*+,-.%3A%3B%3C%3D%3E%40%5B%5D%5E_%60%7B%7C%7D~@host/", |
| 7486 | + "origin": "wss://host", |
| 7487 | + "password": "%20!%22$%&'()*+,-.%3A%3B%3C%3D%3E%40%5B%5D%5E_%60%7B%7C%7D~", |
| 7488 | + "pathname": "/", |
| 7489 | + "port":"", |
| 7490 | + "protocol": "wss:", |
| 7491 | + "search": "", |
| 7492 | + "username": "joe" |
| 7493 | + }, |
| 7494 | + { "input": "foo://!\"$%&'()*+,-.;=_`{}~/", |
| 7495 | + "base": "about:blank", |
| 7496 | + "hash": "", |
| 7497 | + "host": "!\"$%&'()*+,-.;=_`{}~", |
| 7498 | + "hostname": "!\"$%&'()*+,-.;=_`{}~", |
| 7499 | + "href":"foo://!\"$%&'()*+,-.;=_`{}~/", |
| 7500 | + "origin": "null", |
| 7501 | + "password": "", |
| 7502 | + "pathname": "/", |
| 7503 | + "port":"", |
| 7504 | + "protocol": "foo:", |
| 7505 | + "search": "", |
| 7506 | + "username": "" |
| 7507 | + }, |
| 7508 | + { |
| 7509 | + "input": "wss://!\"$&'()*+,-.;=_`{}~/", |
| 7510 | + "base": "about:blank", |
| 7511 | + "hash": "", |
| 7512 | + "host": "!\"$&'()*+,-.;=_`{}~", |
| 7513 | + "hostname": "!\"$&'()*+,-.;=_`{}~", |
| 7514 | + "href":"wss://!\"$&'()*+,-.;=_`{}~/", |
| 7515 | + "origin": "wss://!\"$&'()*+,-.;=_`{}~", |
| 7516 | + "password": "", |
| 7517 | + "pathname": "/", |
| 7518 | + "port":"", |
| 7519 | + "protocol": "wss:", |
| 7520 | + "search": "", |
| 7521 | + "username": "" |
| 7522 | + }, |
| 7523 | + { |
| 7524 | + "input": "foo://host/ !\"$%&'()*+,-./:;<=>@[\\]^_`{|}~", |
| 7525 | + "base": "about:blank", |
| 7526 | + "hash": "", |
| 7527 | + "host": "host", |
| 7528 | + "hostname": "host", |
| 7529 | + "href": "foo://host/%20!%22$%&'()*+,-./:;%3C=%3E@[\\]^_%60%7B|%7D~", |
| 7530 | + "origin": "null", |
| 7531 | + "password": "", |
| 7532 | + "pathname": "/%20!%22$%&'()*+,-./:;%3C=%3E@[\\]^_%60%7B|%7D~", |
| 7533 | + "port":"", |
| 7534 | + "protocol": "foo:", |
| 7535 | + "search": "", |
| 7536 | + "username": "" |
| 7537 | + }, |
| 7538 | + { |
| 7539 | + "input": "wss://host/ !\"$%&'()*+,-./:;<=>@[\\]^_`{|}~", |
| 7540 | + "base": "about:blank", |
| 7541 | + "hash": "", |
| 7542 | + "host": "host", |
| 7543 | + "hostname": "host", |
| 7544 | + "href": "wss://host/%20!%22$%&'()*+,-./:;%3C=%3E@[/]^_%60%7B|%7D~", |
| 7545 | + "origin": "wss://host", |
| 7546 | + "password": "", |
| 7547 | + "pathname": "/%20!%22$%&'()*+,-./:;%3C=%3E@[/]^_%60%7B|%7D~", |
| 7548 | + "port":"", |
| 7549 | + "protocol": "wss:", |
| 7550 | + "search": "", |
| 7551 | + "username": "" |
| 7552 | + }, |
| 7553 | + { |
| 7554 | + "input": "foo://host/dir/? !\"$%&'()*+,-./:;<=>?@[\\]^_`{|}~", |
| 7555 | + "base": "about:blank", |
| 7556 | + "hash": "", |
| 7557 | + "host": "host", |
| 7558 | + "hostname": "host", |
| 7559 | + "href": "foo://host/dir/?%20!%22$%&'()*+,-./:;%3C=%3E?@[\\]^_`{|}~", |
| 7560 | + "origin": "null", |
| 7561 | + "password": "", |
| 7562 | + "pathname": "/dir/", |
| 7563 | + "port":"", |
| 7564 | + "protocol": "foo:", |
| 7565 | + "search": "?%20!%22$%&'()*+,-./:;%3C=%3E?@[\\]^_`{|}~", |
| 7566 | + "username": "" |
| 7567 | + }, |
| 7568 | + { |
| 7569 | + "input": "wss://host/dir/? !\"$%&'()*+,-./:;<=>?@[\\]^_`{|}~", |
| 7570 | + "base": "about:blank", |
| 7571 | + "hash": "", |
| 7572 | + "host": "host", |
| 7573 | + "hostname": "host", |
| 7574 | + "href": "wss://host/dir/?%20!%22$%&%27()*+,-./:;%3C=%3E?@[\\]^_`{|}~", |
| 7575 | + "origin": "wss://host", |
| 7576 | + "password": "", |
| 7577 | + "pathname": "/dir/", |
| 7578 | + "port":"", |
| 7579 | + "protocol": "wss:", |
| 7580 | + "search": "?%20!%22$%&%27()*+,-./:;%3C=%3E?@[\\]^_`{|}~", |
| 7581 | + "username": "" |
| 7582 | + }, |
| 7583 | + { |
| 7584 | + "input": "foo://host/dir/# !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", |
| 7585 | + "base": "about:blank", |
| 7586 | + "hash": "#%20!%22#$%&'()*+,-./:;%3C=%3E?@[\\]^_%60{|}~", |
| 7587 | + "host": "host", |
| 7588 | + "hostname": "host", |
| 7589 | + "href": "foo://host/dir/#%20!%22#$%&'()*+,-./:;%3C=%3E?@[\\]^_%60{|}~", |
| 7590 | + "origin": "null", |
| 7591 | + "password": "", |
| 7592 | + "pathname": "/dir/", |
| 7593 | + "port":"", |
| 7594 | + "protocol": "foo:", |
| 7595 | + "search": "", |
| 7596 | + "username": "" |
| 7597 | + }, |
| 7598 | + { |
| 7599 | + "input": "wss://host/dir/# !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", |
| 7600 | + "base": "about:blank", |
| 7601 | + "hash": "#%20!%22#$%&'()*+,-./:;%3C=%3E?@[\\]^_%60{|}~", |
| 7602 | + "host": "host", |
| 7603 | + "hostname": "host", |
| 7604 | + "href": "wss://host/dir/#%20!%22#$%&'()*+,-./:;%3C=%3E?@[\\]^_%60{|}~", |
| 7605 | + "origin": "wss://host", |
| 7606 | + "password": "", |
| 7607 | + "pathname": "/dir/", |
| 7608 | + "port":"", |
| 7609 | + "protocol": "wss:", |
| 7610 | + "search": "", |
| 7611 | + "username": "" |
7432 | 7612 | }
|
7433 | 7613 | ]
|
0 commit comments