diff options
Diffstat (limited to 'lisp/url/url-domsuf.el')
-rw-r--r-- | lisp/url/url-domsuf.el | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/lisp/url/url-domsuf.el b/lisp/url/url-domsuf.el index fa57815e204..c1cdf901d6c 100644 --- a/lisp/url/url-domsuf.el +++ b/lisp/url/url-domsuf.el @@ -1,4 +1,4 @@ -;;; url-domsuf.el --- Say what domain names can have cookies set. +;;; url-domsuf.el --- Say what domain names can have cookies set. -*- lexical-binding:t -*- ;; Copyright (C) 2012-2020 Free Software Foundation, Inc. @@ -24,7 +24,7 @@ ;;; Commentary: ;; The rules for what domains can have cookies set is defined here: -;; http://publicsuffix.org/list/ +;; https://publicsuffix.org/list/ ;;; Code: @@ -87,17 +87,6 @@ (setq allowedp nil)))) allowedp)) -;; Tests: - -;; TODO convert to a proper test. -;; (url-domsuf-cookie-allowed-p "com") => nil -;; (url-domsuf-cookie-allowed-p "foo.bar.bd") => t -;; (url-domsuf-cookie-allowed-p "bar.bd") => nil -;; (url-domsuf-cookie-allowed-p "co.uk") => nil -;; (url-domsuf-cookie-allowed-p "foo.bar.hokkaido.jo") => t -;; (url-domsuf-cookie-allowed-p "bar.yokohama.jp") => nil -;; (url-domsuf-cookie-allowed-p "city.yokohama.jp") => t - (provide 'url-domsuf) ;;; url-domsuf.el ends here |