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
49
gaia/dev_apps/test-agent/common/test/boilerplate/_proxy.html
Executable file
49
gaia/dev_apps/test-agent/common/test/boilerplate/_proxy.html
Executable file
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<title>Serve the tests</title>
|
||||
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
(function(window){
|
||||
var Loader = window.CommonResourceLoader = {},
|
||||
host = document.location.host,
|
||||
domain = host;
|
||||
|
||||
Loader.domain = document.location.protocol + '//' + domain;
|
||||
Loader.url = function(url){
|
||||
return this.domain + url;
|
||||
}
|
||||
|
||||
Loader.script = function(url, doc){
|
||||
doc = doc || document;
|
||||
doc.write('<script type="application/javascript;version=1.8" src="' + this.url(url) + '"><\/script>');
|
||||
return this;
|
||||
};
|
||||
}(this));
|
||||
</script>
|
||||
|
||||
<style type="text/css" media="all">
|
||||
html,body,iframe {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- Test Agent UI will be loaded in here -->
|
||||
<div id="test-agent-ui">
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
CommonResourceLoader.
|
||||
script('/common/test/test_url_resolver.js').
|
||||
script('/common/vendor/test-agent/test-agent.js').
|
||||
script('/common/test/agent_proxy.js');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
27
gaia/dev_apps/test-agent/common/test/boilerplate/_sandbox.html
Executable file
27
gaia/dev_apps/test-agent/common/test/boilerplate/_sandbox.html
Executable file
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<title>Tests</title>
|
||||
<style type="text/css" media="all">
|
||||
iframe {
|
||||
border: none;
|
||||
padding: 0px;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="mocha">
|
||||
</div>
|
||||
|
||||
<div id="test">
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Loading…
Reference in a new issue