Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8143)

Unified Diff: chrome/test/data/extensions/api_test/filebrowser_component/main.js

Issue 9808101: Revert 128753 - Add full support for filesystem URLs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/url_pattern_unittest.cc ('k') | content/browser/browser_url_handler_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 +
« no previous file with comments | « chrome/common/extensions/url_pattern_unittest.cc ('k') | content/browser/browser_url_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698