FileFilter.java revision 2dbb41d790c8a8a42469c45d2ca419519d279144
19066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project/* 29066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project * Copyright (C) 2007 The Android Open Source Project 39066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project * 49066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project * Licensed under the Apache License, Version 2.0 (the "License"); 59066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project * you may not use this file except in compliance with the License. 69066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project * You may obtain a copy of the License at 79066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project * 89066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project * http://www.apache.org/licenses/LICENSE-2.0 99066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project * 109066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project * Unless required by applicable law or agreed to in writing, software 119066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project * distributed under the License is distributed on an "AS IS" BASIS, 129066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 139066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project * See the License for the specific language governing permissions and 149066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project * limitations under the License. 159066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project */ 169066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project 179066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Projectpackage com.android.dumprendertree; 189066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project 19164bd7953778a80ca24b4a30477173ecb79d5531Steve Blockimport java.util.Vector; 209066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Projectimport android.util.*; 219066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project 229066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Projectpublic class FileFilter { 239066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project 24164bd7953778a80ca24b4a30477173ecb79d5531Steve Block private static final String LOGTAG = "FileFilter"; 25164bd7953778a80ca24b4a30477173ecb79d5531Steve Block 26cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block // Returns whether we should ignore this test and skip running it. 27b5522301a01d9ac8b86e18418562d28b5091dd27Steve Block // Currently we use this only for tests that crash or hang DumpRenderTree. 28b5522301a01d9ac8b86e18418562d28b5091dd27Steve Block // TODO: Fix these and eliminate this method. 299066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project public static boolean ignoreTest(String file) { 30cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block for (int i = 0; i < ignoreTestList.length; i++) { 31164bd7953778a80ca24b4a30477173ecb79d5531Steve Block if (file.endsWith(ignoreTestList[i])) { 32164bd7953778a80ca24b4a30477173ecb79d5531Steve Block Log.v(LOGTAG, "File path in list of ignored tests: " + file); 33164bd7953778a80ca24b4a30477173ecb79d5531Steve Block return true; 34164bd7953778a80ca24b4a30477173ecb79d5531Steve Block } 35164bd7953778a80ca24b4a30477173ecb79d5531Steve Block } 36cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block return false; 37cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block } 38cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block 39cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block // Returns whether a directory does not contain layout tests and so can be 40cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block // ignored. 41cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block public static boolean isNonTestDir(String file) { 42cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block for (int i = 0; i < nonTestDirs.length; i++) { 43cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block if (file.endsWith(nonTestDirs[i])) { 44164bd7953778a80ca24b4a30477173ecb79d5531Steve Block return true; 45164bd7953778a80ca24b4a30477173ecb79d5531Steve Block } 46164bd7953778a80ca24b4a30477173ecb79d5531Steve Block } 47cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block return false; 489066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project } 49164bd7953778a80ca24b4a30477173ecb79d5531Steve Block 50cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block // Returns whether we should ignore the result of this test. 51cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block public static boolean ignoreResult(String file) { 52164bd7953778a80ca24b4a30477173ecb79d5531Steve Block for (int i = 0; i < ignoreResultList.size(); i++) { 53164bd7953778a80ca24b4a30477173ecb79d5531Steve Block if (file.endsWith(ignoreResultList.get(i))) { 54164bd7953778a80ca24b4a30477173ecb79d5531Steve Block Log.v(LOGTAG, "File path in list of ignored results: " + file); 559066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project return true; 56164bd7953778a80ca24b4a30477173ecb79d5531Steve Block } 579066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project } 589066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project return false; 59cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block } 609066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project 61164bd7953778a80ca24b4a30477173ecb79d5531Steve Block final static Vector<String> ignoreResultList = new Vector<String>(); 6252f4362ecdaef299e7ab1ba94006cf4513605014Steve Block 639066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project static { 64164bd7953778a80ca24b4a30477173ecb79d5531Steve Block fillIgnoreResultList(); 659066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project } 669066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project 67cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block static final String[] nonTestDirs = { 689066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project ".", // ignore hidden directories and files 699066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project "resources", // ignore resource directories 709066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project ".svn", // don't run anything under .svn folder 71cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block "platform" // No-Android specific tests 729066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project }; 73cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block 74cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block static final String[] ignoreTestList = { 75f3c755a079233bc3e4f5d1583fd556fe02663ddbSteve Block "editing/selection/move-left-right.html", // Causes DumpRenderTree to hang 76f27d7fbac8f36ab5e10c8a5e03bad341aa826ea3Steve Block "fast/js/excessive-comma-usage.html", // Tests huge initializer list, causes OOM. 77cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block "fast/js/regexp-charclass-crash.html", // RegExp is too large, causing OOM 78b5522301a01d9ac8b86e18418562d28b5091dd27Steve Block "fast/regex/test1.html", // Causes DumpRenderTree to hang with V8 79f3c755a079233bc3e4f5d1583fd556fe02663ddbSteve Block "fast/regex/slow.html" // Causes DumpRenderTree to hang with V8 8089ac33b6213bfeaf975df755d2fba6441464d0d4Feng Qian }; 81cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block 82164bd7953778a80ca24b4a30477173ecb79d5531Steve Block static void fillIgnoreResultList() { 831d9b466568a6daec537c4d946ed174f6910998c4Steve Block // This first block of tests are for features for which Android 84f7483b1d5cac0585610f11ce4deec9a11f611baeSteve Block // should pass all tests. They are skipped only temporarily. 85f7483b1d5cac0585610f11ce4deec9a11f611baeSteve Block // TODO: Fix these failing tests and remove them from this list. 8679a81c2d380167cdd34a51a068bb8c8c490b0d6bSteve Block ignoreResultList.add("fast/events/touch/basic-multi-touch-events.html"); // Requires multi-touch 8779a81c2d380167cdd34a51a068bb8c8c490b0d6bSteve Block ignoreResultList.add("fast/events/touch/touch-target.html"); // Requires multi-touch 88f7483b1d5cac0585610f11ce4deec9a11f611baeSteve Block ignoreResultList.add("http/tests/appcache/empty-manifest.html"); // flaky 8975be797b0c07910715f1b2617b58af5abbfd0a99Kristian Monsen ignoreResultList.add("http/tests/appcache/fallback.html"); // http://b/issue?id=2713004 90f7483b1d5cac0585610f11ce4deec9a11f611baeSteve Block ignoreResultList.add("http/tests/appcache/foreign-iframe-main.html"); // flaky - skips states 91f7483b1d5cac0585610f11ce4deec9a11f611baeSteve Block ignoreResultList.add("http/tests/appcache/manifest-with-empty-file.html"); // flaky 927c58da758900ab1a48137f0e0726a36d671aa0a4Steve Block ignoreResultList.add("storage/database-lock-after-reload.html"); // Succeeds but DumpRenderTree does not read result correctly 937c58da758900ab1a48137f0e0726a36d671aa0a4Steve Block ignoreResultList.add("storage/hash-change-with-xhr.html"); // Succeeds but DumpRenderTree does not read result correctly 9452ab0b39fc7929453e81bd5ffbbf68bd1774fd5cSteve Block ignoreResultList.add("storage/open-database-creation-callback-isolated-world.html"); // Requires layoutTestController.evaluateScriptInIsolatedWorld() 9552ab0b39fc7929453e81bd5ffbbf68bd1774fd5cSteve Block ignoreResultList.add("storage/statement-error-callback-isolated-world.html"); // Requires layoutTestController.evaluateScriptInIsolatedWorld() 9652ab0b39fc7929453e81bd5ffbbf68bd1774fd5cSteve Block ignoreResultList.add("storage/statement-success-callback-isolated-world.html"); // Requires layoutTestController.evaluateScriptInIsolatedWorld() 9752ab0b39fc7929453e81bd5ffbbf68bd1774fd5cSteve Block ignoreResultList.add("storage/transaction-callback-isolated-world.html"); // Requires layoutTestController.evaluateScriptInIsolatedWorld() 9852ab0b39fc7929453e81bd5ffbbf68bd1774fd5cSteve Block ignoreResultList.add("storage/transaction-error-callback-isolated-world.html"); // Requires layoutTestController.evaluateScriptInIsolatedWorld() 992dbb41d790c8a8a42469c45d2ca419519d279144Leon Clarke ignoreResultList.add("storage/transaction-success-callback-isolated-world.html"); // Requires layoutTestController.evaluateScriptInIsolatedWorld() 100f7483b1d5cac0585610f11ce4deec9a11f611baeSteve Block 101cef45f336848bcc6cf2b433dbc77823f43234877Steve Block // Expected failures due to unsupported features. 1021d9b466568a6daec537c4d946ed174f6910998c4Steve Block ignoreResultList.add("fast/events/touch/touch-coords-in-zoom-and-scroll.html"); // Requires eventSender.zoomPageIn(),zoomPageOut() 1039b63c8ee37efa728c7be33baf748078329894437Steve Block ignoreResultList.add("fast/workers"); // workers not supported 1049b63c8ee37efa728c7be33baf748078329894437Steve Block ignoreResultList.add("http/tests/eventsource/workers"); // workers not supported 1059b63c8ee37efa728c7be33baf748078329894437Steve Block ignoreResultList.add("http/tests/workers"); // workers not supported 1069b63c8ee37efa728c7be33baf748078329894437Steve Block ignoreResultList.add("http/tests/xmlhttprequest/workers"); // workers not supported 1077c58da758900ab1a48137f0e0726a36d671aa0a4Steve Block ignoreResultList.add("storage/domstorage/localstorage/private-browsing-affects-storage.html"); // private browsing not supported 1087c58da758900ab1a48137f0e0726a36d671aa0a4Steve Block ignoreResultList.add("storage/domstorage/sessionstorage/private-browsing-affects-storage.html"); // private browsing not supported 109970effc07c5456af6d85f3c22a644248a55f3f6aLeon Clarke ignoreResultList.add("storage/indexeddb"); // indexeddb not supported 1107c58da758900ab1a48137f0e0726a36d671aa0a4Steve Block ignoreResultList.add("storage/private-browsing-readonly.html"); // private browsing not supported 1119b63c8ee37efa728c7be33baf748078329894437Steve Block ignoreResultList.add("websocket/tests/workers"); // workers not supported 112432e0eade76f64c36ae72d94c4f33d8e8ecc975aSteve Block 113cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block // TODO: These need to be triaged 114cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/css/case-transform.html"); // will not fix #619707 115cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/dom/Element/offsetLeft-offsetTop-body-quirk.html"); // different screen size result in extra spaces in Apple compared to us 116cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/dom/Window/Plug-ins.html"); // need test plugin 117cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/dom/Window/window-screen-properties.html"); // pixel depth 118cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/dom/Window/window-xy-properties.html"); // requires eventSender.mouseDown(),mouseUp() 11952f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/dom/attribute-namespaces-get-set.html"); // http://b/733229 120cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/dom/object-embed-plugin-scripting.html"); // dynamic plugins not supported 121cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/dom/tabindex-clamp.html"); // there is extra spacing in the file due to multiple input boxes fitting on one line on Apple, ours are wrapped. Space at line ends are stripped. 122cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/anchor-image-scrolled-x-y.html"); // requires eventSender.mouseDown(),mouseUp() 12352f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/events/arrow-navigation.html"); // http://b/735233 124cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/capture-on-target.html"); // requires eventSender.mouseDown(),mouseUp() 125cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/dblclick-addEventListener.html"); // requires eventSender.mouseDown(),mouseUp() 126cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/drag-in-frames.html"); // requires eventSender.mouseDown(),mouseUp() 127cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/drag-outside-window.html"); // requires eventSender.mouseDown(),mouseUp() 128cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/event-view-toString.html"); // requires eventSender.mouseDown(),mouseUp() 129cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/frame-click-focus.html"); // requires eventSender.mouseDown(),mouseUp() 13052f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/events/frame-tab-focus.html"); // http://b/734308 131cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/iframe-object-onload.html"); // there is extra spacing in the file due to multiple frame boxes fitting on one line on Apple, ours are wrapped. Space at line ends are stripped. 132cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/input-image-scrolled-x-y.html"); // requires eventSender.mouseDown(),mouseUp() 133cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/mouseclick-target-and-positioning.html"); // requires eventSender.mouseDown(),mouseUp() 134cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/mouseover-mouseout.html"); // requires eventSender.mouseDown(),mouseUp() 135cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/mouseover-mouseout2.html"); // requires eventSender.mouseDown(),mouseUp() 136cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/mouseup-outside-button.html"); // requires eventSender.mouseDown(),mouseUp() 137cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/mouseup-outside-document.html"); // requires eventSender.mouseDown(),mouseUp() 138cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/onclick-list-marker.html"); // requires eventSender.mouseDown(),mouseUp() 139cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/ondragenter.html"); // requires eventSender.mouseDown(),mouseUp() 140cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/onload-webkit-before-webcore.html"); // missing space in textrun, ok as text is wrapped. ignore. #714933 14152f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/events/option-tab.html"); // http://b/734308 142cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/window-events-bubble.html"); // requires eventSender.mouseDown(),mouseUp() 143cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/window-events-bubble2.html"); // requires eventSender.mouseDown(),mouseUp() 144cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/window-events-capture.html"); // requires eventSender.mouseDown(),mouseUp() 145cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/drag-into-textarea.html"); // requires eventSender.mouseDown(),mouseUp() 14652f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/forms/focus-control-to-page.html"); // http://b/716638 14752f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/forms/focus2.html"); // http://b/735111 148cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/form-data-encoding-2.html"); // charset convert. #516936 ignore, won't fix 149cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/form-data-encoding.html"); // charset convert. #516936 ignore, won't fix 150cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/input-appearance-maxlength.html"); // execCommand "insertText" not supported 151cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/input-select-on-click.html"); // requires eventSender.mouseDown(),mouseUp() 152cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/listbox-onchange.html"); // requires eventSender.mouseDown(),mouseUp() 15352f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/forms/listbox-selection.html"); // http://b/735116 154cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/onselect-textarea.html"); // requires eventSender.mouseMoveTo, mouseDown & mouseUp and abs. position of mouse to select a word. ignore, won't fix #716583 155cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/onselect-textfield.html"); // requires eventSender.mouseMoveTo, mouseDown & mouseUp and abs. position of mouse to select a word. ignore, won't fix #716583 156cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/plaintext-mode-1.html"); // not implemented queryCommandEnabled:BackColor, Undo & Redo 157cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/search-cancel-button-mouseup.html"); // requires eventSender.mouseDown(),mouseUp() 15852f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/forms/search-event-delay.html"); // http://b/735120 159cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/select-empty-list.html"); // requires eventSender.mouseDown(),mouseUp() 16052f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/forms/select-type-ahead-non-latin.html"); // http://b/735244 161cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/selected-index-assert.html"); // not capturing the console messages 162cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/selection-functions.html"); // there is extra spacing as the text areas and input boxes fit next to each other on Apple, but are wrapped on our screen. 163cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/textarea-appearance-wrap.html"); // Our text areas are a little thinner than Apples. Also RTL test failes 164cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/textarea-initial-caret-position.html"); // Text selection done differently on our platform. When a inputbox gets focus, the entire block is selected. 165cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/textarea-no-scroll-on-blur.html"); // Text selection done differently on our platform. When a inputbox gets focus, the entire block is selected. 166cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/textarea-paste-newline.html"); // Copy&Paste commands not supported 167cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/textarea-scrolled-endline-caret.html"); // requires eventSender.mouseDown(),mouseUp() 16852f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/frames/iframe-window-focus.html"); // http://b/735140 169cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/frames/frameElement-widthheight.html"); // screen width&height are different 170cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/frames/frame-js-url-clientWidth.html"); // screen width&height are different 17152f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/html/tab-order.html"); // http://b/719289 172cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/js/navigator-mimeTypes-length.html"); // dynamic plugins not supported 17352f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/js/string-capitalization.html"); // http://b/516936 174cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/loader/local-JavaScript-from-local.html"); // Requires LayoutTests to exist at /tmp/LayoutTests 175cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/loader/local-iFrame-source-from-local.html"); // Requires LayoutTests to exist at /tmp/LayoutTests 176cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/loader/opaque-base-url.html"); // extra spacing because iFrames rendered next to each other on Apple 17752f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/overflow/scroll-vertical-not-horizontal.html"); // http://b/735196 178cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/parser/script-tag-with-trailing-slash.html"); // not capturing the console messages 179cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/replaced/image-map.html"); // requires eventSender.mouseDown(),mouseUp() 180cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/text/plain-text-line-breaks.html"); // extra spacing because iFrames rendered next to each other on Apple 181cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block ignoreResultList.add("profiler"); // profiler is not supported 1829066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project } 18307a76ca0095b4e0a2484157f648c3e99ba36bdc6Steve Block 1849066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project} 185