mirror of
https://github.com/SEPPDROID/JellyCAT.git
synced 2025-10-26 18:04:09 +00:00
Some testing & cleanup
This commit is contained in:
8
app/xml/dvt/jsvtestpage.xml
Normal file
8
app/xml/dvt/jsvtestpage.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<atv>
|
||||
<body>
|
||||
<scriptView id="com.jellycat.jsctestpage">
|
||||
<script src="http://jcathost.dns/js/jsvtestpage.js"/>
|
||||
</scriptView>
|
||||
</body>
|
||||
</atv>
|
||||
29
app/xml/dvt/storagetest.xml
Normal file
29
app/xml/dvt/storagetest.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<atv>
|
||||
<head>
|
||||
<script src="http://jcathost.dns/js/jcm.js"/>
|
||||
<script src="http://jcathost.dns/js/storagetest.js"/>
|
||||
</head>
|
||||
<body>
|
||||
<optionList id="com.jellycat.storagetestpage" autoSelectSingleItem="false">
|
||||
<footnote>atv.localstorage || storage data elements || JellyCAT</footnote>
|
||||
<items>
|
||||
<oneLineMenuItem id="list_0" accessibilityLabel="Set test session storage key" onSelect="setTestSessionStorageItem();">
|
||||
<label>Set ATV APP session storage key (test)</label>
|
||||
</oneLineMenuItem>
|
||||
<oneLineMenuItem id="list_0" accessibilityLabel="Set test local storage key" onSelect="setTestLocalStorageItem();">
|
||||
<label>Set ATV APP local storage key (test)</label>
|
||||
</oneLineMenuItem>
|
||||
<oneLineMenuItem id="list_1" accessibilityLabel="Print session storage (log)" onSelect="printSessionStorage();">
|
||||
<label>Print ATV App session storage (log)</label>
|
||||
</oneLineMenuItem>
|
||||
<oneLineMenuItem id="list_2" accessibilityLabel="Print ATV storage (log)" onSelect="printLocalStorage();">
|
||||
<label>Print ATV App local storage (log)</label>
|
||||
</oneLineMenuItem>
|
||||
<oneLineMenuItem id="list_3" accessibilityLabel="Clear ATV Storage and exit" onSelect="console.log('CLEARING ALL APP STORAGE AND EXITING APP'); atv.localStorage.clear(); atv.sessionStorage.clear(); atv.exitApp();">
|
||||
<label>Clear ATV App Storage and exit App</label>
|
||||
</oneLineMenuItem>
|
||||
</items>
|
||||
</optionList>
|
||||
</body>
|
||||
</atv>
|
||||
9
app/xml/dvt/testpage.xml
Normal file
9
app/xml/dvt/testpage.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<atv>
|
||||
<body>
|
||||
<dialog id="com.jellycat.xmltestpage">
|
||||
<title>XML Test-Page Not Implemented</title>
|
||||
<description>The feed for this page has not been written. (but works)</description>
|
||||
</dialog>
|
||||
</body>
|
||||
</atv>
|
||||
Reference in New Issue
Block a user