Backout changeset b0200dab0ccc to revert the incorrect backout of an fx-team range (no bug)

This is the range I mistakenly backed out before:
http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=bc5fee76550b
This commit is contained in:
Ehsan Akhgari
2012-05-02 16:11:19 -04:00
parent 84341ba3be
commit aa8031a7f4
16 changed files with 322 additions and 131 deletions

View File

@@ -72,6 +72,14 @@ Protocol.prototype = {
* @return The newly created channel.
*/
newChannel: function Proto_newChannel(aURI) {
let {url} = parseURI(aURI);
let file = PageThumbsStorage.getFileForURL(url);
if (file.exists()) {
let fileuri = Services.io.newFileURI(file);
return Services.io.newChannelFromURI(fileuri);
}
return new Channel(aURI);
},