Changeset 145408 in webkit
- Timestamp:
- Mar 11, 2013 2:48:19 PM (11 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 1 added
- 12 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r145402 r145408 1 2013-03-11 Benjamin Poulain <benjamin@webkit.org> 2 3 Modernize the test visited-link-background-color.html 4 https://bugs.webkit.org/show_bug.cgi?id=111931 5 6 Reviewed by Sam Weinig. 7 8 Make the test a ref-test instead of a pixel test. 9 10 Use Internals' computedStyleIncludingVisitedInfo to make the test reliable 11 on platforms where the visited link list is updated asynchronously. 12 13 * fast/history/visited-link-background-color-expected.html: Copied from LayoutTests/fast/history/visited-link-background-color.html. 14 * fast/history/visited-link-background-color.html: 15 * platform/chromium-linux/fast/history/visited-link-background-color-expected.png: Removed. 16 * platform/chromium-win/fast/history/visited-link-background-color-expected.png: Removed. 17 * platform/chromium/TestExpectations: 18 * platform/chromium/fast/history/visited-link-background-color-expected.png: Removed. 19 * platform/chromium/fast/history/visited-link-background-color-expected.txt: Removed. 20 * platform/efl-wk1/fast/history/visited-link-background-color-expected.png: Removed. 21 * platform/efl/fast/history/visited-link-background-color-expected.png: Removed. 22 * platform/efl/fast/history/visited-link-background-color-expected.txt: Removed. 23 * platform/gtk/fast/history/visited-link-background-color-expected.png: Removed. 24 * platform/gtk/fast/history/visited-link-background-color-expected.txt: Removed. 25 * platform/mac-wk2/fast/history/visited-link-background-color-expected.png: Removed. 26 * platform/mac-wk2/fast/history/visited-link-background-color-expected.txt: Removed. 27 * platform/mac/fast/history/visited-link-background-color-expected.png: Removed. 28 * platform/mac/fast/history/visited-link-background-color-expected.txt: Removed. 29 * platform/qt/fast/history/visited-link-background-color-expected.png: Removed. 30 * platform/qt/fast/history/visited-link-background-color-expected.txt: Removed. 31 1 32 2013-03-11 Sheriff Bot <webkit.review.bot@gmail.com> 2 33 -
trunk/LayoutTests/fast/history/visited-link-background-color.html
r121012 r145408 10 10 </style> 11 11 <script> 12 if (window.testRunner) 13 window.testRunner.keepWebHistory(); 12 if (window.testRunner) { 13 testRunner.waitUntilDone(); 14 testRunner.keepWebHistory(); 15 } 16 function waitForStyleChange(failureTime) 17 { 18 var aElement = document.getElementsByTagName('a')[0]; 19 if (internals.computedStyleIncludingVisitedInfo(aElement).color === 'rgb(255, 255, 255)') 20 testRunner.notifyDone(); 21 else if (Date.now() > failureTime) 22 testRunner.notifyDone(); 23 else 24 setTimeout(waitForStyleChange, 5, failureTime); 25 } 26 function doTest() 27 { 28 if (window.testRunner) 29 waitForStyleChange(Date.now() + 500); 30 } 14 31 </script> 15 <body >32 <body onload="doTest()"> 16 33 <iframe src="resources/dummy.html" style="display:none"></iframe> 17 34 <a href="resources/dummy.html">This text should be white on an olive background.</a> 35 </body> -
trunk/LayoutTests/platform/chromium/TestExpectations
r145402 r145408 2195 2195 webkit.org/b/111031 fast/history/sibling-visited-test.html [ Failure ] 2196 2196 webkit.org/b/111031 fast/loader/stateobjects/state-url-sets-links-visited.html [ Failure ] 2197 webkit.org/b/111031 [ Mac Android ] fast/history/visited-link-background-color.html [Failure ]2197 webkit.org/b/111031 fast/history/visited-link-background-color.html [ ImageOnlyFailure ] 2198 2198 2199 2199 # Tests that work with KURL, but fail with GURL
Note: See TracChangeset
for help on using the changeset viewer.