Revision 70e133613ba68282617c33db22e17b05a1f93430 authored by Anne van Kesteren on 15 August 2018, 14:25:47 UTC, committed by Anne van Kesteren on 15 August 2018, 14:25:47 UTC
1 parent 3878b81
share-url-invalid.https.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>WebShare Test: Share with an invalid URL</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<script>
promise_test(t => {
// URL is invalid in that the URL Parser returns failure (port is too
// large).
const url = 'http://example.com:65536';
return promise_rejects(
t, new TypeError(), navigator.share({url}));
}, 'share with an invalid URL');
</script>
</body>
</html>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...