Backed out changeset 2a6b728f8313 (bug 1288885)

--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_alarms.js => toolkit/components/extensions/test/mochitest/test_ext_alarms.html
This commit is contained in:
Sebastian Hengst 2016-07-28 10:06:34 +02:00
parent 01d39a3d35
commit daa9f90512
3 changed files with 19 additions and 3 deletions

View File

@ -87,6 +87,7 @@ skip-if = os == 'android' # Android does not currently support tabs.
[test_ext_cookies.html]
[test_ext_bookmarks.html]
skip-if = (os == 'android' || buildapp == 'b2g') # unimplemented api. Bug 1258975 on android.
[test_ext_alarms.html]
[test_ext_background_window_properties.html]
[test_ext_background_sub_windows.html]
[test_ext_background_api_injection.html]

View File

@ -1,5 +1,16 @@
/* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */
/* vim: set sts=2 sw=2 et tw=80: */
<!DOCTYPE HTML>
<html>
<head>
<title>WebExtension test</title>
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="text/javascript" src="/tests/SimpleTest/SpawnTask.js"></script>
<script type="text/javascript" src="/tests/SimpleTest/ExtensionTestUtils.js"></script>
<script type="text/javascript" src="head.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<script type="text/javascript">
"use strict";
add_task(function* test_alarm_without_permissions() {
@ -332,3 +343,8 @@ add_task(function* test_duplicate_alarm_name_replaces_alarm() {
yield extension.awaitFinish("alarm-duplicate");
yield extension.unload();
});
</script>
</body>
</html>

View File

@ -4,7 +4,6 @@ tail =
firefox-appdir = browser
skip-if = toolkit == 'gonk' || appname == "thunderbird"
[test_ext_alarms.js]
[test_csp_custom_policies.js]
[test_csp_validator.js]
[test_locale_data.js]