зеркало из https://github.com/mozilla/gecko-dev.git
35 строки
923 B
HTML
35 строки
923 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<!--
|
||
|
https://bugzilla.mozilla.org/show_bug.cgi?id=825318
|
||
|
-->
|
||
|
<head>
|
||
|
<title>Test for Bug 825318 mozDownloadManager.adoptDownload</title>
|
||
|
<script type="application/javascript;version=1.7" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||
|
<script type="application/javascript;version=1.7" src="shim_app_as_test.js"></script>
|
||
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=825318">Mozilla Bug 825318</a>
|
||
|
<p id="display"></p>
|
||
|
<div id="content">
|
||
|
</div>
|
||
|
<pre id="test">
|
||
|
<script class="testbody" type="text/javascript;version=1.7">
|
||
|
|
||
|
runAppTest({
|
||
|
appFile: 'testapp_downloads_adopt_download.html',
|
||
|
appManifest: 'testapp_downloads_adopt_download.manifest',
|
||
|
appType: 'certified',
|
||
|
extraPrefs: {
|
||
|
set: [["dom.mozDownloads.enabled", true]]
|
||
|
}
|
||
|
});
|
||
|
|
||
|
</script>
|
||
|
</pre>
|
||
|
</body>
|
||
|
</html>
|
||
|
|