author | Matthew Noorenberghe <mozilla@noorenberghe.ca> |
Wed, 16 Jan 2013 18:39:46 -0800 | |
changeset 119126 | 4a1b771880d830a75f83593b31493c0874166b13 |
parent 119125 | 7d49dd8c58ddbcea8e2242c459c358f98ebfc79d |
child 119127 | b52c02f77cf5b76027fea25412e629cd3d551cb3 |
push id | 24192 |
push user | mozilla@noorenberghe.ca |
push date | Fri, 18 Jan 2013 00:18:36 +0000 |
treeherder | mozilla-central@b52c02f77cf5 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | felipe |
bugs | 829995 |
milestone | 21.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
browser/components/migration/src/IEProfileMigrator.js | file | annotate | diff | comparison | revisions |
--- a/browser/components/migration/src/IEProfileMigrator.js +++ b/browser/components/migration/src/IEProfileMigrator.js @@ -248,17 +248,17 @@ Bookmarks.prototype = { if (entry.isReadable()) { // Recursively import the folder. this._migrateFolder(entry, destFolderId); } } else { // Strip the .url extension, to both check this is a valid link file, // and get the associated title. - let matches = entry.leafName.match(/(.+)\.url$/); + let matches = entry.leafName.match(/(.+)\.url$/i); if (matches) { let fileHandler = Cc["@mozilla.org/network/protocol;1?name=file"]. getService(Ci.nsIFileProtocolHandler); let uri = fileHandler.readURLFile(entry); let title = matches[1]; PlacesUtils.bookmarks.insertBookmark(aDestFolderId, uri,