Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(351)

Side by Side Diff: ManualTests/blackberry/clear-localstorage.html

Issue 780003004: Cleanup: Remove notification test from blackberry. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: g rm -rf ManualTests/blackberry Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p>This test case is used to test the function of clear local storage by cli cking "Clear Local Storage" button
5 from Settings -> Privacy & Security. This is for <a href="https://bugs.webki t.org/show_bug.cgi?id=83253">https://bugs.webkit.org/show_bug.cgi?id=83253</a></ p>
6 <div>
7 <script type="text/javascript">
8 if (!sessionStorage.getItem("key")) {
9 // initialize test case
10 document.write("Status: <span style='color:yellow'>Initial</span>");
11 sessionStorage.setItem("key", "value");
12 localStorage.setItem("key", "value");
13
14 // notify to clear the local storage and refresh the page.
15 document.write("<p>Please clear the local storage from Settings -> Priva cy & Security by pressing \"Clear Local Storage\" button, then reload this page to see the result.</p>");
16 } else {
17 document.write("Result: ");
18 if (!localStorage.getItem("key")) {
19 // success
20 document.write("<span style='color:green'>PASS</span>");
21 } else {
22 // fail
23 document.write("<span style='color:red'>FAIL</span>");
24 }
25 document.write("<p>If you want to run this test case again, please resta rt the browser.</p>");
26 }
27 </script>
28 </div>
29 </body>
30 </html>
OLDNEW
« no previous file with comments | « ManualTests/blackberry/clear-cookie-refresh-result.php ('k') | ManualTests/blackberry/head-xhr-nonexistant-file.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698