gecko/dom/downloads/tests/testapp_downloads_adopt_download.html
Andrew Sutherland 91dbc0ce1f Bug 825318 - Implement adoptDownload for mozDownloadManager, r=aus, r=sicking
Implement mozDownloadManager.adoptDownload as a certified-only API.

This also fixes and re-enables many of the existing dom/downloads tests
failures by virtue of cleanup and not running them on non-gonk toolkits
where exceptions will be thrown and things will fail.  This should
resolve bug 979446 about re-enabling the tests.
2015-02-24 11:06:59 -05:00

15 lines
389 B
HTML

<!DOCTYPE html>
<html>
<head>
<script type="application/javascript" src="common_app.js"></script>
<meta charset="utf-8">
</head>
<body>
<div id="blah">initial text</div>
<pre id="test">
<!-- because of certified CSP, this code must NOT be inline -->
<script class="testbody" type="text/javascript;version=1.7" src="testapp_downloads_adopt_download.js"></script>
</pre>
</body>
</html>