diff options
author | Loïc Hoguin <[email protected]> | 2020-11-12 10:50:30 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-11-12 10:50:30 +0100 |
commit | d061c424b0a3ce39a0c3ff4a5eaade1af79d177e (patch) | |
tree | 656e0ad294a7da6d49e5bba8c83c77c931dc4d3c | |
parent | dc4ce04fe20440062fa071f2e05919cd83ea9c8e (diff) | |
download | gun-d061c424b0a3ce39a0c3ff4a5eaade1af79d177e.tar.gz gun-d061c424b0a3ce39a0c3ff4a5eaade1af79d177e.tar.bz2 gun-d061c424b0a3ce39a0c3ff4a5eaade1af79d177e.zip |
Enable optional0042 cookie test
Cowlib master has the fix for this test. Temporarily depend
on Cowlib master until a release is made.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/gun_cookies.erl | 5 |
2 files changed, 3 insertions, 4 deletions
@@ -14,7 +14,7 @@ CT_OPTS += -ct_hooks gun_ct_hook [] # -boot start_sasl LOCAL_DEPS = ssl DEPS = cowlib -dep_cowlib = git https://github.com/ninenines/cowlib 2.10.0 +dep_cowlib = git https://github.com/ninenines/cowlib master DOC_DEPS = asciideck diff --git a/src/gun_cookies.erl b/src/gun_cookies.erl index 0537832..f44ae42 100644 --- a/src/gun_cookies.erl +++ b/src/gun_cookies.erl @@ -465,9 +465,8 @@ wpt_http_state_test_files() -> wpt_http_state_test_files(TestPath) -> filelib:wildcard(TestPath ++ "wpt/cookies/*-test") -- [ TestPath ++ "wpt/cookies/attribute0023-test", %% Doesn't match the spec (path override). - TestPath ++ "wpt/cookies/disabled-chromium0020-test", %% Doesn't match the spec (empty names). - TestPath ++ "wpt/cookies/disabled-chromium0022-test", %% Nonsense. - TestPath ++ "wpt/cookies/optional-domain0042-test" %% Doesn't match the spec (empty domain override). + TestPath ++ "wpt/cookies/disabled-chromium0020-test", %% Maximum cookie name of 4096 characters. + TestPath ++ "wpt/cookies/disabled-chromium0022-test" %% Nonsense. ]. wpt_http_state_test_() -> |