2019/manual/cookie.html (40 lines of code) (raw):
<!DOCTYPE html>
<!--
Copyright 2018 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Cookie Test</title>
<link rel="stylesheet" href="manual-page-style.css" type="text/css">
</head>
<body>
<div class="outer">
<div class="h1">Cookie Test</div>
<div class="padding"></div>
<div class="h2">* Tip: Longpress 'Back' key will move this page back to YTS Manual Test page.</div>
<div class="padding"></div>
<div class="h3">
<p>
This page displays the cookies that are set by YTS.<br/>
These cookies should persist until manually cleared, or expired.<br/>
YTS currently sets 2 cookies:
</p>
<p>1) PERSIST_THREE_DAYS, 2) PERSIST_ONE_YEAR</p>
<p>
These should be checked that they persist until they expire, or for
session cookies, persist until the browser is closed. <br/>
No other cookies should be accessible or viewable from this page!
</p>
<p></p>
<p>
Press LEFT to REFRESH PERSIST_THREE_DAYS cookie <br/>
Press RIGHT to REFRESH PERSIST_ONE_YEAR cookie <br/>
Press UP to REFRESH both cookies <br/>
</p>
<p id='message'></p>
<div id="display"> </div>
</div>
</div>
<script src="../harness/key.js"></script>
<script src="../harness/keyEvent.js"></script>
<script src="../lib/manual/cookie.js"></script>
</body>
</html>