Bug 1213815 - dom/webidl/HTMLHyperlinkElementUtils and URL don't need to throw exceptions as we did before, r=bz
This commit is contained in:
@@ -182,8 +182,7 @@ nsHTMLDNSPrefetch::CancelPrefetch(Link *aElement,
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
|
||||
nsAutoString hostname;
|
||||
ErrorResult rv;
|
||||
aElement->GetHostname(hostname, rv);
|
||||
aElement->GetHostname(hostname);
|
||||
return CancelPrefetch(hostname, flags, aReason);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user