Skip to content

Commit

Permalink
Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
Browse files Browse the repository at this point in the history
  • Loading branch information
bakulf committed Oct 7, 2014
1 parent 310af70 commit 5171f2c
Show file tree
Hide file tree
Showing 125 changed files with 906 additions and 937 deletions.
2 changes: 1 addition & 1 deletion b2g/components/FilePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ FilePicker.prototype = {
}

// The name to be shown can be part of the message, or can be taken from
// the DOMFile (if the blob is a DOMFile).
// the File (if the blob is a File).
let name = data.result.name;
if (!name &&
(data.result.blob instanceof this.mParent.File) &&
Expand Down
6 changes: 3 additions & 3 deletions b2g/components/test/mochitest/test_filepicker_path.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
},
fileName: 'test5.txt'},
// case 6: returns file without name. This case may fail because we
// need to make sure the DOMFile can be sent through
// need to make sure the File can be sent through
// sendAsyncMessage API.
{ pickedResult: { success: true,
result: {
Expand Down Expand Up @@ -96,7 +96,7 @@
break;
case 'file-picked-posted':
is(fileInput.value, activeTestCase.fileName,
'DOMFile should be able to send through message.');
'File should be able to send through message.');
processTestCase();
break;
}
Expand Down Expand Up @@ -127,4 +127,4 @@
</script>
<input type="file" id="fileInput">
</body>
</html>
</html>
Loading

0 comments on commit 5171f2c

Please sign in to comment.