Title: [104679] trunk/LayoutTests
Revision
104679
Author
[email protected]
Date
2012-01-11 00:40:32 -0800 (Wed, 11 Jan 2012)

Log Message

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.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (104678 => 104679)


--- trunk/LayoutTests/ChangeLog	2012-01-11 08:38:29 UTC (rev 104678)
+++ trunk/LayoutTests/ChangeLog	2012-01-11 08:40:32 UTC (rev 104679)
@@ -1,3 +1,17 @@
+2012-01-11  David Kilzer  <[email protected]>
+
+        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  <[email protected]>
 
         <rdar://problem/10674686> Implement the font-kerning CSS property

Modified: trunk/LayoutTests/fast/spatial-navigation/snav-media-elements-expected.txt (104678 => 104679)


--- trunk/LayoutTests/fast/spatial-navigation/snav-media-elements-expected.txt	2012-01-11 08:38:29 UTC (rev 104678)
+++ trunk/LayoutTests/fast/spatial-navigation/snav-media-elements-expected.txt	2012-01-11 08:40:32 UTC (rev 104679)
@@ -22,4 +22,7 @@
 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

Modified: trunk/LayoutTests/fast/spatial-navigation/snav-media-elements.html (104678 => 104679)


--- trunk/LayoutTests/fast/spatial-navigation/snav-media-elements.html	2012-01-11 08:38:29 UTC (rev 104678)
+++ trunk/LayoutTests/fast/spatial-navigation/snav-media-elements.html	2012-01-11 08:40:32 UTC (rev 104679)
@@ -38,14 +38,14 @@
 
     function testCompleted()
     {
-      if (window.layoutTestController)
-        layoutTestController.notifyDone();
+      var scriptElement = document.createElement("script")
+      scriptElement.src = ''
+      document.body.appendChild(scriptElement);
     }
 
     window._onload_ = runTest;
 
     </script>
-    <script src=""
   </head>
 
   <body id="some-content" xmlns="http://www.w3.org/1999/xhtml">
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to