mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
30 lines
734 B
HTML
30 lines
734 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
|
</head>
|
|
<body>
|
|
<iframe></iframe>
|
|
<pre id="test">
|
|
<script type="application/javascript">
|
|
|
|
function run_tests() {
|
|
var iframe = document.querySelector("iframe");
|
|
iframe.src = "file_contacts_blobs.html";
|
|
}
|
|
|
|
SimpleTest.waitForExplicitFinish();
|
|
onload = function() {
|
|
SpecialPowers.pushPermissions([
|
|
{type: "contacts-read", allow: true, context: document},
|
|
{type: "contacts-write", allow: true, context: document},
|
|
{type: "contacts-create", allow: true, context: document},
|
|
], run_tests);
|
|
};
|
|
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|