Bug 1226398 - Part 1: Remove remaining legacy generator from dom/indexedDB/test/. r=jaws

This commit is contained in:
Tooru Fujisawa 2017-02-11 11:47:56 +09:00
parent 5f324eb9dd
commit 5bc59c92e3
29 changed files with 29 additions and 29 deletions

View file

@ -44,7 +44,7 @@ function clearAllDatabases(callback) {
var testHarnessGenerator = testHarnessSteps();
testHarnessGenerator.next();
function testHarnessSteps() {
function* testHarnessSteps() {
function nextTestHarnessStep(val) {
testHarnessGenerator.next(val);
}

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const url = "ftp://ftp.example.com";
const name = "test_bad_origin_directory.js";

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const dbName1 = "upgrade_test";
const dbName2 = "testing.foobar";

View file

@ -7,7 +7,7 @@ var disableWorkerTest = "Need a way to set temporary prefs from a worker";
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const spec = "http://foo.com";
const name =

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const Bob = { ss: "237-23-7732", name: "Bob" };

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const name = this.window ? window.location.pathname :
"test_database_close_without_onclose.js";

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const openParams = [
// This one lives in storage/default/http+++localhost

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const name = "test_file_copy_failure.js";
const objectStoreName = "Blobs";

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
// Test for IDBKeyRange and indexedDB availability in ipcshell.
run_test_in_child("./GlobalObjectsChild.js", function() {

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
let ioService =
Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService);

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const name = "Splendid Test";

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const openParams = [
// This one lives in storage/default/http+++www.mozilla.org

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
let uri = Cc["@mozilla.org/network/io-service;1"].
getService(Ci.nsIIOService).

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const databaseName =
("window" in this) ? window.location.pathname : "Test";

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const openParams = [
// This one lives in storage/permanent/chrome

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const openParams = [
// This one lives in storage/permanent/chrome

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const dbNames = [
"No files",

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
// This lives in storage/default/http+++www.mozilla.org
const url = "http://www.mozilla.org";

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const name = this.window ? window.location.pathname : "Splendid Test";

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const name = "Splendid Test";
const version = 1;

View file

@ -7,7 +7,7 @@ var disableWorkerTest = "Need a way to set temporary prefs from a worker";
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const spec = "http://foo.com";
const name =

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const testName = "schema18upgrade";
const testKeys = [

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const testName = "schema21upgrade";
const testKeys = [

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const openParams = [
// This one lives in storage/default/http+++www.mozilla.org

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const name = "test_snappyUpgrade.js";
const objectStoreName = "test";

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const openParams = [
// This one lives in storage/default/http+++www.mozilla.org

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const name = this.window ?
window.location.pathname :

View file

@ -5,7 +5,7 @@
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const name = "test_wasm_recompile.js";

View file

@ -12,7 +12,7 @@ if (!this.window) {
var testGenerator = testSteps();
function testSteps()
function* testSteps()
{
const name = this.window ? window.location.pathname : "Splendid Test";