mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Bug 236436, need to null check URL so we won't crash, r+sr=jst.
This commit is contained in:
parent
178957ce70
commit
ca4a979559
@ -802,6 +802,8 @@ nsXMLHttpRequest::OpenRequest(const char *method,
|
||||
NS_IMETHODIMP
|
||||
nsXMLHttpRequest::Open(const char *method, const char *url)
|
||||
{
|
||||
NS_ENSURE_ARG(url);
|
||||
|
||||
nsresult rv;
|
||||
PRBool async = PR_TRUE;
|
||||
char* user = nsnull;
|
||||
|
Loading…
Reference in New Issue
Block a user