Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CB-6012: Don't necessarily drop query parameters from File plugin URLs

  • Loading branch information...
commit 88ab61bf9f7cc6ac21a8ef8c49917cc289032d26 1 parent e0967ed
@clelland clelland authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 autotest/tests/file.tests.js
View
6 autotest/tests/file.tests.js
@@ -269,7 +269,11 @@ describe('File API', function() {
var fileName = "resolve.file.uri.params",
win = jasmine.createSpy().andCallFake(function(fileEntry) {
expect(fileEntry).toBeDefined();
- expect(fileEntry.name).toBe(fileName);
+ if (fileEntry.toURL().toLowerCase().substring(0,10) === "cdvfile://") {
+ expect(fileEntry.name).toBe(fileName + "?1234567890");
+ } else {
+ expect(fileEntry.name).toBe(fileName);
+ }
// cleanup
deleteEntry(fileName);
Please sign in to comment.
Something went wrong with that request. Please try again.