dom/u2f/tests/test_multiple_keys.html
author Siddhant085 <dpsrkp.sid@gmail.com>
Wed, 28 Nov 2018 15:21:11 +0000
changeset 507746 74d97073c54b19e742b084ea9f03b7ba40233000
parent 470782 c10c705a1feae70c507bb644dcf2867cbe63db6f
child 531525 ba6f655fd68963530c866d0d4a48c3db3d307777
permissions -rw-r--r--
Bug 1453264 - Dropping nsIBrowserSearchService::currentEngine in favour of defaultEngine. r=Standard8 All instances of nsIBrowserSearchService::currentEngine have been replaced by nsIBrowserSearchService::defaultEngine. Dropping this variable now. Differential Revision: https://phabricator.services.mozilla.com/D12223

<!DOCTYPE html>
<meta charset=utf-8>
<head>
  <title>FIDO U2F: Multiple Keys</title>
  <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="frame_utils.js"></script>
  <script type="text/javascript" src="u2futil.js"></script>
  <script type="text/javascript" src="pkijs/asn1.js"></script>
  <script type="text/javascript" src="pkijs/common.js"></script>
  <script type="text/javascript" src="pkijs/x509_schema.js"></script>
  <script type="text/javascript" src="pkijs/x509_simpl.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>
<h1>FIDO U2F: Multiple Keys</h1>
<ul>
  <li><a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1231681">Mozilla Bug 1231681 (initial implementation)</a></li>
  <li><a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1245527">Mozilla Bug 1245527 (hardware rewrite)</a></li>
</ul>

<div id="framediv">
  <iframe id="testing_frame"></iframe>
</div>

<pre id="log"></pre>

<script class="testbody" type="text/javascript">
"use strict";

SimpleTest.waitForExplicitFinish();

// listen for messages from the test harness
window.addEventListener("message", handleEventMessage);
SpecialPowers.pushPrefEnv({"set": [["security.webauth.u2f", true],
                                   ["security.webauth.webauthn_enable_softtoken", true],
                                   ["security.webauth.webauthn_enable_usbtoken", false]]},
  function(){
    document.getElementById('testing_frame').src = "https://test2.example.com/tests/dom/u2f/tests/frame_multiple_keys.html";
  });


</script>

</body>
</html>