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 = { 758d1c8048b08f512a05006934d10f04cf34cebcf8Steve Block "canvas/philip/tests/2d.drawImage.broken.html", // blocks test, http://b/2982500 76f3c755a079233bc3e4f5d1583fd556fe02663ddbSteve Block "editing/selection/move-left-right.html", // Causes DumpRenderTree to hang 77f27d7fbac8f36ab5e10c8a5e03bad341aa826ea3Steve Block "fast/js/excessive-comma-usage.html", // Tests huge initializer list, causes OOM. 78cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block "fast/js/regexp-charclass-crash.html", // RegExp is too large, causing OOM 798d1c8048b08f512a05006934d10f04cf34cebcf8Steve Block "fast/js/regexp-overflow.html", // Result is too large, causing OOM when reading by DRT, http://b/2697589 80b5522301a01d9ac8b86e18418562d28b5091dd27Steve Block "fast/regex/test1.html", // Causes DumpRenderTree to hang with V8 818136954a3ffb2c1e0014abe05f1effa1fb3e10c3Kristian Monsen "fast/regex/slow.html", // Causes DumpRenderTree to hang with V8 8289ac33b6213bfeaf975df755d2fba6441464d0d4Feng Qian }; 83cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block 84164bd7953778a80ca24b4a30477173ecb79d5531Steve Block static void fillIgnoreResultList() { 851d9b466568a6daec537c4d946ed174f6910998c4Steve Block // This first block of tests are for features for which Android 86f7483b1d5cac0585610f11ce4deec9a11f611baeSteve Block // should pass all tests. They are skipped only temporarily. 87f7483b1d5cac0585610f11ce4deec9a11f611baeSteve Block // TODO: Fix these failing tests and remove them from this list. 88adafec5e43e9414c79e6b678119c3aa987619c09Ben Murdoch ignoreResultList.add("fast/dom/HTMLKeygenElement/keygen.html"); // Missing layoutTestController.shadowRoot() 89adafec5e43e9414c79e6b678119c3aa987619c09Ben Murdoch ignoreResultList.add("fast/dom/Geolocation/window-close-crash.html"); // Missing layoutTestContoller.setCloseRemainingWindowsWhenComplete() 90adafec5e43e9414c79e6b678119c3aa987619c09Ben Murdoch ignoreResultList.add("fast/dom/Geolocation/page-reload-cancel-permission-requests.html"); // Missing layoutTestController.numberOfPendingGeolocationPermissionRequests() 91adafec5e43e9414c79e6b678119c3aa987619c09Ben Murdoch ignoreResultList.add("fast/dom/HTMLLinkElement/link-and-subresource-test.html"); // Missing layoutTestController.dumpResourceResponseMIMETypes() 92adafec5e43e9414c79e6b678119c3aa987619c09Ben Murdoch ignoreResultList.add("fast/dom/HTMLLinkElement/prefetch.html"); // Missing layoutTestController.dumpResourceResponseMIMETypes() 93adafec5e43e9414c79e6b678119c3aa987619c09Ben Murdoch ignoreResultList.add("fast/dom/HTMLLinkElement/subresource.html"); // Missing layoutTestController.dumpResourceResponseMIMETypes() 945f421a56786cf7c71159280c51bd4280f5199cfbIain Merrick ignoreResultList.add("fast/encoding/char-decoding.html"); // fails in Java HTTP stack, see http://b/issue?id=3047156 955f421a56786cf7c71159280c51bd4280f5199cfbIain Merrick ignoreResultList.add("fast/encoding/hanarei-blog32-fc2-com.html"); // fails in Java HTTP stack, see http://b/issue?id=3046986 965f421a56786cf7c71159280c51bd4280f5199cfbIain Merrick ignoreResultList.add("fast/encoding/mailto-always-utf-8.html"); // Requires waitForPolicyDelegate(), see http://b/issue?id=3043468 975f421a56786cf7c71159280c51bd4280f5199cfbIain Merrick ignoreResultList.add("fast/encoding/percent-escaping.html"); // fails in Java HTTP stack, see http://b/issue?id=3046984 98f7483b1d5cac0585610f11ce4deec9a11f611baeSteve Block ignoreResultList.add("http/tests/appcache/empty-manifest.html"); // flaky 9975be797b0c07910715f1b2617b58af5abbfd0a99Kristian Monsen ignoreResultList.add("http/tests/appcache/fallback.html"); // http://b/issue?id=2713004 1006a6146958cbf6e32201f51eba9cf33840bf51841Steve Block ignoreResultList.add("http/tests/appcache/foreign-fallback.html"); // Flaky, may be due to DRT, see http://b/3285647 101f7483b1d5cac0585610f11ce4deec9a11f611baeSteve Block ignoreResultList.add("http/tests/appcache/foreign-iframe-main.html"); // flaky - skips states 102f7483b1d5cac0585610f11ce4deec9a11f611baeSteve Block ignoreResultList.add("http/tests/appcache/manifest-with-empty-file.html"); // flaky 103558f7dcf05232a9ae94756ff1a328764fd867e1eIain Merrick ignoreResultList.add("http/tests/appcache/origin-quota.html"); // needs clearAllApplicationCaches(), see http://b/issue?id=2944196 1047c58da758900ab1a48137f0e0726a36d671aa0a4Steve Block ignoreResultList.add("storage/database-lock-after-reload.html"); // Succeeds but DumpRenderTree does not read result correctly 1057c58da758900ab1a48137f0e0726a36d671aa0a4Steve Block ignoreResultList.add("storage/hash-change-with-xhr.html"); // Succeeds but DumpRenderTree does not read result correctly 10652ab0b39fc7929453e81bd5ffbbf68bd1774fd5cSteve Block ignoreResultList.add("storage/open-database-creation-callback-isolated-world.html"); // Requires layoutTestController.evaluateScriptInIsolatedWorld() 10752ab0b39fc7929453e81bd5ffbbf68bd1774fd5cSteve Block ignoreResultList.add("storage/statement-error-callback-isolated-world.html"); // Requires layoutTestController.evaluateScriptInIsolatedWorld() 10852ab0b39fc7929453e81bd5ffbbf68bd1774fd5cSteve Block ignoreResultList.add("storage/statement-success-callback-isolated-world.html"); // Requires layoutTestController.evaluateScriptInIsolatedWorld() 109adafec5e43e9414c79e6b678119c3aa987619c09Ben Murdoch ignoreResultList.add("storage/storageinfo-query-usage.html"); // Need window.webkitStorageInfo 11052ab0b39fc7929453e81bd5ffbbf68bd1774fd5cSteve Block ignoreResultList.add("storage/transaction-callback-isolated-world.html"); // Requires layoutTestController.evaluateScriptInIsolatedWorld() 11152ab0b39fc7929453e81bd5ffbbf68bd1774fd5cSteve Block ignoreResultList.add("storage/transaction-error-callback-isolated-world.html"); // Requires layoutTestController.evaluateScriptInIsolatedWorld() 1122dbb41d790c8a8a42469c45d2ca419519d279144Leon Clarke ignoreResultList.add("storage/transaction-success-callback-isolated-world.html"); // Requires layoutTestController.evaluateScriptInIsolatedWorld() 113adafec5e43e9414c79e6b678119c3aa987619c09Ben Murdoch ignoreResultList.add("storage/domstorage/localstorage/storagetracker/storage-tracker-1-prepare.html"); // Missing layoutTestController.originsWithLocalStorage() 114adafec5e43e9414c79e6b678119c3aa987619c09Ben Murdoch ignoreResultList.add("storage/domstorage/localstorage/storagetracker/storage-tracker-2-create.html"); // Missing layoutTestController.originsWithLocalStorage() 115adafec5e43e9414c79e6b678119c3aa987619c09Ben Murdoch ignoreResultList.add("storage/domstorage/localstorage/storagetracker/storage-tracker-3-delete-all.html"); // Missing layoutTestController.originsWithLocalStorage() 116adafec5e43e9414c79e6b678119c3aa987619c09Ben Murdoch ignoreResultList.add("storage/domstorage/localstorage/storagetracker/storage-tracker-4-create.html"); // Missing layoutTestController.originsWithLocalStorage() 117adafec5e43e9414c79e6b678119c3aa987619c09Ben Murdoch ignoreResultList.add("storage/domstorage/localstorage/storagetracker/storage-tracker-5-delete-one.html"); // Missing layoutTestController.originsWithLocalStorage() 118adafec5e43e9414c79e6b678119c3aa987619c09Ben Murdoch 119f7483b1d5cac0585610f11ce4deec9a11f611baeSteve Block 12049aa65aa4651b9ee3a533f0bafb62bdb07a2a2b5Steve Block // Expected failures due to unsupported features or tests unsuitable for Android. 1215f421a56786cf7c71159280c51bd4280f5199cfbIain Merrick ignoreResultList.add("fast/encoding/char-decoding-mac.html"); // Mac-specific encodings (also marked Won't Fix in Chromium, bug 7388) 1225f421a56786cf7c71159280c51bd4280f5199cfbIain Merrick ignoreResultList.add("fast/encoding/char-encoding-mac.html"); // Mac-specific encodings (also marked Won't Fix in Chromium, bug 7388) 1235f421a56786cf7c71159280c51bd4280f5199cfbIain Merrick ignoreResultList.add("fast/encoding/idn-security.html"); // Mac-specific IDN checks (also marked Won't Fix in Chromium, bug 21814) 12449aa65aa4651b9ee3a533f0bafb62bdb07a2a2b5Steve Block ignoreResultList.add("fast/events/touch/basic-multi-touch-events.html"); // Requires multi-touch gestures not supported by Android system 1251d9b466568a6daec537c4d946ed174f6910998c4Steve Block ignoreResultList.add("fast/events/touch/touch-coords-in-zoom-and-scroll.html"); // Requires eventSender.zoomPageIn(),zoomPageOut() 12649aa65aa4651b9ee3a533f0bafb62bdb07a2a2b5Steve Block ignoreResultList.add("fast/events/touch/touch-target.html"); // Requires multi-touch gestures not supported by Android system 1279b63c8ee37efa728c7be33baf748078329894437Steve Block ignoreResultList.add("fast/workers"); // workers not supported 128a662c8c92c78531f40352b117f5e32057b135a0fSteve Block ignoreResultList.add("http/tests/cookies/third-party-cookie-relaxing.html"); // We don't support conditional acceptance of third-party cookies 1299b63c8ee37efa728c7be33baf748078329894437Steve Block ignoreResultList.add("http/tests/eventsource/workers"); // workers not supported 1309b63c8ee37efa728c7be33baf748078329894437Steve Block ignoreResultList.add("http/tests/workers"); // workers not supported 1319b63c8ee37efa728c7be33baf748078329894437Steve Block ignoreResultList.add("http/tests/xmlhttprequest/workers"); // workers not supported 1327c58da758900ab1a48137f0e0726a36d671aa0a4Steve Block ignoreResultList.add("storage/domstorage/localstorage/private-browsing-affects-storage.html"); // private browsing not supported 1337c58da758900ab1a48137f0e0726a36d671aa0a4Steve Block ignoreResultList.add("storage/domstorage/sessionstorage/private-browsing-affects-storage.html"); // private browsing not supported 134970effc07c5456af6d85f3c22a644248a55f3f6aLeon Clarke ignoreResultList.add("storage/indexeddb"); // indexeddb not supported 135adafec5e43e9414c79e6b678119c3aa987619c09Ben Murdoch ignoreResultList.add("storage/private-browsing-noread-nowrite.html"); // private browsing not supported 1367c58da758900ab1a48137f0e0726a36d671aa0a4Steve Block ignoreResultList.add("storage/private-browsing-readonly.html"); // private browsing not supported 1379b63c8ee37efa728c7be33baf748078329894437Steve Block ignoreResultList.add("websocket/tests/workers"); // workers not supported 1380b5bd35f60507e6899419d4fa3cecc89e2cee9f9Ben Murdoch ignoreResultList.add("dom/xhtml/level2/html/htmldocument04.xhtml"); // /mnt/sdcard on SR uses lowercase filesystem, this test checks filename and is case senstive. 1390b5bd35f60507e6899419d4fa3cecc89e2cee9f9Ben Murdoch ignoreResultList.add("dom/html/level2/html/htmldocument04.html"); // ditto 140432e0eade76f64c36ae72d94c4f33d8e8ecc975aSteve Block 141d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block // Expected failures due to missing expected results 142d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block ignoreResultList.add("dom/xhtml/level3/core/canonicalform08.xhtml"); 143d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block ignoreResultList.add("dom/xhtml/level3/core/canonicalform09.xhtml"); 144d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block ignoreResultList.add("dom/xhtml/level3/core/documentgetinputencoding03.xhtml"); 145d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block ignoreResultList.add("dom/xhtml/level3/core/entitygetinputencoding02.xhtml"); 146d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block ignoreResultList.add("dom/xhtml/level3/core/entitygetxmlversion02.xhtml"); 147d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block ignoreResultList.add("dom/xhtml/level3/core/nodegetbaseuri05.xhtml"); 148d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block ignoreResultList.add("dom/xhtml/level3/core/nodegetbaseuri07.xhtml"); 149d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block ignoreResultList.add("dom/xhtml/level3/core/nodegetbaseuri09.xhtml"); 150d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block ignoreResultList.add("dom/xhtml/level3/core/nodegetbaseuri10.xhtml"); 151d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block ignoreResultList.add("dom/xhtml/level3/core/nodegetbaseuri11.xhtml"); 152d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block ignoreResultList.add("dom/xhtml/level3/core/nodegetbaseuri15.xhtml"); 153d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block ignoreResultList.add("dom/xhtml/level3/core/nodegetbaseuri17.xhtml"); 154d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block ignoreResultList.add("dom/xhtml/level3/core/nodegetbaseuri18.xhtml"); 155d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block ignoreResultList.add("dom/xhtml/level3/core/nodelookupnamespaceuri01.xhtml"); 156d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block ignoreResultList.add("dom/xhtml/level3/core/nodelookupprefix19.xhtml"); 157d1d44189781228c4e7f696eb3187dc3ca1e8b2b9Steve Block 158cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block // TODO: These need to be triaged 159cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/css/case-transform.html"); // will not fix #619707 160cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/dom/Element/offsetLeft-offsetTop-body-quirk.html"); // different screen size result in extra spaces in Apple compared to us 161cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/dom/Window/Plug-ins.html"); // need test plugin 162cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/dom/Window/window-screen-properties.html"); // pixel depth 163cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/dom/Window/window-xy-properties.html"); // requires eventSender.mouseDown(),mouseUp() 16452f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/dom/attribute-namespaces-get-set.html"); // http://b/733229 165cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/dom/object-embed-plugin-scripting.html"); // dynamic plugins not supported 166cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve 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. 167cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/anchor-image-scrolled-x-y.html"); // requires eventSender.mouseDown(),mouseUp() 16852f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/events/arrow-navigation.html"); // http://b/735233 169cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/capture-on-target.html"); // requires eventSender.mouseDown(),mouseUp() 170cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/dblclick-addEventListener.html"); // requires eventSender.mouseDown(),mouseUp() 171cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/drag-in-frames.html"); // requires eventSender.mouseDown(),mouseUp() 172cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/drag-outside-window.html"); // requires eventSender.mouseDown(),mouseUp() 173cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/event-view-toString.html"); // requires eventSender.mouseDown(),mouseUp() 174cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/frame-click-focus.html"); // requires eventSender.mouseDown(),mouseUp() 17552f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/events/frame-tab-focus.html"); // http://b/734308 176cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve 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. 177cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/input-image-scrolled-x-y.html"); // requires eventSender.mouseDown(),mouseUp() 178cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/mouseclick-target-and-positioning.html"); // requires eventSender.mouseDown(),mouseUp() 179cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/mouseover-mouseout.html"); // requires eventSender.mouseDown(),mouseUp() 180cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/mouseover-mouseout2.html"); // requires eventSender.mouseDown(),mouseUp() 181cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/mouseup-outside-button.html"); // requires eventSender.mouseDown(),mouseUp() 182cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/mouseup-outside-document.html"); // requires eventSender.mouseDown(),mouseUp() 183cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/onclick-list-marker.html"); // requires eventSender.mouseDown(),mouseUp() 184cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/ondragenter.html"); // requires eventSender.mouseDown(),mouseUp() 185cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/onload-webkit-before-webcore.html"); // missing space in textrun, ok as text is wrapped. ignore. #714933 18652f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/events/option-tab.html"); // http://b/734308 187cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/window-events-bubble.html"); // requires eventSender.mouseDown(),mouseUp() 188cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/window-events-bubble2.html"); // requires eventSender.mouseDown(),mouseUp() 189cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/events/window-events-capture.html"); // requires eventSender.mouseDown(),mouseUp() 190cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/drag-into-textarea.html"); // requires eventSender.mouseDown(),mouseUp() 19152f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/forms/focus-control-to-page.html"); // http://b/716638 19252f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/forms/focus2.html"); // http://b/735111 193cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/form-data-encoding-2.html"); // charset convert. #516936 ignore, won't fix 194cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/form-data-encoding.html"); // charset convert. #516936 ignore, won't fix 195cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/input-appearance-maxlength.html"); // execCommand "insertText" not supported 196cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/input-select-on-click.html"); // requires eventSender.mouseDown(),mouseUp() 197cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/listbox-onchange.html"); // requires eventSender.mouseDown(),mouseUp() 19852f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/forms/listbox-selection.html"); // http://b/735116 199cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve 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 200cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve 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 201cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/plaintext-mode-1.html"); // not implemented queryCommandEnabled:BackColor, Undo & Redo 202cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/search-cancel-button-mouseup.html"); // requires eventSender.mouseDown(),mouseUp() 20352f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/forms/search-event-delay.html"); // http://b/735120 204cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/select-empty-list.html"); // requires eventSender.mouseDown(),mouseUp() 20552f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/forms/select-type-ahead-non-latin.html"); // http://b/735244 206cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/selected-index-assert.html"); // not capturing the console messages 207cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve 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. 208cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/textarea-appearance-wrap.html"); // Our text areas are a little thinner than Apples. Also RTL test failes 209cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve 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. 210cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve 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. 211cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/textarea-paste-newline.html"); // Copy&Paste commands not supported 212cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/forms/textarea-scrolled-endline-caret.html"); // requires eventSender.mouseDown(),mouseUp() 21352f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/frames/iframe-window-focus.html"); // http://b/735140 214cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/frames/frameElement-widthheight.html"); // screen width&height are different 215cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/frames/frame-js-url-clientWidth.html"); // screen width&height are different 21652f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/html/tab-order.html"); // http://b/719289 217cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/js/navigator-mimeTypes-length.html"); // dynamic plugins not supported 21852f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/js/string-capitalization.html"); // http://b/516936 219cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/loader/local-JavaScript-from-local.html"); // Requires LayoutTests to exist at /tmp/LayoutTests 220cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/loader/local-iFrame-source-from-local.html"); // Requires LayoutTests to exist at /tmp/LayoutTests 221cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/loader/opaque-base-url.html"); // extra spacing because iFrames rendered next to each other on Apple 22252f4362ecdaef299e7ab1ba94006cf4513605014Steve Block ignoreResultList.add("fast/overflow/scroll-vertical-not-horizontal.html"); // http://b/735196 223cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/parser/script-tag-with-trailing-slash.html"); // not capturing the console messages 224cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/replaced/image-map.html"); // requires eventSender.mouseDown(),mouseUp() 225cdb4ef4cdb4b3fb729d619c830e169ba056d3905Steve Block ignoreResultList.add("fast/text/plain-text-line-breaks.html"); // extra spacing because iFrames rendered next to each other on Apple 226cf0fd7892b7208ebfa35809b63fc8e4d60e4d466Steve Block ignoreResultList.add("profiler"); // profiler is not supported 2279066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project } 22807a76ca0095b4e0a2484157f648c3e99ba36bdc6Steve Block 2299066cfe9886ac131c34d59ed0e2d287b0e3c0087The Android Open Source Project} 230