summaryrefslogtreecommitdiffstats
path: root/LayoutTests/http/tests/cookies/script-tests/double-quoted-value-with-semi-colon.js
blob: 90298754d8fad34ad34097af911c641751e7b02d (plain)
1
2
3
4
5
6
7
8
9
10
11
description(
'Test for &lt;<a href="rdar://problem/5666078">rdar://problem/5666078</a>&gt; Cookie parsing terminates at the first semicolon, ignoring quotes (<a href="https://bugs.webkit.org/show_bug.cgi?id=16699">16699</a>)'
);

clearAllCookies();

debug("Check that setting a cookie with a semi-colon in a duoble-quoted value works");
cookiesShouldBe('disorder="477beccb;richard";Version=1;Path=/', 'disorder="477beccb;richard"');
clearCookies();

successfullyParsed = true;