https://github.com/web-platform-tests/wpt
Revision 259d0612af038d14f2cd889a14a3adb6c9e96d96 authored by Josh Matthews on 23 December 2018, 05:25:51 UTC, committed by Josh Matthews on 26 December 2018, 14:25:28 UTC
1 parent cd31531
Raw File
Tip revision: 259d0612af038d14f2cd889a14a3adb6c9e96d96 authored by Josh Matthews on 23 December 2018, 05:25:51 UTC
Claim to support testdriver in servodriver
Tip revision: 259d061
share-extra-field-manual.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>WebShare Test: Surplus fields ignored</title>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="resources/manual-helper.js"></script>
  </head>
  <body>
    <script>
        setup({explicit_timeout: true});

        setupManualShareTest(
            {title: 'the title', text: 'the message', url: 'data:the url'});
        callWhenButtonClicked(() => navigator.share(
              {title: 'the title', text: 'the message', url: 'data:the url',
               unused: 'unexpected field'}));
    </script>
  </body>
</html>
back to top