Revision ccef6bd283af10f72b14e455f8d9f22e3cf97424 authored by Chris Lilley on 12 April 2018, 14:39:49 UTC, committed by Chris Lilley on 12 April 2018, 14:39:49 UTC
1 parent e965af7
nfc_insecure_context.html
<!DOCTYPE html>
<meta charset=utf-8>
<title>Web NFC Test: insecure context</title>
<link rel="author" title="Intel" href="http://www.intel.com"/>
<link rel="help" href="https://w3c.github.io/web-nfc/"/>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/nfc_help.js"></script>
<h2>Note</h2>
<ol>
<li>
Run test is an insecure context, e.g. http://example.com/
</li>
</ol>
<script>
"use strict";
test(t => {
assert_false(isSecureContext);
assert_false('nfc' in navigator);
}, 'navigator.nfc requires a secure context');
</script>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...