mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 607280 - Remove the call to getShortcutOrURI in the contentAreaClick function. r=gavin
This commit is contained in:
parent
3305583642
commit
64a1a81ce1
@ -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