From d061c424b0a3ce39a0c3ff4a5eaade1af79d177e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 12 Nov 2020 10:50:30 +0100 Subject: Enable optional0042 cookie test Cowlib master has the fix for this test. Temporarily depend on Cowlib master until a release is made. --- Makefile | 2 +- src/gun_cookies.erl | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 1075f53..08b9169 100644 --- a/Makefile +++ b/Makefile @@ -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_() -> -- cgit v1.2.3