mozilla/KitchenSink — pull request #11 by zalun (2013-05-17 13:25:19+00:00)
Title: Sending results to the collection server

Sending results to the collection server
https://github.com/mozilla/KitchenSinkServer running on 127.0.0.1:8093

All runTests is now sending callbacks after receiving all results (or
timeout)

Data format is defined in KitchenSinkServer
{
test_result: // JSON.stringify({
{api_name}: {
"preparation": (-1/0/1), # -1: no preparation needed
# 0: not prepared (and it should)
# 1: prepared
"tests": {
{testName}: (0/1), # 0: failed
# 1: passed
...
},
("timeout": 1) # any test interrupted by setTimeout
},
...
}),
device: // currently null, we might have some way to provide the model,
phone: // uri identifying the app in collection server,
app_version: // version of the kitchensink app,
user_agent: // navigator.userAgent
}

* few test callbacks fixed
* wifi manage removed from manifest as it needs certified app
* settings is showing up as a dark modal
* switching certified from the settings page
* set the default setting state