Skip to content

Commit

Permalink
Change WPT test for File constructor replacement.
Browse files Browse the repository at this point in the history
Change the test to follow the proposed change in w3c/FileAPI#41,
now that all browsers agree to not replace /.

Depends on D86981

Differential Revision: https://phabricator.services.mozilla.com/D87112

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1650607
gecko-commit: 365ae38a5bca68e4d8c8cf25b8f5230e306b0f09
gecko-integration-branch: autoland
gecko-reviewers: baku
  • Loading branch information
evilpie authored and moz-wptsync-bot committed Aug 17, 2020
1 parent a7a7d48 commit 937fff1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FileAPI/file/File-constructor.html
Expand Up @@ -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");
Expand Down

0 comments on commit 937fff1

Please sign in to comment.