chromium/third_party/blink/web_tests/external/wpt/shared-storage/shared-storage-writable-fetch-request-for-data-url.tentative.https.sub.html

<!doctype html>
<body>
  <script src=/resources/testharness.js></script>
  <script src=/resources/testharnessreport.js></script>
  <script>
    'use strict';

    promise_test(async t => {
       const innerCode =
         `window.parent.postMessage({fetchStatus: "success"}, '*');`;
       const dataURL = 'data:text/javascript;base64,'
         + btoa(unescape(encodeURIComponent(innerCode)));
        await promise_rejects_js(t, TypeError,
                                 fetch(dataURL, {sharedStorageWritable: true}));

    }, 'shared storage fetch request disallowed for data URL');
  </script>
</body>