blob: b59fe552f5b2212fff77f032185e8f0b806eaf66 [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<!-- Generate token with the command:
generate_token.py http://127.0.0.1:8000 Serial --expire-timestamp=2000000000
-- -->
<meta http-equiv="origin-trial" content="At0SGGQC1y/viEH1bb+J0N7TA5ZWcC2RlOG3l/ZpDjqo49ctt3m+xjw0p/Jnxh4IN2F5343SciSAI/cZxA7HHwAAAABOeyJvcmlnaW4iOiAiaHR0cDovLzEyNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiU2VyaWFsIiwgImV4cGlyeSI6IDIwMDAwMDAwMDB9" />
<title>Serial - interfaces exposed by origin trial</title>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/origin-trials-helper.js"></script>
<script>
test(t => {
OriginTrialsHelper.check_properties_exist(this,
{
'Navigator': ['serial'],
'SerialPort': ['close', 'getSignals', 'open', 'readable', 'setSignals',
'writable'],
'Serial': ['getPorts', 'requestPort'],
},
);
}, "Serial related interfaces in Origin-Trial enabled document.");
</script>