mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 383353 - Remove normalizePostData from browser.js. r=gavin
This commit is contained in:
parent
d63f6da5c7
commit
d21adfda6c
@ -2085,21 +2085,6 @@ function getShortcutOrURI(aURL, aPostDataRef)
|
||||
return aURL;
|
||||
}
|
||||
|
||||
#if 0
|
||||
// XXXben - this is only useful if we ever support text/plain encoded forms in
|
||||
// smart keywords.
|
||||
function normalizePostData(aStringData)
|
||||
{
|
||||
var parts = aStringData.split("&");
|
||||
var result = "";
|
||||
for (var i = 0; i < parts.length; ++i) {
|
||||
var part = unescape(parts[i]);
|
||||
if (part)
|
||||
result += part + "\r\n";
|
||||
}
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
function getPostDataStream(aStringData, aKeyword, aEncKeyword, aType)
|
||||
{
|
||||
var dataStream = Components.classes["@mozilla.org/io/string-input-stream;1"]
|
||||
|
Loading…
Reference in New Issue
Block a user