Skip to content

Loading…

Bug: 814140 fixes #6867

Merged
merged 2 commits into from

1 participant

@dclarke

A patch to install mochi.test as an external app.
The concept here is there are already test apps that won't be deployed inside the external directory.

This is a low risk patch to take.

There is another effort that should be made to split the external apps directory into

--> external apps that are for test & dev
--> external apps that are shipping on device.

David Clarke added some commits
David Clarke Bug: 814140 install mochi.test web app efeb37f
David Clarke Bug: 814140 mozapp needs to be set when iframe is opened. The mozapp …
…attribute cannot be changed or added after the iframe is initialized
c48989a
@dclarke dclarke merged commit 0e4afcb into mozilla-b2g:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 6, 2012
  1. Bug: 814140 install mochi.test web app

    David Clarke committed
  2. Bug: 814140 mozapp needs to be set when iframe is opened. The mozapp …

    David Clarke committed
    …attribute cannot be changed or added after the iframe is initialized
Showing with 41 additions and 1 deletion.
  1. +38 −0 external-apps/mochitest/manifest.webapp
  2. +1 −0 external-apps/mochitest/origin
  3. +2 −1 test_apps/test-container/index.html
View
38 external-apps/mochitest/manifest.webapp
@@ -0,0 +1,38 @@
+{
+ "name": "Mochitest",
+ "description": "Mochitests",
+ "type": "certified",
+ "developer": {
+ "name": "The Ateam",
+ "url": "https://wiki.mozilla.org/Auto-tools"
+ },
+ "permissions": {
+ "alarms": {},
+ "browser":{},
+ "power":{},
+ "webapps-manage":{},
+ "mobileconnection":{},
+ "mozBluetooth":{},
+ "bluetooth":{},
+ "telephony":{},
+ "voicemail":{},
+ "device-storage:pictures":{ "access": "readwrite" },
+ "settings":{ "access": "readwrite" },
+ "storage":{},
+ "camera":{},
+ "geolocation":{},
+ "wifi-manage":{},
+ "wifi":{},
+ "desktop-notification":{},
+ "idle":{},
+ "network-events":{},
+ "embed-apps":{}
+ },
+ "locales": {
+ "en-US": {
+ "name": "Mochitest",
+ "description": "Mochitests"
+ }
+ },
+ "default_locale": "en-US"
+}
View
1 external-apps/mochitest/origin
@@ -0,0 +1 @@
+http://mochi.test:8888/
View
3 test_apps/test-container/index.html
@@ -12,6 +12,7 @@
</style>
</head>
<body>
- <iframe id="test-container" remote="true" mozbrowser></iframe>
+ <iframe id="test-container" mozbrowser mozapp="http://mochi.test:8888/ma
</body>
+
</html>
Something went wrong with that request. Please try again.