Revision 7a44da74a0dc0c711f89fc8ddbe55fb97e0b0e4a authored by kritisingh1 on 26 March 2018, 09:33:08 UTC, committed by kritisingh1 on 26 March 2018, 09:33:08 UTC
1 parent fe7370b
nfc_recordType_text-manual.https.html
<!DOCTYPE html>
<meta charset=utf-8>
<title>Web NFC Test: push and watch text records</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>
<meta name="flags" content="interact">
<meta name="timeout" content="long">
<p>Tap an NFC tag to the test device with NFC support.</p>
<p>Note: All the actions need to be done in 60 seconds, otherwise it will get TIMEOUT.</p>
<div id="log"></div>
<script>
"use strict";
setup({ explicit_timeout: true });
let desc = "Test that nfc.push and nfc.watch succeed when recordType is set to 'text'."
let watchOptions = {
recordType : "text",
mediaType : "text/plain",
url : ""
}
let message = createMessage([createTextRecord(test_text_data)]);
testNFCMessage(message, watchOptions, desc);
</script>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...