зеркало из https://github.com/mozilla/gecko-dev.git
Bug 991468 - Remove isInitialized after we remove the old parser. (r=grobinson,ckerschb)
This commit is contained in:
Родитель
2252bd6c38
Коммит
25bbfb5f71
|
@ -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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче