mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 607280 - Remove the call to getShortcutOrURI in the contentAreaClick function. r=gavin
This commit is contained in:
parent
a87ade4d88
commit
a9094a7158
@ -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;
|
||||
}
|
||||
|
@ -113,7 +113,7 @@ let gTests = [
|
||||
clean: function() {},
|
||||
event: {},
|
||||
targets: [ "panellink" ],
|
||||
expectedInvokedMethods: [ "urlSecurityCheck", "getShortcutOrURI", "loadURI" ],
|
||||
expectedInvokedMethods: [ "urlSecurityCheck", "loadURI" ],
|
||||
preventDefault: true,
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user