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();
|
||||
testHarnessGenerator.next();
|
||||
|
||||
function testHarnessSteps() {
|
||||
function* testHarnessSteps() {
|
||||
function nextTestHarnessStep(val) {
|
||||
testHarnessGenerator.next(val);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const url = "ftp://ftp.example.com";
|
||||
const name = "test_bad_origin_directory.js";
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const dbName1 = "upgrade_test";
|
||||
const dbName2 = "testing.foobar";
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const Bob = { ss: "237-23-7732", name: "Bob" };
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const name = this.window ? window.location.pathname :
|
||||
"test_database_close_without_onclose.js";
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const openParams = [
|
||||
// This one lives in storage/default/http+++localhost
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const name = "test_file_copy_failure.js";
|
||||
const objectStoreName = "Blobs";
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
let ioService =
|
||||
Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService);
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const name = "Splendid Test";
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const openParams = [
|
||||
// This one lives in storage/default/http+++www.mozilla.org
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
let uri = Cc["@mozilla.org/network/io-service;1"].
|
||||
getService(Ci.nsIIOService).
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const databaseName =
|
||||
("window" in this) ? window.location.pathname : "Test";
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const openParams = [
|
||||
// This one lives in storage/permanent/chrome
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const openParams = [
|
||||
// This one lives in storage/permanent/chrome
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const dbNames = [
|
||||
"No files",
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const name = this.window ? window.location.pathname : "Splendid Test";
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const name = "Splendid Test";
|
||||
const version = 1;
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const testName = "schema18upgrade";
|
||||
const testKeys = [
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const testName = "schema21upgrade";
|
||||
const testKeys = [
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const openParams = [
|
||||
// This one lives in storage/default/http+++www.mozilla.org
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const name = "test_snappyUpgrade.js";
|
||||
const objectStoreName = "test";
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const openParams = [
|
||||
// This one lives in storage/default/http+++www.mozilla.org
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const name = this.window ?
|
||||
window.location.pathname :
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const name = "test_wasm_recompile.js";
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ if (!this.window) {
|
|||
|
||||
var testGenerator = testSteps();
|
||||
|
||||
function testSteps()
|
||||
function* testSteps()
|
||||
{
|
||||
const name = this.window ? window.location.pathname : "Splendid Test";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue