Index: third_party/WebKit/LayoutTests/imported/wpt/IndexedDB/transaction-lifetime-empty.html |
diff --git a/third_party/WebKit/LayoutTests/storage/indexeddb/empty-transaction-order.html b/third_party/WebKit/LayoutTests/imported/wpt/IndexedDB/transaction-lifetime-empty.html |
similarity index 92% |
copy from third_party/WebKit/LayoutTests/storage/indexeddb/empty-transaction-order.html |
copy to third_party/WebKit/LayoutTests/imported/wpt/IndexedDB/transaction-lifetime-empty.html |
index d6f5f71821ba5320ab5004516fca35469d5918b4..50e552ed9359a2bf299ddf1ae5a3390cd1ed7d10 100644 |
--- a/third_party/WebKit/LayoutTests/storage/indexeddb/empty-transaction-order.html |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/IndexedDB/transaction-lifetime-empty.html |
@@ -2,9 +2,13 @@ |
<title>IndexedDB: Commit ordering of empty transactions</title> |
<script src='../../resources/testharness.js'></script> |
<script src='../../resources/testharnessreport.js'></script> |
-<script src='resources/testharness-helpers.js'></script> |
+<script src='support.js'></script> |
<script> |
+// Call with a test object and array of expected values. Returns a |
+// function to call with each actual value. Once the expected number |
+// of values is seen, asserts that the value orders match and completes |
+// the test. |
function expect(t, expected) { |
var results = []; |
return result => { |