gecko-dev/browser/devtools/webide/test/test_import.html

85 строки
3.1 KiB
HTML
Исходник Обычный вид История

Bug 1010387 - [appmgr v2] write tests and make good use of promises & tasks. r=janx r=jryans --- browser/devtools/app-manager/app-validator.js | 2 +- browser/devtools/webide/content/newapp.js | 30 +++- browser/devtools/webide/content/webide.js | 180 +++++++++++++++-------- browser/devtools/webide/modules/app-manager.js | 27 +++- browser/devtools/webide/moz.build | 1 + browser/devtools/webide/test/app.zip | Bin 0 -> 480 bytes browser/devtools/webide/test/app/index.html | 6 + browser/devtools/webide/test/app/manifest.webapp | 5 + browser/devtools/webide/test/chrome.ini | 13 ++ browser/devtools/webide/test/head.js | 81 ++++++++++ browser/devtools/webide/test/hosted_app.manifest | 3 + browser/devtools/webide/test/templates.json | 14 ++ browser/devtools/webide/test/test_basic.html | 39 +++++ browser/devtools/webide/test/test_import.html | 65 ++++++++ browser/devtools/webide/test/test_newapp.html | 48 ++++++ browser/devtools/webide/test/test_runtime.html | 118 +++++++++++++++ browser/devtools/webide/themes/details.css | 1 - browser/devtools/webide/themes/newapp.css | 4 - 18 files changed, 558 insertions(+), 79 deletions(-) create mode 100644 browser/devtools/webide/test/app.zip create mode 100644 browser/devtools/webide/test/app/index.html create mode 100644 browser/devtools/webide/test/app/manifest.webapp create mode 100644 browser/devtools/webide/test/chrome.ini create mode 100644 browser/devtools/webide/test/head.js create mode 100644 browser/devtools/webide/test/hosted_app.manifest create mode 100644 browser/devtools/webide/test/templates.json create mode 100644 browser/devtools/webide/test/test_basic.html create mode 100644 browser/devtools/webide/test/test_import.html create mode 100644 browser/devtools/webide/test/test_newapp.html create mode 100644 browser/devtools/webide/test/test_runtime.html
2014-05-21 11:29:43 +04:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title></title>
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
<script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
<script type="application/javascript;version=1.8" src="head.js"></script>
<link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
</head>
<body>
<script type="application/javascript;version=1.8">
window.onload = function() {
SimpleTest.waitForExplicitFinish();
Task.spawn(function*() {
let win = yield openWebIDE();
let packagedAppLocation = getTestFilePath("app");
Bug 1010387 - [appmgr v2] write tests and make good use of promises & tasks. r=janx r=jryans --- browser/devtools/app-manager/app-validator.js | 2 +- browser/devtools/webide/content/newapp.js | 30 +++- browser/devtools/webide/content/webide.js | 180 +++++++++++++++-------- browser/devtools/webide/modules/app-manager.js | 27 +++- browser/devtools/webide/moz.build | 1 + browser/devtools/webide/test/app.zip | Bin 0 -> 480 bytes browser/devtools/webide/test/app/index.html | 6 + browser/devtools/webide/test/app/manifest.webapp | 5 + browser/devtools/webide/test/chrome.ini | 13 ++ browser/devtools/webide/test/head.js | 81 ++++++++++ browser/devtools/webide/test/hosted_app.manifest | 3 + browser/devtools/webide/test/templates.json | 14 ++ browser/devtools/webide/test/test_basic.html | 39 +++++ browser/devtools/webide/test/test_import.html | 65 ++++++++ browser/devtools/webide/test/test_newapp.html | 48 ++++++ browser/devtools/webide/test/test_runtime.html | 118 +++++++++++++++ browser/devtools/webide/themes/details.css | 1 - browser/devtools/webide/themes/newapp.css | 4 - 18 files changed, 558 insertions(+), 79 deletions(-) create mode 100644 browser/devtools/webide/test/app.zip create mode 100644 browser/devtools/webide/test/app/index.html create mode 100644 browser/devtools/webide/test/app/manifest.webapp create mode 100644 browser/devtools/webide/test/chrome.ini create mode 100644 browser/devtools/webide/test/head.js create mode 100644 browser/devtools/webide/test/hosted_app.manifest create mode 100644 browser/devtools/webide/test/templates.json create mode 100644 browser/devtools/webide/test/test_basic.html create mode 100644 browser/devtools/webide/test/test_import.html create mode 100644 browser/devtools/webide/test/test_newapp.html create mode 100644 browser/devtools/webide/test/test_runtime.html
2014-05-21 11:29:43 +04:00
yield win.AppProjects.load();
is(win.AppProjects.store.object.projects.length, 0, "IDB is empty");
info("to call importPackagedApp(" + packagedAppLocation + ")");
ok(!win.UI._busyPromise, "UI is not busy");
yield win.projectList.importPackagedApp(packagedAppLocation);
yield waitForUpdate(win, "project-validated");
Bug 1010387 - [appmgr v2] write tests and make good use of promises & tasks. r=janx r=jryans --- browser/devtools/app-manager/app-validator.js | 2 +- browser/devtools/webide/content/newapp.js | 30 +++- browser/devtools/webide/content/webide.js | 180 +++++++++++++++-------- browser/devtools/webide/modules/app-manager.js | 27 +++- browser/devtools/webide/moz.build | 1 + browser/devtools/webide/test/app.zip | Bin 0 -> 480 bytes browser/devtools/webide/test/app/index.html | 6 + browser/devtools/webide/test/app/manifest.webapp | 5 + browser/devtools/webide/test/chrome.ini | 13 ++ browser/devtools/webide/test/head.js | 81 ++++++++++ browser/devtools/webide/test/hosted_app.manifest | 3 + browser/devtools/webide/test/templates.json | 14 ++ browser/devtools/webide/test/test_basic.html | 39 +++++ browser/devtools/webide/test/test_import.html | 65 ++++++++ browser/devtools/webide/test/test_newapp.html | 48 ++++++ browser/devtools/webide/test/test_runtime.html | 118 +++++++++++++++ browser/devtools/webide/themes/details.css | 1 - browser/devtools/webide/themes/newapp.css | 4 - 18 files changed, 558 insertions(+), 79 deletions(-) create mode 100644 browser/devtools/webide/test/app.zip create mode 100644 browser/devtools/webide/test/app/index.html create mode 100644 browser/devtools/webide/test/app/manifest.webapp create mode 100644 browser/devtools/webide/test/chrome.ini create mode 100644 browser/devtools/webide/test/head.js create mode 100644 browser/devtools/webide/test/hosted_app.manifest create mode 100644 browser/devtools/webide/test/templates.json create mode 100644 browser/devtools/webide/test/test_basic.html create mode 100644 browser/devtools/webide/test/test_import.html create mode 100644 browser/devtools/webide/test/test_newapp.html create mode 100644 browser/devtools/webide/test/test_runtime.html
2014-05-21 11:29:43 +04:00
let project = win.AppManager.selectedProject;
is(project.location, packagedAppLocation, "Location is valid");
is(project.name, "A name (in app directory)", "name field has been updated");
is(project.manifest.launch_path, "/index.html", "manifest found. launch_path valid.");
is(project.manifest.description, "desc", "manifest found. description valid");
Bug 1010387 - [appmgr v2] write tests and make good use of promises & tasks. r=janx r=jryans --- browser/devtools/app-manager/app-validator.js | 2 +- browser/devtools/webide/content/newapp.js | 30 +++- browser/devtools/webide/content/webide.js | 180 +++++++++++++++-------- browser/devtools/webide/modules/app-manager.js | 27 +++- browser/devtools/webide/moz.build | 1 + browser/devtools/webide/test/app.zip | Bin 0 -> 480 bytes browser/devtools/webide/test/app/index.html | 6 + browser/devtools/webide/test/app/manifest.webapp | 5 + browser/devtools/webide/test/chrome.ini | 13 ++ browser/devtools/webide/test/head.js | 81 ++++++++++ browser/devtools/webide/test/hosted_app.manifest | 3 + browser/devtools/webide/test/templates.json | 14 ++ browser/devtools/webide/test/test_basic.html | 39 +++++ browser/devtools/webide/test/test_import.html | 65 ++++++++ browser/devtools/webide/test/test_newapp.html | 48 ++++++ browser/devtools/webide/test/test_runtime.html | 118 +++++++++++++++ browser/devtools/webide/themes/details.css | 1 - browser/devtools/webide/themes/newapp.css | 4 - 18 files changed, 558 insertions(+), 79 deletions(-) create mode 100644 browser/devtools/webide/test/app.zip create mode 100644 browser/devtools/webide/test/app/index.html create mode 100644 browser/devtools/webide/test/app/manifest.webapp create mode 100644 browser/devtools/webide/test/chrome.ini create mode 100644 browser/devtools/webide/test/head.js create mode 100644 browser/devtools/webide/test/hosted_app.manifest create mode 100644 browser/devtools/webide/test/templates.json create mode 100644 browser/devtools/webide/test/test_basic.html create mode 100644 browser/devtools/webide/test/test_import.html create mode 100644 browser/devtools/webide/test/test_newapp.html create mode 100644 browser/devtools/webide/test/test_runtime.html
2014-05-21 11:29:43 +04:00
yield nextTick();
Bug 1010387 - [appmgr v2] write tests and make good use of promises & tasks. r=janx r=jryans --- browser/devtools/app-manager/app-validator.js | 2 +- browser/devtools/webide/content/newapp.js | 30 +++- browser/devtools/webide/content/webide.js | 180 +++++++++++++++-------- browser/devtools/webide/modules/app-manager.js | 27 +++- browser/devtools/webide/moz.build | 1 + browser/devtools/webide/test/app.zip | Bin 0 -> 480 bytes browser/devtools/webide/test/app/index.html | 6 + browser/devtools/webide/test/app/manifest.webapp | 5 + browser/devtools/webide/test/chrome.ini | 13 ++ browser/devtools/webide/test/head.js | 81 ++++++++++ browser/devtools/webide/test/hosted_app.manifest | 3 + browser/devtools/webide/test/templates.json | 14 ++ browser/devtools/webide/test/test_basic.html | 39 +++++ browser/devtools/webide/test/test_import.html | 65 ++++++++ browser/devtools/webide/test/test_newapp.html | 48 ++++++ browser/devtools/webide/test/test_runtime.html | 118 +++++++++++++++ browser/devtools/webide/themes/details.css | 1 - browser/devtools/webide/themes/newapp.css | 4 - 18 files changed, 558 insertions(+), 79 deletions(-) create mode 100644 browser/devtools/webide/test/app.zip create mode 100644 browser/devtools/webide/test/app/index.html create mode 100644 browser/devtools/webide/test/app/manifest.webapp create mode 100644 browser/devtools/webide/test/chrome.ini create mode 100644 browser/devtools/webide/test/head.js create mode 100644 browser/devtools/webide/test/hosted_app.manifest create mode 100644 browser/devtools/webide/test/templates.json create mode 100644 browser/devtools/webide/test/test_basic.html create mode 100644 browser/devtools/webide/test/test_import.html create mode 100644 browser/devtools/webide/test/test_newapp.html create mode 100644 browser/devtools/webide/test/test_runtime.html
2014-05-21 11:29:43 +04:00
let hostedAppManifest = TEST_BASE + "hosted_app.manifest";
yield win.projectList.importHostedApp(hostedAppManifest);
yield waitForUpdate(win, "project-validated");
Bug 1010387 - [appmgr v2] write tests and make good use of promises & tasks. r=janx r=jryans --- browser/devtools/app-manager/app-validator.js | 2 +- browser/devtools/webide/content/newapp.js | 30 +++- browser/devtools/webide/content/webide.js | 180 +++++++++++++++-------- browser/devtools/webide/modules/app-manager.js | 27 +++- browser/devtools/webide/moz.build | 1 + browser/devtools/webide/test/app.zip | Bin 0 -> 480 bytes browser/devtools/webide/test/app/index.html | 6 + browser/devtools/webide/test/app/manifest.webapp | 5 + browser/devtools/webide/test/chrome.ini | 13 ++ browser/devtools/webide/test/head.js | 81 ++++++++++ browser/devtools/webide/test/hosted_app.manifest | 3 + browser/devtools/webide/test/templates.json | 14 ++ browser/devtools/webide/test/test_basic.html | 39 +++++ browser/devtools/webide/test/test_import.html | 65 ++++++++ browser/devtools/webide/test/test_newapp.html | 48 ++++++ browser/devtools/webide/test/test_runtime.html | 118 +++++++++++++++ browser/devtools/webide/themes/details.css | 1 - browser/devtools/webide/themes/newapp.css | 4 - 18 files changed, 558 insertions(+), 79 deletions(-) create mode 100644 browser/devtools/webide/test/app.zip create mode 100644 browser/devtools/webide/test/app/index.html create mode 100644 browser/devtools/webide/test/app/manifest.webapp create mode 100644 browser/devtools/webide/test/chrome.ini create mode 100644 browser/devtools/webide/test/head.js create mode 100644 browser/devtools/webide/test/hosted_app.manifest create mode 100644 browser/devtools/webide/test/templates.json create mode 100644 browser/devtools/webide/test/test_basic.html create mode 100644 browser/devtools/webide/test/test_import.html create mode 100644 browser/devtools/webide/test/test_newapp.html create mode 100644 browser/devtools/webide/test/test_runtime.html
2014-05-21 11:29:43 +04:00
project = win.AppManager.selectedProject;
is(project.location, hostedAppManifest, "Location is valid");
is(project.name, "hosted manifest name property", "name field has been updated");
Bug 1010387 - [appmgr v2] write tests and make good use of promises & tasks. r=janx r=jryans --- browser/devtools/app-manager/app-validator.js | 2 +- browser/devtools/webide/content/newapp.js | 30 +++- browser/devtools/webide/content/webide.js | 180 +++++++++++++++-------- browser/devtools/webide/modules/app-manager.js | 27 +++- browser/devtools/webide/moz.build | 1 + browser/devtools/webide/test/app.zip | Bin 0 -> 480 bytes browser/devtools/webide/test/app/index.html | 6 + browser/devtools/webide/test/app/manifest.webapp | 5 + browser/devtools/webide/test/chrome.ini | 13 ++ browser/devtools/webide/test/head.js | 81 ++++++++++ browser/devtools/webide/test/hosted_app.manifest | 3 + browser/devtools/webide/test/templates.json | 14 ++ browser/devtools/webide/test/test_basic.html | 39 +++++ browser/devtools/webide/test/test_import.html | 65 ++++++++ browser/devtools/webide/test/test_newapp.html | 48 ++++++ browser/devtools/webide/test/test_runtime.html | 118 +++++++++++++++ browser/devtools/webide/themes/details.css | 1 - browser/devtools/webide/themes/newapp.css | 4 - 18 files changed, 558 insertions(+), 79 deletions(-) create mode 100644 browser/devtools/webide/test/app.zip create mode 100644 browser/devtools/webide/test/app/index.html create mode 100644 browser/devtools/webide/test/app/manifest.webapp create mode 100644 browser/devtools/webide/test/chrome.ini create mode 100644 browser/devtools/webide/test/head.js create mode 100644 browser/devtools/webide/test/hosted_app.manifest create mode 100644 browser/devtools/webide/test/templates.json create mode 100644 browser/devtools/webide/test/test_basic.html create mode 100644 browser/devtools/webide/test/test_import.html create mode 100644 browser/devtools/webide/test/test_newapp.html create mode 100644 browser/devtools/webide/test/test_runtime.html
2014-05-21 11:29:43 +04:00
yield nextTick();
hostedAppManifest = TEST_BASE + "/app";
yield win.projectList.importHostedApp(hostedAppManifest);
yield waitForUpdate(win, "project-validated");
project = win.AppManager.selectedProject;
ok(project.location.endsWith('manifest.webapp'), "The manifest was found and the project was updated");
info("opening panel");
yield win.Cmds.showProjectPanel();
info("panel open");
Bug 1010387 - [appmgr v2] write tests and make good use of promises & tasks. r=janx r=jryans --- browser/devtools/app-manager/app-validator.js | 2 +- browser/devtools/webide/content/newapp.js | 30 +++- browser/devtools/webide/content/webide.js | 180 +++++++++++++++-------- browser/devtools/webide/modules/app-manager.js | 27 +++- browser/devtools/webide/moz.build | 1 + browser/devtools/webide/test/app.zip | Bin 0 -> 480 bytes browser/devtools/webide/test/app/index.html | 6 + browser/devtools/webide/test/app/manifest.webapp | 5 + browser/devtools/webide/test/chrome.ini | 13 ++ browser/devtools/webide/test/head.js | 81 ++++++++++ browser/devtools/webide/test/hosted_app.manifest | 3 + browser/devtools/webide/test/templates.json | 14 ++ browser/devtools/webide/test/test_basic.html | 39 +++++ browser/devtools/webide/test/test_import.html | 65 ++++++++ browser/devtools/webide/test/test_newapp.html | 48 ++++++ browser/devtools/webide/test/test_runtime.html | 118 +++++++++++++++ browser/devtools/webide/themes/details.css | 1 - browser/devtools/webide/themes/newapp.css | 4 - 18 files changed, 558 insertions(+), 79 deletions(-) create mode 100644 browser/devtools/webide/test/app.zip create mode 100644 browser/devtools/webide/test/app/index.html create mode 100644 browser/devtools/webide/test/app/manifest.webapp create mode 100644 browser/devtools/webide/test/chrome.ini create mode 100644 browser/devtools/webide/test/head.js create mode 100644 browser/devtools/webide/test/hosted_app.manifest create mode 100644 browser/devtools/webide/test/templates.json create mode 100644 browser/devtools/webide/test/test_basic.html create mode 100644 browser/devtools/webide/test/test_import.html create mode 100644 browser/devtools/webide/test/test_newapp.html create mode 100644 browser/devtools/webide/test/test_runtime.html
2014-05-21 11:29:43 +04:00
let panelNode = win.document.querySelector("#project-panel");
let items = panelNode.querySelectorAll(".panel-item");
// 3 controls, + 2 projects
is(items.length, 6, "6 projects in panel");
is(items[3].getAttribute("label"), "A name (in app directory)", "Panel label is correct");
is(items[4].getAttribute("label"), "hosted manifest name property", "Panel label is correct");
Bug 1010387 - [appmgr v2] write tests and make good use of promises & tasks. r=janx r=jryans --- browser/devtools/app-manager/app-validator.js | 2 +- browser/devtools/webide/content/newapp.js | 30 +++- browser/devtools/webide/content/webide.js | 180 +++++++++++++++-------- browser/devtools/webide/modules/app-manager.js | 27 +++- browser/devtools/webide/moz.build | 1 + browser/devtools/webide/test/app.zip | Bin 0 -> 480 bytes browser/devtools/webide/test/app/index.html | 6 + browser/devtools/webide/test/app/manifest.webapp | 5 + browser/devtools/webide/test/chrome.ini | 13 ++ browser/devtools/webide/test/head.js | 81 ++++++++++ browser/devtools/webide/test/hosted_app.manifest | 3 + browser/devtools/webide/test/templates.json | 14 ++ browser/devtools/webide/test/test_basic.html | 39 +++++ browser/devtools/webide/test/test_import.html | 65 ++++++++ browser/devtools/webide/test/test_newapp.html | 48 ++++++ browser/devtools/webide/test/test_runtime.html | 118 +++++++++++++++ browser/devtools/webide/themes/details.css | 1 - browser/devtools/webide/themes/newapp.css | 4 - 18 files changed, 558 insertions(+), 79 deletions(-) create mode 100644 browser/devtools/webide/test/app.zip create mode 100644 browser/devtools/webide/test/app/index.html create mode 100644 browser/devtools/webide/test/app/manifest.webapp create mode 100644 browser/devtools/webide/test/chrome.ini create mode 100644 browser/devtools/webide/test/head.js create mode 100644 browser/devtools/webide/test/hosted_app.manifest create mode 100644 browser/devtools/webide/test/templates.json create mode 100644 browser/devtools/webide/test/test_basic.html create mode 100644 browser/devtools/webide/test/test_import.html create mode 100644 browser/devtools/webide/test/test_newapp.html create mode 100644 browser/devtools/webide/test/test_runtime.html
2014-05-21 11:29:43 +04:00
yield closeWebIDE(win);
Bug 1010387 - [appmgr v2] write tests and make good use of promises & tasks. r=janx r=jryans --- browser/devtools/app-manager/app-validator.js | 2 +- browser/devtools/webide/content/newapp.js | 30 +++- browser/devtools/webide/content/webide.js | 180 +++++++++++++++-------- browser/devtools/webide/modules/app-manager.js | 27 +++- browser/devtools/webide/moz.build | 1 + browser/devtools/webide/test/app.zip | Bin 0 -> 480 bytes browser/devtools/webide/test/app/index.html | 6 + browser/devtools/webide/test/app/manifest.webapp | 5 + browser/devtools/webide/test/chrome.ini | 13 ++ browser/devtools/webide/test/head.js | 81 ++++++++++ browser/devtools/webide/test/hosted_app.manifest | 3 + browser/devtools/webide/test/templates.json | 14 ++ browser/devtools/webide/test/test_basic.html | 39 +++++ browser/devtools/webide/test/test_import.html | 65 ++++++++ browser/devtools/webide/test/test_newapp.html | 48 ++++++ browser/devtools/webide/test/test_runtime.html | 118 +++++++++++++++ browser/devtools/webide/themes/details.css | 1 - browser/devtools/webide/themes/newapp.css | 4 - 18 files changed, 558 insertions(+), 79 deletions(-) create mode 100644 browser/devtools/webide/test/app.zip create mode 100644 browser/devtools/webide/test/app/index.html create mode 100644 browser/devtools/webide/test/app/manifest.webapp create mode 100644 browser/devtools/webide/test/chrome.ini create mode 100644 browser/devtools/webide/test/head.js create mode 100644 browser/devtools/webide/test/hosted_app.manifest create mode 100644 browser/devtools/webide/test/templates.json create mode 100644 browser/devtools/webide/test/test_basic.html create mode 100644 browser/devtools/webide/test/test_import.html create mode 100644 browser/devtools/webide/test/test_newapp.html create mode 100644 browser/devtools/webide/test/test_runtime.html
2014-05-21 11:29:43 +04:00
yield removeAllProjects();
Bug 1010387 - [appmgr v2] write tests and make good use of promises & tasks. r=janx r=jryans --- browser/devtools/app-manager/app-validator.js | 2 +- browser/devtools/webide/content/newapp.js | 30 +++- browser/devtools/webide/content/webide.js | 180 +++++++++++++++-------- browser/devtools/webide/modules/app-manager.js | 27 +++- browser/devtools/webide/moz.build | 1 + browser/devtools/webide/test/app.zip | Bin 0 -> 480 bytes browser/devtools/webide/test/app/index.html | 6 + browser/devtools/webide/test/app/manifest.webapp | 5 + browser/devtools/webide/test/chrome.ini | 13 ++ browser/devtools/webide/test/head.js | 81 ++++++++++ browser/devtools/webide/test/hosted_app.manifest | 3 + browser/devtools/webide/test/templates.json | 14 ++ browser/devtools/webide/test/test_basic.html | 39 +++++ browser/devtools/webide/test/test_import.html | 65 ++++++++ browser/devtools/webide/test/test_newapp.html | 48 ++++++ browser/devtools/webide/test/test_runtime.html | 118 +++++++++++++++ browser/devtools/webide/themes/details.css | 1 - browser/devtools/webide/themes/newapp.css | 4 - 18 files changed, 558 insertions(+), 79 deletions(-) create mode 100644 browser/devtools/webide/test/app.zip create mode 100644 browser/devtools/webide/test/app/index.html create mode 100644 browser/devtools/webide/test/app/manifest.webapp create mode 100644 browser/devtools/webide/test/chrome.ini create mode 100644 browser/devtools/webide/test/head.js create mode 100644 browser/devtools/webide/test/hosted_app.manifest create mode 100644 browser/devtools/webide/test/templates.json create mode 100644 browser/devtools/webide/test/test_basic.html create mode 100644 browser/devtools/webide/test/test_import.html create mode 100644 browser/devtools/webide/test/test_newapp.html create mode 100644 browser/devtools/webide/test/test_runtime.html
2014-05-21 11:29:43 +04:00
SimpleTest.finish();
}).then(null, e => {
ok(false, "Exception: " + e);
SimpleTest.finish();
Bug 1010387 - [appmgr v2] write tests and make good use of promises & tasks. r=janx r=jryans --- browser/devtools/app-manager/app-validator.js | 2 +- browser/devtools/webide/content/newapp.js | 30 +++- browser/devtools/webide/content/webide.js | 180 +++++++++++++++-------- browser/devtools/webide/modules/app-manager.js | 27 +++- browser/devtools/webide/moz.build | 1 + browser/devtools/webide/test/app.zip | Bin 0 -> 480 bytes browser/devtools/webide/test/app/index.html | 6 + browser/devtools/webide/test/app/manifest.webapp | 5 + browser/devtools/webide/test/chrome.ini | 13 ++ browser/devtools/webide/test/head.js | 81 ++++++++++ browser/devtools/webide/test/hosted_app.manifest | 3 + browser/devtools/webide/test/templates.json | 14 ++ browser/devtools/webide/test/test_basic.html | 39 +++++ browser/devtools/webide/test/test_import.html | 65 ++++++++ browser/devtools/webide/test/test_newapp.html | 48 ++++++ browser/devtools/webide/test/test_runtime.html | 118 +++++++++++++++ browser/devtools/webide/themes/details.css | 1 - browser/devtools/webide/themes/newapp.css | 4 - 18 files changed, 558 insertions(+), 79 deletions(-) create mode 100644 browser/devtools/webide/test/app.zip create mode 100644 browser/devtools/webide/test/app/index.html create mode 100644 browser/devtools/webide/test/app/manifest.webapp create mode 100644 browser/devtools/webide/test/chrome.ini create mode 100644 browser/devtools/webide/test/head.js create mode 100644 browser/devtools/webide/test/hosted_app.manifest create mode 100644 browser/devtools/webide/test/templates.json create mode 100644 browser/devtools/webide/test/test_basic.html create mode 100644 browser/devtools/webide/test/test_import.html create mode 100644 browser/devtools/webide/test/test_newapp.html create mode 100644 browser/devtools/webide/test/test_runtime.html
2014-05-21 11:29:43 +04:00
});
}
</script>
</body>
</html>