Index: chrome/test/data/extensions/api_test/filebrowser_component/main.js |
=================================================================== |
--- chrome/test/data/extensions/api_test/filebrowser_component/main.js (revision 128756) |
+++ chrome/test/data/extensions/api_test/filebrowser_component/main.js (working copy) |
@@ -14,7 +14,7 @@ |
var cleanupError = 'Got unexpected error while cleaning up test directory.'; |
-// Class specified by the client running the TestRunner. |
+// Class specified by the client runnig the TestRunner. |
// |expectedTasks| should contain list of actions defined for abc files defined |
// by filesystem_handler part of the test. |
// |fileVerifierFunction| method that will verify test results received from the |
@@ -79,9 +79,7 @@ |
patterns = patterns.sort(); |
expectedPatterns = expectedPatterns.sort(); |
for (var j = 0; j < patterns.length; ++j) { |
- var translatedPattern = expectedPatterns[j].replace( |
- /^filesystem:/, "chrome-extension://*/"); |
- if (patterns[j] != translatedPattern) { |
+ if (patterns[j] != expectedPatterns[j]) { |
errorCallback({message: 'Wrong patterns set for task ' + |
taskName + '. ' + |
'Got: ' + patterns + |