dom/apps/tests/mochitest.ini
author Kan-Ru Chen (陳侃如) <kanru@kanru.info>
Wed, 12 Nov 2014 14:20:19 +0800
changeset 215121 920775ddfb85bebc35d2b65f60ad41069516dd0c
parent 215120 a3604ab2b3cae0cb23291de4ed2e2e6876283b66
child 215122 6ccbc46c33db65a03431c720cb1d331fdacace57
permissions -rw-r--r--
Bug 1044736 - Part 6. Widget should only require embed-widgets permission. r=fabrice As discussed on dev-webapi[1] the app that wants to use widgets only need the "embed-widgets" permission to use <iframe mozbrowser mozwidget> If the app also wants to implement a browser, it could request the "browser" separately. A <iframe mozbrowser mozwidget> will have restricted mozbrowser API defined on the prototype if the embedder has the "brower" permission; they will always throw when used. [1]: https://groups.google.com/d/msg/mozilla.dev.webapi/uQweGWtVKRA/Bj1jZq3LN-0J

[DEFAULT]
skip-if = e10s
support-files =
  chromeAddCert.js
  file_app.sjs
  file_app.template.html
  file_script.template.js
  file_cached_app.template.appcache
  file_cached_app.template.webapp
  file_hosted_app.template.webapp
  file_manifest.json
  file_manifest.json^headers^
  file_trusted_app.template.webapp
  file_invalidWidget_app.template.webapp
  file_packaged_app.sjs
  file_packaged_app.template.html
  file_packaged_app.template.webapp
  file_widget_app.template.webapp
  file_widget_app.template.html
  file_test_widget.js
  signed_app.sjs
  signed_app_template.webapp
  signed/*
  test_packaged_app_common.js
  marketplace/*
  pkg_install_iframe.html

[test_app_enabled.html]
[test_app_update.html]
skip-if = os == "android" || toolkit == "gonk" # embed-apps doesn't work in mochitest app
[test_bug_795164.html]
[test_import_export.html]
[test_install_multiple_apps_origin.html]
[test_install_receipts.html]
[test_marketplace_pkg_install.html]
skip-if = buildapp == "b2g" || toolkit == "android" # see bug 989806
[test_packaged_app_install.html]
skip-if = (toolkit == 'android' && processor == 'x86') #x86 only
[test_packaged_app_update.html]
skip-if = (toolkit == 'android' && processor == 'x86') #x86 only
[test_receipt_operations.html]
[test_signed_pkg_install.html]
[test_uninstall_errors.html]
[test_theme_role.html]
[test_web_app_install.html]
[test_widget.html]
skip-if = os == "android" || toolkit == "gonk" # embed-apps doesn't work in mochitest app
[test_widget_browser.html]
skip-if = os == "android" || toolkit == "gonk" # embed-apps doesn't work in mochitest app