Index: chrome/test/data/is_search_provider_installed_with_exception.html |
=================================================================== |
--- chrome/test/data/is_search_provider_installed_with_exception.html (revision 132499) |
+++ chrome/test/data/is_search_provider_installed_with_exception.html (working copy) |
@@ -20,15 +20,13 @@ |
} |
function writeResult() { |
- var result = "1"; |
- if (passedAll) |
+ if (passedAll) { |
logPassed("Everything passed."); |
- else { |
+ document.title = "OK"; |
+ } else { |
logFailed("At least one test failed."); |
- result = " " + document.body.innerText; // Add a space to ensure that the |
- // result doesn't resemble success. |
+ document.title = "FAIL"; |
} |
- document.cookie = document.location.hostname + "testResult=" + escape(result); |
} |
function MyObject() { |