https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 58917ffd22ed487e83412a5edfee10a8000b47f5 authored by Anne van Kesteren on 28 March 2018, 11:06:55 UTC
Test document.write() on image and text documents
Tip revision: 58917ff
idbdatabase_deleteObjectStore3.htm
<!DOCTYPE html>
<title>IDBDatabase.deleteObjectStore() - attempt to remove an object store that does not exist </title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support.js"></script>

<script>

var t = async_test(),
    open_rq = createdb(t);

open_rq.onupgradeneeded = function(e)
{
    var db = e.target.result;
    assert_throws('NotFoundError',
        function() { db.deleteObjectStore('whatever'); });
    t.done();
}

</script>

<div id="log"></div>
back to top