From d6e07cafe6d4ed3170ddd4ee8b945bc925fd54e9 Mon Sep 17 00:00:00 2001 From: Tom Schuster Date: Mon, 17 Aug 2020 16:53:16 +0000 Subject: [PATCH] Bug 1650607 - Change WPT test for File constructor replacement. r=baku Change the test to follow the proposed change in https://github.com/w3c/FileAPI/issues/41, now that all browsers agree to not replace /. Depends on D86981 Differential Revision: https://phabricator.services.mozilla.com/D87112 --- testing/web-platform/tests/FileAPI/file/File-constructor.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/web-platform/tests/FileAPI/file/File-constructor.html b/testing/web-platform/tests/FileAPI/file/File-constructor.html index 63fda5e8d17d..3477e4ada16e 100644 --- a/testing/web-platform/tests/FileAPI/file/File-constructor.html +++ b/testing/web-platform/tests/FileAPI/file/File-constructor.html @@ -84,7 +84,8 @@ } test_second_argument("dummy", "dummy", "Using fileName"); -test_second_argument("dummy/foo", "dummy:foo", "Using special character in fileName"); +test_second_argument("dummy/foo", "dummy/foo", + "No replacement when using special character in fileName"); test_second_argument(null, "null", "Using null fileName"); test_second_argument(1, "1", "Using number fileName"); test_second_argument('', '', "Using empty string fileName");