summaryrefslogtreecommitdiffstats
path: root/LayoutTests/http/tests/cookies/script-tests/double-quoted-value-with-semi-colon.js
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/http/tests/cookies/script-tests/double-quoted-value-with-semi-colon.js')
-rw-r--r--LayoutTests/http/tests/cookies/script-tests/double-quoted-value-with-semi-colon.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/LayoutTests/http/tests/cookies/script-tests/double-quoted-value-with-semi-colon.js b/LayoutTests/http/tests/cookies/script-tests/double-quoted-value-with-semi-colon.js
new file mode 100644
index 0000000..9029875
--- /dev/null
+++ b/LayoutTests/http/tests/cookies/script-tests/double-quoted-value-with-semi-colon.js
@@ -0,0 +1,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;