chromium/third_party/blink/web_tests/http/tests/security/resources/cross-origin-iframe-for-indexeddb.html

<!DOCTYPE html>
<html>
<head>
</head>
<body>
    <script>
        if (window.testRunner)
            testRunner.setDumpConsoleMessages(false);
        function test(method, args) {
            try {
                var request = window.indexedDB[method].call(window.indexedDB, args);
                document.write('Successfully called window.indexedDB.' + method + '().<br>');
            } catch (exception) {
                document.write('window.indexedDB.' + method + '() threw an exception: ' + exception.name + '<br>');
            }
        }
        test('deleteDatabase', 'testDBName');
        test('open', 'testDBName');
    </script>
</body>
</head>