Bug 991468 - Remove isInitialized after we remove the old parser. (r=grobinson,ckerschb)

This commit is contained in:
Sid Stamm 2014-07-30 14:37:22 -07:00
Родитель 2252bd6c38
Коммит 25bbfb5f71
2 изменённых файлов: 1 добавлений и 14 удалений

Просмотреть файл

@ -17,17 +17,10 @@ interface nsIPrincipal;
* one of these per document/principal.
*/
[scriptable, uuid(6d5d07e5-4ff1-48cc-aeaa-a7ffc979e854)]
[scriptable, uuid(cc32d9f1-3d2a-466b-a691-ae8357af4445)]
interface nsIContentSecurityPolicy : nsISerializable
{
/**
* Set to true when the CSP has been read in and parsed and is ready to
* enforce. This is a barrier for the nsDocument so it doesn't load any
* sub-content until either it knows that a CSP is ready or will not be used.
*/
readonly attribute boolean isInitialized;
/**
* Accessor method for a read-only string version of the policy at a given
* index.

Просмотреть файл

@ -234,12 +234,6 @@ nsCSPContext::~nsCSPContext()
mShouldLoadCache.Clear();
}
NS_IMETHODIMP
nsCSPContext::GetIsInitialized(bool *outIsInitialized)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsCSPContext::GetPolicy(uint32_t aIndex, nsAString& outStr)
{