forked from mirrors/gecko-dev
The old name no longer makes sense, since it no longer exports an spawn_task symbol, and add_task is what we really care about. MozReview-Commit-ID: IE7B8Czv8DH --HG-- rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js extra : rebase_source : 03bca5aa69a7625a49b4455a6c96ce4c59de3a5a
80 lines
1.9 KiB
HTML
80 lines
1.9 KiB
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>WebExtension test</title>
|
|
<meta charset="utf-8">
|
|
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<script type="text/javascript" src="/tests/SimpleTest/AddTask.js"></script>
|
|
<script type="text/javascript" src="/tests/SimpleTest/ExtensionTestUtils.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css">
|
|
</head>
|
|
<body>
|
|
<script>
|
|
"use strict";
|
|
/* exported expectedContentApisTargetSpecific, expectedBackgroundApisTargetSpecific */
|
|
let expectedContentApisTargetSpecific = [
|
|
];
|
|
|
|
let expectedBackgroundApisTargetSpecific = [
|
|
"tabs.MutedInfoReason",
|
|
"tabs.TAB_ID_NONE",
|
|
"tabs.TabStatus",
|
|
"tabs.UpdatePropertyName",
|
|
"tabs.WindowType",
|
|
"tabs.ZoomSettingsMode",
|
|
"tabs.ZoomSettingsScope",
|
|
"tabs.connect",
|
|
"tabs.create",
|
|
"tabs.detectLanguage",
|
|
"tabs.duplicate",
|
|
"tabs.discard",
|
|
"tabs.executeScript",
|
|
"tabs.get",
|
|
"tabs.getCurrent",
|
|
"tabs.getZoom",
|
|
"tabs.getZoomSettings",
|
|
"tabs.insertCSS",
|
|
"tabs.move",
|
|
"tabs.onActivated",
|
|
"tabs.onAttached",
|
|
"tabs.onCreated",
|
|
"tabs.onDetached",
|
|
"tabs.onHighlighted",
|
|
"tabs.onMoved",
|
|
"tabs.onRemoved",
|
|
"tabs.onReplaced",
|
|
"tabs.onUpdated",
|
|
"tabs.onZoomChange",
|
|
"tabs.print",
|
|
"tabs.printPreview",
|
|
"tabs.query",
|
|
"tabs.reload",
|
|
"tabs.remove",
|
|
"tabs.removeCSS",
|
|
"tabs.saveAsPDF",
|
|
"tabs.sendMessage",
|
|
"tabs.setZoom",
|
|
"tabs.setZoomSettings",
|
|
"tabs.toggleReaderMode",
|
|
"tabs.update",
|
|
"windows.CreateType",
|
|
"windows.WINDOW_ID_CURRENT",
|
|
"windows.WINDOW_ID_NONE",
|
|
"windows.WindowState",
|
|
"windows.WindowType",
|
|
"windows.create",
|
|
"windows.get",
|
|
"windows.getAll",
|
|
"windows.getCurrent",
|
|
"windows.getLastFocused",
|
|
"windows.onCreated",
|
|
"windows.onFocusChanged",
|
|
"windows.onRemoved",
|
|
"windows.remove",
|
|
"windows.update",
|
|
];
|
|
</script>
|
|
<script src="test_ext_all_apis.js"></script>
|
|
|
|
</body>
|
|
</html>
|