DescriptionMake FileManagerDialog::SelectFileImpl() properly accept simple filenames as default path.
This affects Chrome OS.
1 - If the default path provided isn't managed by the external filesystem
provider, still keep the base (i.e., file) name.
2 - Fix the JS regex so that it splits the directory/leaf names correctly when
no path is provided.
BUG=http://code.google.com/p/chromium-os/issues/detail?id=22184
TEST=The main test is that sufficiently-recent Pepper Flash should provide
correct (Flash) Save As functionality, including the default filename;
e.g., http://www.everythingflex.com/flex3_fp10/savetodisk/SaveToDisk.html .
Also, "Save As" for HTML should also provide a default filename on Linux
chromeos=1 builds.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108009
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|