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

Unified Diff: LayoutTests/fast/filesystem/resources/op-restricted-names.js

Issue 22831019: Deprecate FileError in FileAPI (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: win test expectation fix (temporary) Created 7 years, 4 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
Index: LayoutTests/fast/filesystem/resources/op-restricted-names.js
diff --git a/LayoutTests/fast/filesystem/resources/op-restricted-names.js b/LayoutTests/fast/filesystem/resources/op-restricted-names.js
index 5419d451283aa98ae2f57c9ffabb67fbdd13b385..3b2d0da9f4c4ce2fa4feeb2ad46f060750d6e794 100644
--- a/LayoutTests/fast/filesystem/resources/op-restricted-names.js
+++ b/LayoutTests/fast/filesystem/resources/op-restricted-names.js
@@ -7,8 +7,8 @@ var testCases = [
{fullPath:'/c', isDirectory:true}
],
tests: [
- function(helper) { helper.getFile('/', '.', {create:true}, FileError.SECURITY_ERR); },
- function(helper) { helper.getFile('/', '..', {create:true}, FileError.SECURITY_ERR); },
+ function(helper) { helper.getFile('/', '.', {create:true}, 'SecurityError'); },
+ function(helper) { helper.getFile('/', '..', {create:true}, 'SecurityError'); },
function(helper) { helper.getFile('/', 'con', {create:true}, 0); },
function(helper) { helper.getFile('/', 'CON', {create:true}, 0); },
function(helper) { helper.getFile('/', 'Con', {create:true}, 0); },

Powered by Google App Engine
This is Rietveld 408576698