mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-15 14:35:58 -10:00
Simple patch to correct errors in cookie host matching: 1. Match domains starting with a . in case this style was used e.g. .test.example.com 2. Match localhost URLS. MozReview-Commit-ID: 9qqnsNaW5oK
20 lines
413 B
HTML
20 lines
413 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>GCLI cookie command test</title>
|
|
</head>
|
|
<body>
|
|
|
|
<p>Cookie test</p>
|
|
<p id=result></p>
|
|
<script type="text/javascript">
|
|
document.cookie = "zap=zep";
|
|
document.cookie = "zip=zop";
|
|
document.cookie = "zig=zag; domain=.mochi.test";
|
|
document.getElementById("result").innerHTML = document.cookie;
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|