chromium/third_party/blink/web_tests/external/wpt/webstorage/resources/session_set_item_clear_iframe.html

<!DOCTYPE HTML>
<html>
 <body>
     <script>
         if (('sessionStorage' in window) && window.sessionStorage !== null){
            try {
                sessionStorage.setItem('name', 'user1');
            } catch (e) {
                parent.fail('setItem method is failed.');
            }
            sessionStorage.clear();
        } else {
            parent.fail('sessionStorage is not supported.');
        }
     </script>
 </body>
</html>