Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(840)

Issue 1118813005: Don't create bookmark files on OSX that start with a dot. (Closed)

Created:
5 years, 7 months ago by jansauer
Modified:
5 years, 6 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't create bookmark files on OSX that start with a dot. When creating a bookmark file by draging and droping the URL to the desktop chromium uses the page title for the filename. In cases where the title starts with a dot the webloc file will also start with a dot. Since files starting with a dot are considered hidden and not shown by e.g. the Finder users won't see the expected resulting file. To circumvent this a dot as the first character is handled like any other character not allowed in a filename and gets replaced by a hyphen. BUG=138917 TEST=Paste "data:text/html,<title>. . . hey!</title>" into the Omnibox and drag and drop the URL to the desktop. Committed: https://crrev.com/300ff8956b18363815c4a2b3a6fd208dc95d1342 Cr-Commit-Position: refs/heads/master@{#333649}

Patch Set 1 #

Patch Set 2 : Remove GOATS file. #

Total comments: 1

Patch Set 3 : Use stringByReplacingOccurrencesOfString #

Patch Set 4 : Remove unused if #

Total comments: 1

Patch Set 5 : Improve code style #

Patch Set 6 : Add myself to the AUTHORS file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -5 lines) Patch
M AUTHORS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm View 1 2 3 4 2 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 28 (11 generated)
jansauer
5 years, 7 months ago (2015-05-05 17:03:00 UTC) #1
Scott Hess - ex-Googler
https://codereview.chromium.org/1118813005/diff/20001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm File chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm (right): https://codereview.chromium.org/1118813005/diff/20001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm#newcode750 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm:750: This code is already terrible, maybe just follow the ...
5 years, 7 months ago (2015-05-05 19:15:48 UTC) #4
jansauer
On 2015/05/05 19:15:48, Scott Hess wrote: > https://codereview.chromium.org/1118813005/diff/20001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm > File chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm > (right): > > ...
5 years, 7 months ago (2015-05-05 20:54:53 UTC) #5
Scott Hess - ex-Googler
On 2015/05/05 20:54:53, jansauer wrote: > On 2015/05/05 19:15:48, Scott Hess wrote: > > > ...
5 years, 6 months ago (2015-06-01 18:26:23 UTC) #6
jansauer
On 2015/06/01 18:26:23, Scott Hess wrote: > On 2015/05/05 20:54:53, jansauer wrote: > > On ...
5 years, 6 months ago (2015-06-09 20:21:34 UTC) #7
Scott Hess - ex-Googler
LGTM, but I think the style guide requires a change to the formatting of the ...
5 years, 6 months ago (2015-06-09 20:37:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1118813005/80001
5 years, 6 months ago (2015-06-09 21:39:48 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/69596)
5 years, 6 months ago (2015-06-09 22:28:00 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1118813005/100001
5 years, 6 months ago (2015-06-09 22:52:35 UTC) #16
Scott Hess - ex-Googler
In case someone else ends up here, CLA has been signed, so LGTM for AUTHORS ...
5 years, 6 months ago (2015-06-09 22:56:30 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_android/builds/18752)
5 years, 6 months ago (2015-06-09 23:27:47 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1118813005/100001
5 years, 6 months ago (2015-06-09 23:35:48 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/75087)
5 years, 6 months ago (2015-06-10 01:29:07 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1118813005/100001
5 years, 6 months ago (2015-06-10 01:35:08 UTC) #25
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 6 months ago (2015-06-10 02:07:49 UTC) #26
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/300ff8956b18363815c4a2b3a6fd208dc95d1342 Cr-Commit-Position: refs/heads/master@{#333649}
5 years, 6 months ago (2015-06-10 02:09:52 UTC) #27
jansauer
5 years, 6 months ago (2015-06-25 15:46:14 UTC) #28
Message was sent while issue was closed.
@Scott Hess: I noticed today that it's already working in Chrome Canary. Thx for
your patience and all your help.

Powered by Google App Engine
This is Rietveld 408576698