https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 6b4d9e77890ee0ab0b24e4ee023b14dd92daaaf4 authored by Ben Kelly on 28 March 2018, 19:46:15 UTC
P2 Add a WPT test verifying synthetic responses work when a request fragment is present.
Tip revision: 6b4d9e7
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