Fix fast/spatial-navigation/snav-media-elements.html
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Jan 2012 08:40:32 +0000 (08:40 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Jan 2012 08:40:32 +0000 (08:40 +0000)
<http://webkit.org/b/76028>

Reviewed by Daniel Bates.

* fast/spatial-navigation/snav-media-elements-expected.txt: Update
results.
* fast/spatial-navigation/snav-media-elements.html: Fix
test-complete code path by using js-test-post-async.js.  Note
that the path to js-test-post.js was incorrect, so it was never
even loaded.

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

LayoutTests/ChangeLog
LayoutTests/fast/spatial-navigation/snav-media-elements-expected.txt
LayoutTests/fast/spatial-navigation/snav-media-elements.html

index e1f4175..95e237b 100644 (file)
@@ -1,3 +1,17 @@
+2012-01-11  David Kilzer  <ddkilzer@apple.com>
+
+        Fix fast/spatial-navigation/snav-media-elements.html
+        <http://webkit.org/b/76028>
+
+        Reviewed by Daniel Bates.
+
+        * fast/spatial-navigation/snav-media-elements-expected.txt: Update
+        results.
+        * fast/spatial-navigation/snav-media-elements.html: Fix
+        test-complete code path by using js-test-post-async.js.  Note
+        that the path to js-test-post.js was incorrect, so it was never
+        even loaded.
+
 2012-01-11  Dan Bernstein  <mitz@apple.com>
 
         <rdar://problem/10674686> Implement the font-kerning CSS property
index 839fc12..4910987 100644 (file)
@@ -22,4 +22,7 @@ PASS gFocusedDocument.activeElement.getAttribute("id") is "i8"
 PASS gFocusedDocument.activeElement.getAttribute("id") is "end"
 PASS gFocusedDocument.activeElement.getAttribute("id") is "i8"
 PASS gFocusedDocument.activeElement.getAttribute("id") is "end"
+PASS successfullyParsed is true
+
+TEST COMPLETE
 This tests that a media elements ie: <Audio> or <video>, without tabindex are able to be reached through keyboard access
index 5451315..40c6567 100755 (executable)
 
     function testCompleted()
     {
-      if (window.layoutTestController)
-        layoutTestController.notifyDone();
+      var scriptElement = document.createElement("script")
+      scriptElement.src = '../js/resources/js-test-post-async.js'
+      document.body.appendChild(scriptElement);
     }
 
     window.onload = runTest;
 
     </script>
-    <script src="js/resources/js-test-post.js"></script>
   </head>
 
   <body id="some-content" xmlns="http://www.w3.org/1999/xhtml">