Commit 5f588003 authored by Kenichi Ishibashi's avatar Kenichi Ishibashi Committed by Commit Bot

Fix typo in appcache-worker.py

Change-Id: I67f20508138ef4690d3b1cb6744f23366b184767
Reviewed-on: https://chromium-review.googlesource.com/1152713Reviewed-by: default avatarMatt Falkenhagen <falken@chromium.org>
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578959}
parent d49b8fb0
...@@ -30,7 +30,7 @@ function importCachedScriptTest() { ...@@ -30,7 +30,7 @@ function importCachedScriptTest() {
}); });
} }
function importNotInCacheSciptTest() { function importNotInCacheScriptTest() {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
try { try {
importScripts('appcache-worker-import.py?type=not-in-cache'); importScripts('appcache-worker-import.py?type=not-in-cache');
...@@ -41,7 +41,7 @@ function importNotInCacheSciptTest() { ...@@ -41,7 +41,7 @@ function importNotInCacheSciptTest() {
}); });
} }
function importFallbackSciptTest() { function importFallbackScriptTest() {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
info = ''; info = '';
try { try {
...@@ -87,8 +87,8 @@ function fetchFallbackFileTest() { ...@@ -87,8 +87,8 @@ function fetchFallbackFileTest() {
initPromise initPromise
.then(importCachedScriptTest) .then(importCachedScriptTest)
.then(importNotInCacheSciptTest) .then(importNotInCacheScriptTest)
.then(importFallbackSciptTest) .then(importFallbackScriptTest)
.then(fetchCachedFileTest) .then(fetchCachedFileTest)
.then(fetchNotInCacheFileTest) .then(fetchNotInCacheFileTest)
.then(_ => postMessage('Done: %s'), .then(_ => postMessage('Done: %s'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment