forked from mirrors/gecko-dev
Bug 1226398 - Part 1: Remove remaining legacy generator from dom/indexedDB/test/. r=jaws
This commit is contained in:
parent
5f324eb9dd
commit
5bc59c92e3
29 changed files with 29 additions and 29 deletions
|
|
@ -44,7 +44,7 @@ function clearAllDatabases(callback) {
|
||||||
var testHarnessGenerator = testHarnessSteps();
|
var testHarnessGenerator = testHarnessSteps();
|
||||||
testHarnessGenerator.next();
|
testHarnessGenerator.next();
|
||||||
|
|
||||||
function testHarnessSteps() {
|
function* testHarnessSteps() {
|
||||||
function nextTestHarnessStep(val) {
|
function nextTestHarnessStep(val) {
|
||||||
testHarnessGenerator.next(val);
|
testHarnessGenerator.next(val);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const url = "ftp://ftp.example.com";
|
const url = "ftp://ftp.example.com";
|
||||||
const name = "test_bad_origin_directory.js";
|
const name = "test_bad_origin_directory.js";
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const dbName1 = "upgrade_test";
|
const dbName1 = "upgrade_test";
|
||||||
const dbName2 = "testing.foobar";
|
const dbName2 = "testing.foobar";
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ var disableWorkerTest = "Need a way to set temporary prefs from a worker";
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const spec = "http://foo.com";
|
const spec = "http://foo.com";
|
||||||
const name =
|
const name =
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const Bob = { ss: "237-23-7732", name: "Bob" };
|
const Bob = { ss: "237-23-7732", name: "Bob" };
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const name = this.window ? window.location.pathname :
|
const name = this.window ? window.location.pathname :
|
||||||
"test_database_close_without_onclose.js";
|
"test_database_close_without_onclose.js";
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const openParams = [
|
const openParams = [
|
||||||
// This one lives in storage/default/http+++localhost
|
// This one lives in storage/default/http+++localhost
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const name = "test_file_copy_failure.js";
|
const name = "test_file_copy_failure.js";
|
||||||
const objectStoreName = "Blobs";
|
const objectStoreName = "Blobs";
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
// Test for IDBKeyRange and indexedDB availability in ipcshell.
|
// Test for IDBKeyRange and indexedDB availability in ipcshell.
|
||||||
run_test_in_child("./GlobalObjectsChild.js", function() {
|
run_test_in_child("./GlobalObjectsChild.js", function() {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
let ioService =
|
let ioService =
|
||||||
Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService);
|
Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService);
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const name = "Splendid Test";
|
const name = "Splendid Test";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const openParams = [
|
const openParams = [
|
||||||
// This one lives in storage/default/http+++www.mozilla.org
|
// This one lives in storage/default/http+++www.mozilla.org
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
let uri = Cc["@mozilla.org/network/io-service;1"].
|
let uri = Cc["@mozilla.org/network/io-service;1"].
|
||||||
getService(Ci.nsIIOService).
|
getService(Ci.nsIIOService).
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const databaseName =
|
const databaseName =
|
||||||
("window" in this) ? window.location.pathname : "Test";
|
("window" in this) ? window.location.pathname : "Test";
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const openParams = [
|
const openParams = [
|
||||||
// This one lives in storage/permanent/chrome
|
// This one lives in storage/permanent/chrome
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const openParams = [
|
const openParams = [
|
||||||
// This one lives in storage/permanent/chrome
|
// This one lives in storage/permanent/chrome
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const dbNames = [
|
const dbNames = [
|
||||||
"No files",
|
"No files",
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
// This lives in storage/default/http+++www.mozilla.org
|
// This lives in storage/default/http+++www.mozilla.org
|
||||||
const url = "http://www.mozilla.org";
|
const url = "http://www.mozilla.org";
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const name = this.window ? window.location.pathname : "Splendid Test";
|
const name = this.window ? window.location.pathname : "Splendid Test";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const name = "Splendid Test";
|
const name = "Splendid Test";
|
||||||
const version = 1;
|
const version = 1;
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ var disableWorkerTest = "Need a way to set temporary prefs from a worker";
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const spec = "http://foo.com";
|
const spec = "http://foo.com";
|
||||||
const name =
|
const name =
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const testName = "schema18upgrade";
|
const testName = "schema18upgrade";
|
||||||
const testKeys = [
|
const testKeys = [
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const testName = "schema21upgrade";
|
const testName = "schema21upgrade";
|
||||||
const testKeys = [
|
const testKeys = [
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const openParams = [
|
const openParams = [
|
||||||
// This one lives in storage/default/http+++www.mozilla.org
|
// This one lives in storage/default/http+++www.mozilla.org
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const name = "test_snappyUpgrade.js";
|
const name = "test_snappyUpgrade.js";
|
||||||
const objectStoreName = "test";
|
const objectStoreName = "test";
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const openParams = [
|
const openParams = [
|
||||||
// This one lives in storage/default/http+++www.mozilla.org
|
// This one lives in storage/default/http+++www.mozilla.org
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const name = this.window ?
|
const name = this.window ?
|
||||||
window.location.pathname :
|
window.location.pathname :
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const name = "test_wasm_recompile.js";
|
const name = "test_wasm_recompile.js";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ if (!this.window) {
|
||||||
|
|
||||||
var testGenerator = testSteps();
|
var testGenerator = testSteps();
|
||||||
|
|
||||||
function testSteps()
|
function* testSteps()
|
||||||
{
|
{
|
||||||
const name = this.window ? window.location.pathname : "Splendid Test";
|
const name = this.window ? window.location.pathname : "Splendid Test";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue