summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorjparent@chromium.org <jparent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-12 01:03:05 +0000
committerjparent@chromium.org <jparent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-12 01:03:05 +0000
commit0f6ff8e0b2c190c26c6598778165f4a5cbfb733b (patch)
tree96aa9ec2226fb005cf24ff067fb585702593b780 /webkit
parent93f1ce6201a4e383831c5435db21258f3e83fb5d (diff)
downloadchromium_src-0f6ff8e0b2c190c26c6598778165f4a5cbfb733b.zip
chromium_src-0f6ff8e0b2c190c26c6598778165f4a5cbfb733b.tar.gz
chromium_src-0f6ff8e0b2c190c26c6598778165f4a5cbfb733b.tar.bz2
Flakiness dashboard: use startsWith rather than contains to match expectation to test name.
Dashboard was incorrectly matching a line like BUGFOO LINUX : media = PASS FAIL TIMEOUT with any test with the substring 'media' in it, like "fast/repaint/intermediate-layout-position-clip.html". TEST=none BUG=none Review URL: http://codereview.chromium.org/848007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41377 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/tools/layout_tests/flakiness_dashboard.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/layout_tests/flakiness_dashboard.html b/webkit/tools/layout_tests/flakiness_dashboard.html
index 5b1962f..2214e10 100644
--- a/webkit/tools/layout_tests/flakiness_dashboard.html
+++ b/webkit/tools/layout_tests/flakiness_dashboard.html
@@ -894,7 +894,7 @@
addTestToAllExpectations(path, expectations);
} else {
for (var test in allTests) {
- if (stringContains(test, path)) {
+ if (startsWith(test, path)) {
pathMatchesAnyTest = true;
addTestToAllExpectations(test, expectations);
}