Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
39
gaia/dev_apps/uitest/tests_html/API/audiotag.html
Executable file
39
gaia/dev_apps/uitest/tests_html/API/audiotag.html
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Audio Tag test</title>
|
||||
<script defer src="../../js/API/audiotag.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
</head>
|
||||
<body>
|
||||
<fieldset>
|
||||
<legend><b>classic.ogg</b></legend>
|
||||
<button data-fn="play" data-src="classic.ogg">Play</button>
|
||||
</fieldset>
|
||||
<div>
|
||||
<fieldset>
|
||||
<legend><b>AC_prgrssv__Retro_Alarm_<br>Clock_v02_SOFT.ogg</b></legend>
|
||||
<button data-fn="play" data-src="AC_prgrssv__Retro_Alarm_Clock_v02_SOFT.ogg">Play</button></p>
|
||||
</fieldset>
|
||||
</div>
|
||||
<fieldset>
|
||||
<legend><b>AC_progressive_dapple10.ogg</b></legend>
|
||||
<button data-fn="play" data-src="AC_progressive_dapple10.ogg">Play</button></p>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend><b>AC_progressive_shimmer07.ogg</b></legend>
|
||||
<button data-fn="play" data-src="AC_progressive_shimmer07.ogg">Play</button></p>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend><b>ALARM_progressive_dapple.mp3</b></legend>
|
||||
<button data-fn="play" data-src="ALARM_progressive_dapple.mp3">Play</button></p>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend><b>ALARM_progressive2_dapple.mp3</b></legend>
|
||||
<button data-fn="play" data-src="ALARM_progressive2_dapple.mp3">Play</button></p>
|
||||
</fieldset>
|
||||
</body>
|
||||
</html>
|
||||
17
gaia/dev_apps/uitest/tests_html/API/browseractivities.html
Executable file
17
gaia/dev_apps/uitest/tests_html/API/browseractivities.html
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Browser Web Activities Test</title>
|
||||
<script defer src="../../js/API/browseractivities.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/input_areas.css">
|
||||
</head>
|
||||
<body>
|
||||
<h2>Go to:</h2>
|
||||
<p>URL: <input type="url" id="URL" value="http://" />
|
||||
<button id="go">Go</button></p>
|
||||
</body>
|
||||
</html>
|
||||
18
gaia/dev_apps/uitest/tests_html/API/composeemail.html
Executable file
18
gaia/dev_apps/uitest/tests_html/API/composeemail.html
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Compose Email test</title>
|
||||
<script defer src="../../js/API/composeemail.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Compose Email with 'new' activity:</h3>
|
||||
<button id="compose-email">Compose Email</button>
|
||||
<h3>Compose Email with mailto url link:</h3>
|
||||
<a href="mailto:example@example.org">Compose Email</a>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
38
gaia/dev_apps/uitest/tests_html/API/contacts.html
Executable file
38
gaia/dev_apps/uitest/tests_html/API/contacts.html
Executable file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Contacts testing tools</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
<!-- We don't need localization for this app. -->
|
||||
<script type="text/javascript" src="../../js/API/contacts.js"></script>
|
||||
<script type="text/javascript" src="../../js/API/contacts_saver.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
</head>
|
||||
<body>
|
||||
<fieldset>
|
||||
<legend><b>Contacts manipulation</b></legend>
|
||||
<section>
|
||||
Contacts inserted: <span id="insertion-count">None, yet.</span>
|
||||
<button id="insert-contacts">Insert fake contacts</button>
|
||||
<button id="insert-social-contacts">Insert Social Contacts</button>
|
||||
<button id="clear-contacts">Clear all contacts</button>
|
||||
<button id="get-contacts">Get all contacts</button>
|
||||
</section>
|
||||
</fieldset>
|
||||
<!-- Activities tests -->
|
||||
<fieldset>
|
||||
<legend><b>Activities tests</b></legend>
|
||||
<section>
|
||||
<p id="activities-result"></p>
|
||||
<button id="activities-pick">Pick a contact</button>
|
||||
<button id="activities-new">New contact</button>
|
||||
<button id="activities-update">Update contact with<br>phone</button>
|
||||
<button id="activities-update-email">Update contact with<br>email</button>
|
||||
<button id="activities-update-email-phone">Update contact with<br>phone and email</button>
|
||||
<button id="activities-new-data">New contact with<br>data</button>
|
||||
</section>
|
||||
</fieldset>
|
||||
</body>
|
||||
</html>
|
||||
24
gaia/dev_apps/uitest/tests_html/API/copypaste.html
Executable file
24
gaia/dev_apps/uitest/tests_html/API/copypaste.html
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Copy and paste test</title>
|
||||
<style>
|
||||
textarea {
|
||||
width: 100%;
|
||||
height: 50rem;
|
||||
overflow: scroll;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<textarea id="textarea">Hollywood, California (CNN) -- Actor Brad Pitt was struck in the face as he was signing autographs at a movie premiere Wednesday, Los Angeles police said.' +
|
||||
'Pitt was at the Hollywood premiere of "Maleficent," starring his partner Angelina Jolie, when a man hopped a barrier and attacked the actor, Sgt. Leonard Calderon said.' +
|
||||
'Officers arrested the suspect, 25-year-old Vitalii Sediuk, on suspicion of battery.'+
|
||||
'Sediuk has a history of confronting celebrities at red carpet events. In 2012, he was slapped by actor Will Smith after he attempted to kiss Smith.'+
|
||||
'At the 2013 Grammy Awards, Sediuk charged the stage before singer Adele could accept her award.' +
|
||||
'Sediuk also hugged actors Leonardo DiCaprio and Bradley Cooper around the knees at separate events earlier this year.' +
|
||||
'Most recently, he put his head up America Ferraras dress at the Cannes premiere of "How to Train Your Dragon 2" last week.' +
|
||||
'After the attack Wednesday evening, Pitt and Jolie continued walking the blue carpet. Neither appeared to look fazed by the incident."</textarea>
|
||||
</body>
|
||||
</html>
|
||||
18
gaia/dev_apps/uitest/tests_html/API/csp.html
Executable file
18
gaia/dev_apps/uitest/tests_html/API/csp.html
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>CSP Warning</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>CSP Warning test</h1>
|
||||
<p id="text">This line should not be removed by Javascript.</p>
|
||||
<script>
|
||||
window.onload = function () {
|
||||
document.getElementById('text').textContent =
|
||||
'Error! CSP violation is executed!';
|
||||
};
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
15
gaia/dev_apps/uitest/tests_html/API/dialnumber.html
Executable file
15
gaia/dev_apps/uitest/tests_html/API/dialnumber.html
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Dial Number test</title>
|
||||
<script defer src="../../js/API/dialnumber.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
</head>
|
||||
<body>
|
||||
<button id="dial">Dial Number</button>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
29
gaia/dev_apps/uitest/tests_html/API/downloads.html
Executable file
29
gaia/dev_apps/uitest/tests_html/API/downloads.html
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Download test tools</title>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
<script defer type="text/javascript" src="/shared/js/lazy_loader.js"></script>
|
||||
<script defer type="text/javascript" src="../../js/API/downloads.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Wait few seconds for initializing the download</h3>
|
||||
<fieldset>
|
||||
<legend>Choose one to download</legend>
|
||||
<section>
|
||||
<a download="Toast.doc" href="http://owd.tid.es/dm/Toast.doc">
|
||||
<button>DOC (450KB)</button>
|
||||
</a>
|
||||
<a download="clipcanvas_14348_H264_320x180.mp4" href="http://owd.tid.es/dm/clipcanvas_14348_H264_320x180.mp4">
|
||||
<button>MP4(1.1 MB)</button>
|
||||
</a>
|
||||
</section>
|
||||
</fieldset>
|
||||
<div>
|
||||
<button id="downloadStatus" disabled="true">Status</button>
|
||||
<button id="downloadDelete" disabled="true">Delete download</button>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
31
gaia/dev_apps/uitest/tests_html/API/fxa.html
Executable file
31
gaia/dev_apps/uitest/tests_html/API/fxa.html
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>FxA Sign-in Demo</title>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API/identity.css">
|
||||
<script type="text/javascript" src="../../js/API/fxa.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="panel">
|
||||
<fieldset>
|
||||
<legend>Request tests</legend>
|
||||
<section>
|
||||
<button id="request"><code>request()</code></button>
|
||||
<button id="logout"><code>logout()</button>
|
||||
</section>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="panel">
|
||||
<fieldset>
|
||||
<legend>Events</legend>
|
||||
<ol id="event-stream">
|
||||
<li>Page render</li>
|
||||
</ol>
|
||||
</fieldset>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
16
gaia/dev_apps/uitest/tests_html/API/geolocation.html
Executable file
16
gaia/dev_apps/uitest/tests_html/API/geolocation.html
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Geolocation test</title>
|
||||
<script defer src="../../js/API/geolocation.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
</head>
|
||||
<body>
|
||||
Latitude:<label id="lati"></label><br /><br />
|
||||
Longitude:<label id="longi"></label><br /><br />
|
||||
<button id="submit">Find Location</button>
|
||||
</body>
|
||||
</html>
|
||||
39
gaia/dev_apps/uitest/tests_html/API/getusermedia.html
Executable file
39
gaia/dev_apps/uitest/tests_html/API/getusermedia.html
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>gUM Test Page</title>
|
||||
<script defer src="../../js/API/getusermedia.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="center">
|
||||
Modified from <a href="http://mozilla.github.io/webrtc-landing/gum_test.html" target="_blank">gUM test page</a><br>
|
||||
Note: Audio will feedback unless you use a headset!<br>
|
||||
<div id="contents"></div>
|
||||
<fieldset id="content_template" class="hidden">
|
||||
<div data-type="media" class="block">
|
||||
<div data-type="video-frame">
|
||||
<video width="320" height="240"></video>
|
||||
<div data-type="snapshots-frames" class="block"></div>
|
||||
</div>
|
||||
<audio controls="true"></audio>
|
||||
</div>
|
||||
<div data-type="message"></div>
|
||||
<div data-type="startbuttons" class="block">
|
||||
<button data-type="startVideoButton">Video</button>
|
||||
<button data-type="startAudioButton">Audio</button>
|
||||
<button data-type="startAudioVideoButton">Audio & Video</button>
|
||||
<button data-type="startDoubleRequest">Double Prompt</button>
|
||||
</div>
|
||||
<div data-type="stopbuttons" class="hidden">
|
||||
<button data-type="stopButton">Stop</button>
|
||||
<button data-type="pauseButton">Pause/Play</button>
|
||||
<button data-type="snapshotButton">Snapshot</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
12
gaia/dev_apps/uitest/tests_html/API/httpauthentication.html
Executable file
12
gaia/dev_apps/uitest/tests_html/API/httpauthentication.html
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>HTTP authentication test</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>HTTP Authetication Test</h1>
|
||||
<a href="https://phonebook.mozilla.org">Authentication needed!</a>
|
||||
</body>
|
||||
</html>
|
||||
38
gaia/dev_apps/uitest/tests_html/API/identity-get.html
Executable file
38
gaia/dev_apps/uitest/tests_html/API/identity-get.html
Executable file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Identity Demo: get() API</title>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API/identity.css">
|
||||
<script defer type="text/javascript" src="../../js/API/identity-get.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<fieldset>
|
||||
<legend>Options</legend>
|
||||
<div><label for="issuer-name">Force Issuer:</label><input type="text" id="issuer-name" value="" class="textfield"/></div>
|
||||
<div><label for="unverified-ok">Allow Unverified:</label><input type="checkbox" id="unverified-ok"/></div>
|
||||
</fieldset>
|
||||
<div class="panel">
|
||||
<fieldset>
|
||||
<legend>Get tests</legend>
|
||||
<section>
|
||||
<button id="t-get">Standard<br>(verified email)</button>
|
||||
<button id="t-get-allowUnverified">Unverified</button>
|
||||
<button id="t-get-forceIssuer">Force issuer</button>
|
||||
<button id="t-get-forceIssuer-allowUnverified">Force issuer<br>(unverified)</button>
|
||||
</section>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="panel">
|
||||
<fieldset>
|
||||
<legend>Events</legend>
|
||||
<ol id="event-stream">
|
||||
<li>Page render</li>
|
||||
</ol>
|
||||
</fieldset>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
40
gaia/dev_apps/uitest/tests_html/API/identity.html
Executable file
40
gaia/dev_apps/uitest/tests_html/API/identity.html
Executable file
|
|
@ -0,0 +1,40 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Identity Demo</title>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API/identity.css">
|
||||
<script type="text/javascript" src="../../js/API/identity.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<fieldset>
|
||||
<legend>Options</legend>
|
||||
<div><label for="issuer-name">Force Issuer:</label><input type="text" id="issuer-name" value="" class="textfield"/></div>
|
||||
<div><label for="unverified-ok">Allow Unverified:</label><input type="checkbox" id="unverified-ok"/></div>
|
||||
</fieldset>
|
||||
<div class="panel">
|
||||
<fieldset>
|
||||
<legend>Request tests</legend>
|
||||
<section>
|
||||
<button id="t-request">Standard<br>(verified email)</button>
|
||||
<button id="t-request-withOnCancel">With <code>oncancel</code><br>handler</button>
|
||||
<button id="t-request-allowUnverified">Unverified</button>
|
||||
<button id="t-request-forceIssuer">Force issuer</button>
|
||||
<button id="t-request-forceIssuer-allowUnverified">Force issuer<br>(unverified)</button>
|
||||
<button id="t-logout">Logout</button></li>
|
||||
</section>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="panel">
|
||||
<fieldset>
|
||||
<legend>Events</legend>
|
||||
<ol id="event-stream">
|
||||
<li>Page render</li>
|
||||
</ol>
|
||||
</fieldset>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
15
gaia/dev_apps/uitest/tests_html/API/inlineactivities.html
Executable file
15
gaia/dev_apps/uitest/tests_html/API/inlineactivities.html
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Inline Activities Test</title>
|
||||
<script defer src="../../js/API/inlineactivities.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<p><button id="go">Inline Activities Test</button></p>
|
||||
<p><strong>Received: </strong><span id="result"></span></p>
|
||||
</body>
|
||||
</html>
|
||||
14
gaia/dev_apps/uitest/tests_html/API/multiactivities.html
Executable file
14
gaia/dev_apps/uitest/tests_html/API/multiactivities.html
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Multi Activities test</title>
|
||||
<script defer src="../../js/API/multiactivities.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<button id="go">Multi Activities Test</button></p>
|
||||
</body>
|
||||
</html>
|
||||
17
gaia/dev_apps/uitest/tests_html/API/openaudio.html
Executable file
17
gaia/dev_apps/uitest/tests_html/API/openaudio.html
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Open Audio</title>
|
||||
<script defer src="../../js/API/openaudio.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API/openaudio.css">
|
||||
</head>
|
||||
<body>
|
||||
<p><button id="open">Open audio</button>
|
||||
<p><button id="opensavefile">Open audio<br>with Save option</button>
|
||||
<p><button id="opensaveblob">Open audio<br>With Save option<br>(requires network)</button>
|
||||
</body>
|
||||
</html>
|
||||
15
gaia/dev_apps/uitest/tests_html/API/openvideo.html
Executable file
15
gaia/dev_apps/uitest/tests_html/API/openvideo.html
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Open Video</title>
|
||||
<script defer src="../../js/API/openvideo.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<p><button id="open">Open video</button>
|
||||
<p><button id="opensave">Open video<br>With Save option</button>
|
||||
</body>
|
||||
</html>
|
||||
45
gaia/dev_apps/uitest/tests_html/API/orientation.html
Executable file
45
gaia/dev_apps/uitest/tests_html/API/orientation.html
Executable file
|
|
@ -0,0 +1,45 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Alert/prompt test</title>
|
||||
<script defer src="../../js/API/orientation.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API/orientation.css">
|
||||
</head>
|
||||
<body>
|
||||
<h2>Call on mozbrowser frame:</h2>
|
||||
<fieldset>
|
||||
<legend>Single orientation lock</legend>
|
||||
<section>
|
||||
<button id="lock1">portrait
|
||||
<button id="lock2">landscape
|
||||
<button id="lock3">portrait-primary
|
||||
<button id="lock4">portrait-secondary
|
||||
<button id="lock5">landscape-primary
|
||||
<button id="lock6">landscape-secondary
|
||||
</section>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Double orientations locks</legend>
|
||||
<section>
|
||||
<button id="lock7">portrait<br>+landscape-primary
|
||||
<button id="lock8">portrait<br>+landscape-secondary
|
||||
<button id="lock9">landscape<br>+portrait-primary
|
||||
<button id="lock10">landscape<br>+portrait-secondary
|
||||
<button id="lock11">portrait-primary<br>+landscape-primary
|
||||
<button id="lock12">portrait-secondary<br>+landscape-primary
|
||||
<button id="lock13">portrait-primary<br>+landscape-secondary
|
||||
<button id="lock14">portrait-secondary<br>+landscape-secondary
|
||||
</section>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Unlock</legend>
|
||||
<section>
|
||||
<button id="unlock">Unlock</button>
|
||||
</section>
|
||||
</fieldset>
|
||||
</body>
|
||||
</html>
|
||||
33
gaia/dev_apps/uitest/tests_html/API/pay.html
Executable file
33
gaia/dev_apps/uitest/tests_html/API/pay.html
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Payment Demo</title>
|
||||
<script type="text/javascript" src="../../js/API/pay.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
(PMPP = Public Mock Payment Provider)
|
||||
</div>
|
||||
<div>
|
||||
<span id="result"></span>
|
||||
</div>
|
||||
<div>
|
||||
<button id="test-pmpp" type=button>
|
||||
Successful mozPay call
|
||||
</button>
|
||||
<button id="tests-invalid" type=button>
|
||||
Pay with<br>invalid JWT
|
||||
</button>
|
||||
<button id="test-nojwt" type=button>
|
||||
Pay with<br>no JWT
|
||||
</button>
|
||||
<button id="test-repeated" type=button>
|
||||
Pay with<br>repeated Mock JWT
|
||||
</button>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
17
gaia/dev_apps/uitest/tests_html/API/pickdownload.html
Executable file
17
gaia/dev_apps/uitest/tests_html/API/pickdownload.html
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Pick Downloads</title>
|
||||
<script defer src="../../js/API/pickdownload.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
Result: <span id="result"></span>
|
||||
</p>
|
||||
<button id="b1">Pick any file</button></p>
|
||||
</body>
|
||||
</html>
|
||||
22
gaia/dev_apps/uitest/tests_html/API/pickphoto.html
Executable file
22
gaia/dev_apps/uitest/tests_html/API/pickphoto.html
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Pick Photo test</title>
|
||||
<script defer src="../../js/API/pickphoto.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
Result: <img id="result"></img>
|
||||
</p>
|
||||
<button id="b1">Pick image/jpeg</button></p>
|
||||
<button id="b2">Pick image/png</button></p>
|
||||
<button id="b3">Pick either</button></p>
|
||||
<button id="b4">Pick any</button></p>
|
||||
<button id="b5">Pick without crop</button></p>
|
||||
<button id="b6">Pick small</button></p>
|
||||
</body>
|
||||
</html>
|
||||
21
gaia/dev_apps/uitest/tests_html/API/picktype.html
Executable file
21
gaia/dev_apps/uitest/tests_html/API/picktype.html
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Pick Photo/Video</title>
|
||||
<script defer src="../../js/API/picktype.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
Result: <img id="result"></img>
|
||||
</p>
|
||||
<button id="b1">Pick any photo/video</button></p>
|
||||
<button id="b2">Pick any video/photo</button></p>
|
||||
<button id="b3">Pick jpg/any video</button></p>
|
||||
<button id="b4">Pick png/any video</button></p>
|
||||
<button id="b5">Pick any photo/3gpp</button></p>
|
||||
</body>
|
||||
</html>
|
||||
18
gaia/dev_apps/uitest/tests_html/API/pickvideo.html
Executable file
18
gaia/dev_apps/uitest/tests_html/API/pickvideo.html
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Pick Video test</title>
|
||||
<script defer src="../../js/API/pickvideo.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
Result: <img id="result"></img>
|
||||
</p>
|
||||
<button id="b1">Pick video/3gpp</button></p>
|
||||
<button id="b2">Pick any</button></p>
|
||||
</body>
|
||||
</html>
|
||||
15
gaia/dev_apps/uitest/tests_html/API/presentation_api.html
Executable file
15
gaia/dev_apps/uitest/tests_html/API/presentation_api.html
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Presentation API Discovery</title>
|
||||
<script defer src="../../js/API/presentation_api.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
</head>
|
||||
<body>
|
||||
<button id="discovery">Force Discovery</button>
|
||||
<ol id="devices"></ol>
|
||||
</body>
|
||||
</html>
|
||||
15
gaia/dev_apps/uitest/tests_html/API/savebookmark.html
Executable file
15
gaia/dev_apps/uitest/tests_html/API/savebookmark.html
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Save bookmark</title>
|
||||
<script src="../../js/API/savebookmark.js" defer></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Save bookmark google</h1>
|
||||
<p><button id="save">Save</button></p>
|
||||
</body>
|
||||
</html>
|
||||
16
gaia/dev_apps/uitest/tests_html/API/search.html
Executable file
16
gaia/dev_apps/uitest/tests_html/API/search.html
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Search keyword</title>
|
||||
<script src="../../js/API/search.js" defer></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<h2>Search keyword through default provider</h2>
|
||||
<input id="search_area" type="text" value="mozilla">
|
||||
<p><button id="search">Search</button></p>
|
||||
</body>
|
||||
</html>
|
||||
25
gaia/dev_apps/uitest/tests_html/API/secure_element.html
Executable file
25
gaia/dev_apps/uitest/tests_html/API/secure_element.html
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Secure Element (Wallet) test</title>
|
||||
<script defer src="../../js/API/secure_element_utils.js"></script>
|
||||
<script defer src="../../js/API/secure_element.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<section role="region">
|
||||
<header>
|
||||
<h1>Payment applets</h1>
|
||||
</header>
|
||||
<section>
|
||||
<article id="applets-view">
|
||||
<p class="success"></p>
|
||||
<p class="error"></p>
|
||||
<div class="tiny"></div>
|
||||
</article>
|
||||
</section>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
15
gaia/dev_apps/uitest/tests_html/API/sendsms.html
Executable file
15
gaia/dev_apps/uitest/tests_html/API/sendsms.html
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Send SMS test</title>
|
||||
<script defer src="../../js/API/sendsms.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<button id="send-sms">Send SMS</button>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
16
gaia/dev_apps/uitest/tests_html/API/shareimage.html
Executable file
16
gaia/dev_apps/uitest/tests_html/API/shareimage.html
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Share Image test</title>
|
||||
<script defer src="../../js/API/shareimage.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<img id="image-to-share" src="/style/images/canardpc.jpg" alt="">
|
||||
<button id="share-image">Share Blob Image</button>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
14
gaia/dev_apps/uitest/tests_html/API/shareurl.html
Executable file
14
gaia/dev_apps/uitest/tests_html/API/shareurl.html
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>Share URL test</title>
|
||||
<script defer src="../../js/API/shareurl.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<button id="share">Share URL</button>
|
||||
</body>
|
||||
</html>
|
||||
16
gaia/dev_apps/uitest/tests_html/API/viewphoto.html
Executable file
16
gaia/dev_apps/uitest/tests_html/API/viewphoto.html
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>View Image</title>
|
||||
<script defer src="../../js/API/viewphoto.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<p><button id="view">View image</button>
|
||||
<p><button id="viewError">View Error Image</button>
|
||||
<p><button id="viewsave">View with Save option</button>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in a new issue