Bug 607280 - Remove the call to getShortcutOrURI in the contentAreaClick function. r=gavin

This commit is contained in:
Abhishek Potnis 2012-11-04 19:18:37 +05:30
parent a87ade4d88
commit a9094a7158
2 changed files with 2 additions and 6 deletions

View File

@ -5329,11 +5329,7 @@ function contentAreaClick(event, isPanelClick)
return;
}
let postData = {};
let url = getShortcutOrURI(href, postData);
if (!url)
return;
loadURI(url, null, postData.value, false);
loadURI(href, null, null, false);
event.preventDefault();
return;
}

View File

@ -113,7 +113,7 @@ let gTests = [
clean: function() {},
event: {},
targets: [ "panellink" ],
expectedInvokedMethods: [ "urlSecurityCheck", "getShortcutOrURI", "loadURI" ],
expectedInvokedMethods: [ "urlSecurityCheck", "loadURI" ],
preventDefault: true,
},