Skip to content

Commit

Permalink
Use consistent headers in previously submitted IndexedDB tests. (#4510)
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnall authored and inexorabletash committed Jan 5, 2017
1 parent 87537fc commit eeecf3e
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 11 deletions.
4 changes: 3 additions & 1 deletion IndexedDB/idbindex-rename-abort.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!DOCTYPE html>
<!doctype html>
<meta charset="utf8">
<title>IndexedDB: index renaming support in aborted transactions</title>
<link rel="help"
href="https://w3c.github.io/IndexedDB/#dom-idbindex-name">
Expand All @@ -7,6 +8,7 @@
<script src="/resources/testharnessreport.js"></script>
<script src="support-promises.js"></script>
<script>
'use strict';

promise_test(testCase => {
const dbName = databaseName(testCase);
Expand Down
4 changes: 3 additions & 1 deletion IndexedDB/idbindex-rename-errors.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!DOCTYPE html>
<!doctype html>
<meta charset="utf8">
<title>IndexedDB: index renaming error handling</title>
<link rel="help"
href="https://w3c.github.io/IndexedDB/#dom-idbindex-name">
Expand All @@ -7,6 +8,7 @@
<script src="/resources/testharnessreport.js"></script>
<script src="support-promises.js"></script>
<script>
'use strict';

promise_test(testCase => {
return createDatabase(testCase, (database, transaction) => {
Expand Down
4 changes: 3 additions & 1 deletion IndexedDB/idbindex-rename.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!DOCTYPE html>
<!doctype html>
<meta charset="utf8">
<meta name="timeout" content="long">
<title>IndexedDB: index renaming support</title>
<link rel="help"
Expand All @@ -8,6 +9,7 @@
<script src="/resources/testharnessreport.js"></script>
<script src="support-promises.js"></script>
<script>
'use strict';

promise_test(testCase => {
let authorIndex = null, authorIndex2 = null;
Expand Down
4 changes: 3 additions & 1 deletion IndexedDB/idbobjectstore-rename-abort.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!DOCTYPE html>
<!doctype html>
<meta charset="utf8">
<title>IndexedDB: object store renaming support in aborted transactions</title>
<link rel="help"
href="https://w3c.github.io/IndexedDB/#dom-idbobjectstore-name">
Expand All @@ -7,6 +8,7 @@
<script src="/resources/testharnessreport.js"></script>
<script src="support-promises.js"></script>
<script>
'use strict';

promise_test(testCase => {
const dbName = databaseName(testCase);
Expand Down
4 changes: 3 additions & 1 deletion IndexedDB/idbobjectstore-rename-errors.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!DOCTYPE html>
<!doctype html>
<meta charset="utf8">
<title>IndexedDB: object store renaming error handling</title>
<link rel="help"
href="https://w3c.github.io/IndexedDB/#dom-idbobjectstore-name">
Expand All @@ -7,6 +8,7 @@
<script src="/resources/testharnessreport.js"></script>
<script src="support-promises.js"></script>
<script>
'use strict';

promise_test(testCase => {
return createDatabase(testCase, (database, transaction) => {
Expand Down
4 changes: 3 additions & 1 deletion IndexedDB/idbobjectstore-rename-store.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!DOCTYPE html>
<!doctype html>
<meta charset="utf8">
<meta name="timeout" content="long">
<title>IndexedDB: object store renaming support</title>
<link rel="help"
Expand All @@ -8,6 +9,7 @@
<script src="/resources/testharnessreport.js"></script>
<script src="support-promises.js"></script>
<script>
'use strict';

// Renames the 'books' store to 'renamed_books'.
//
Expand Down
2 changes: 1 addition & 1 deletion IndexedDB/name-scopes.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<meta charset="utf-8">
<title>
IndexedDB: scoping for database / object store / index names, and index keys
Expand Down
4 changes: 3 additions & 1 deletion IndexedDB/transaction-abort-generator-revert.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<!DOCTYPE html>
<!doctype html>
<meta charset="utf8">
<title>IndexedDB: aborting transactions reverts an object store's key generator state</title>
<link rel="help" href="https://w3c.github.io/IndexedDB/#abort-transaction">
<link rel="author" href="pwnall@chromium.org" title="Victor Costan">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support-promises.js"></script>
<script>
'use strict';

promise_test(testCase => {
return createDatabase(testCase, (database, transaction) => {
Expand Down
4 changes: 3 additions & 1 deletion IndexedDB/transaction-abort-index-metadata-revert.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<!DOCTYPE html>
<!doctype html>
<meta charset="utf8">
<title>IndexedDB: aborting transactions reverts index metadata</title>
<link rel="help" href="https://w3c.github.io/IndexedDB/#abort-transaction">
<link rel="author" href="pwnall@chromium.org" title="Victor Costan">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support-promises.js"></script>
<script>
'use strict';

promise_test(testCase => {
let store = null, index = null;
Expand Down
4 changes: 3 additions & 1 deletion IndexedDB/transaction-abort-multiple-metadata-revert.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<!DOCTYPE html>
<!doctype html>
<meta charset="utf8">
<title>IndexedDB: aborting transactions reverts multiple operations on the same metadata</title>
<link rel="help" href="https://w3c.github.io/IndexedDB/#abort-transaction">
<link rel="author" href="pwnall@chromium.org" title="Victor Costan">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support-promises.js"></script>
<script>
'use strict';

promise_test(testCase => {
let store = null, index = null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<!DOCTYPE html>
<!doctype html>
<meta charset="utf8">
<title>IndexedDB: aborting transactions reverts object store metadata</title>
<link rel="help" href="https://w3c.github.io/IndexedDB/#abort-transaction">
<link rel="author" href="pwnall@chromium.org" title="Victor Costan">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support-promises.js"></script>
<script>
'use strict';

promise_test(testCase => {
let store = null, migrationTransaction = null, migrationDatabase = null;
Expand Down

0 comments on commit eeecf3e

Please sign in to comment.