Automatic update from web-platform-tests [IndexedDB] Cleanup WPT directory Some common/resource files were in the root directory. This moves them to the /resources/ directory and fixes up include paths. Bug: 1218100 Change-Id: If84f7d1670e9416c95eb0fd96de63add4dcacedf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3661378 Auto-Submit: Ari Chivukula <arichiv@chromium.org> Reviewed-by: Ayu Ishii <ayui@chromium.org> Commit-Queue: Ayu Ishii <ayui@chromium.org> Cr-Commit-Position: refs/heads/main@{#1006619} -- wpt-commits: 96ea2c2b7bf09644db195f0d878074615faef9e4 wpt-pr: 34171
24 lines
800 B
HTML
24 lines
800 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>IDBIndex.multiEntry: array keyPath with multiEntry</title>
|
|
<link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
|
|
<link rel=help href="http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#key-construct">
|
|
<link rel=assert title="XXX">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="resources/support.js"></script>
|
|
|
|
<script>
|
|
createdb(async_test()).onupgradeneeded = function(e) {
|
|
var store = e.target.result.createObjectStore("store");
|
|
|
|
assert_throws_dom('InvalidAccessError', function() {
|
|
store.createIndex('actors', ['name'], { multiEntry: true })
|
|
});
|
|
|
|
this.done();
|
|
};
|
|
</script>
|
|
|
|
<div id="log"></div>
|