summaryrefslogtreecommitdiffstats
path: root/LayoutTests/http/tests/cookies/script-tests/double-quoted-value-with-semi-colon.js
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-11-24 13:46:35 +0000
committerSteve Block <steveblock@google.com>2010-11-24 14:56:39 +0000
commit63796d97248956b9c06a7889b007b34bc8b486f4 (patch)
tree27ce93ae24d8d9b672c617fc5e02896f00a73a1c /LayoutTests/http/tests/cookies/script-tests/double-quoted-value-with-semi-colon.js
parent0c918ae77b5edfe59b726ff40a7c86dbc4a94307 (diff)
downloadexternal_webkit-63796d97248956b9c06a7889b007b34bc8b486f4.zip
external_webkit-63796d97248956b9c06a7889b007b34bc8b486f4.tar.gz
external_webkit-63796d97248956b9c06a7889b007b34bc8b486f4.tar.bz2
Add LayoutTests http/tests/cookies at r71558
All tests pass or have failing test expectations. Bug: 3227269 Change-Id: Ia0d58eb29d312c57c2f687e5431bb997b9433560
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;