Fix spelling.
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Jun 2018 19:35:04 +0000 (19:35 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Jun 2018 19:35:04 +0000 (19:35 +0000)
* http/tests/cache/disk-cache/disk-cache-media-small.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232726 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/cache/disk-cache/disk-cache-media-small.html

index 5b4eeaa..9dae63f 100644 (file)
@@ -1,3 +1,9 @@
+2018-06-11  Antti Koivisto  <antti@apple.com>
+
+        Fix spelling.
+
+        * http/tests/cache/disk-cache/disk-cache-media-small.html:
+
 2018-06-11  Brady Eidson  <beidson@apple.com>
 
         http/tests/navigation/https-in-page-cache.html fails with process swapping on.
index 05cf2e4..f45e249 100644 (file)
@@ -23,19 +23,19 @@ function loadTestMedia() {
     });
 }
 
-function logResponses(media, expextedSource)
+function logResponses(media, expectedSource)
 {
     let pass = true;
     const ranges = internals.mediaResponseContentRanges(media);
     const sources = internals.mediaResponseSources(media);
     for (i = 0; i < ranges.length; ++i) {
-        if (sources[i] != expextedSource) {
-            logdiv.innerHTML += `FAIL: Range ${ranges[i]} from ${sources[i]} expected ${expextedSource}<br>`;
+        if (sources[i] != expectedSource) {
+            logdiv.innerHTML += `FAIL: Range ${ranges[i]} from ${sources[i]} expected ${expectedSource}<br>`;
             pass = false;
         }
     }
     if (pass)
-        logdiv.innerHTML += `PASS: All response ranges from: ${expextedSource}<br>`;
+        logdiv.innerHTML += `PASS: All response ranges from: ${expectedSource}<br>`;
 }
 
 async function test() {