Loading dom/base/nsContentPolicyUtils.h +0 −1 Original line number Diff line number Diff line Loading @@ -147,7 +147,6 @@ inline const char* NS_CP_ContentTypeName(nsContentPolicyType contentType) { CASE_RETURN(TYPE_INTERNAL_WORKER_STATIC_MODULE); CASE_RETURN(TYPE_PROXIED_WEBRTC_MEDIA); CASE_RETURN(TYPE_WEB_IDENTITY); CASE_RETURN(TYPE_WEB_TRANSPORT); CASE_RETURN(TYPE_END); case nsIContentPolicy::TYPE_INVALID: break; Loading dom/base/nsIContentPolicy.idl +1 −6 Original line number Diff line number Diff line Loading @@ -438,18 +438,13 @@ interface nsIContentPolicy : nsISupports */ TYPE_INTERNAL_WORKER_STATIC_MODULE = 58, /** * Indicates Webtransport request */ TYPE_WEB_TRANSPORT = 59, /** * Used to indicate the end of this list, not a content policy. If you want * to add a new content policy type, place it before this sentinel value * TYPE_END, have it use TYPE_END's current value, and increment TYPE_END by * one. (TYPE_END should always have the highest numerical value.) */ TYPE_END = 60, TYPE_END = 59, /* When adding new content types, please update Loading dom/cache/DBSchema.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -344,8 +344,7 @@ static_assert( nsIContentPolicy::TYPE_UA_FONT == 55 && nsIContentPolicy::TYPE_WEB_IDENTITY == 57 && nsIContentPolicy::TYPE_INTERNAL_WORKER_STATIC_MODULE == 58 && nsIContentPolicy::TYPE_WEB_TRANSPORT == 59 && nsIContentPolicy::TYPE_END == 60, nsIContentPolicy::TYPE_END == 59, "nsContentPolicyType values are as expected"); namespace { Loading dom/fetch/InternalRequest.cpp +0 −2 Original line number Diff line number Diff line Loading @@ -347,8 +347,6 @@ RequestDestination InternalRequest::MapContentPolicyTypeToRequestDestination( return RequestDestination::_empty; case nsIContentPolicy::TYPE_WEB_IDENTITY: return RequestDestination::_empty; case nsIContentPolicy::TYPE_WEB_TRANSPORT: return RequestDestination::_empty; case nsIContentPolicy::TYPE_INVALID: case nsIContentPolicy::TYPE_END: break; Loading dom/security/SecFetch.cpp +0 −2 Original line number Diff line number Diff line Loading @@ -109,8 +109,6 @@ nsCString MapInternalContentPolicyTypeToDest(nsContentPolicyType aType) { return "empty"_ns; case nsIContentPolicy::TYPE_WEB_IDENTITY: return "webidentity"_ns; case nsIContentPolicy::TYPE_WEB_TRANSPORT: return "webtransport"_ns; case nsIContentPolicy::TYPE_END: case nsIContentPolicy::TYPE_INVALID: break; Loading Loading
dom/base/nsContentPolicyUtils.h +0 −1 Original line number Diff line number Diff line Loading @@ -147,7 +147,6 @@ inline const char* NS_CP_ContentTypeName(nsContentPolicyType contentType) { CASE_RETURN(TYPE_INTERNAL_WORKER_STATIC_MODULE); CASE_RETURN(TYPE_PROXIED_WEBRTC_MEDIA); CASE_RETURN(TYPE_WEB_IDENTITY); CASE_RETURN(TYPE_WEB_TRANSPORT); CASE_RETURN(TYPE_END); case nsIContentPolicy::TYPE_INVALID: break; Loading
dom/base/nsIContentPolicy.idl +1 −6 Original line number Diff line number Diff line Loading @@ -438,18 +438,13 @@ interface nsIContentPolicy : nsISupports */ TYPE_INTERNAL_WORKER_STATIC_MODULE = 58, /** * Indicates Webtransport request */ TYPE_WEB_TRANSPORT = 59, /** * Used to indicate the end of this list, not a content policy. If you want * to add a new content policy type, place it before this sentinel value * TYPE_END, have it use TYPE_END's current value, and increment TYPE_END by * one. (TYPE_END should always have the highest numerical value.) */ TYPE_END = 60, TYPE_END = 59, /* When adding new content types, please update Loading
dom/cache/DBSchema.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -344,8 +344,7 @@ static_assert( nsIContentPolicy::TYPE_UA_FONT == 55 && nsIContentPolicy::TYPE_WEB_IDENTITY == 57 && nsIContentPolicy::TYPE_INTERNAL_WORKER_STATIC_MODULE == 58 && nsIContentPolicy::TYPE_WEB_TRANSPORT == 59 && nsIContentPolicy::TYPE_END == 60, nsIContentPolicy::TYPE_END == 59, "nsContentPolicyType values are as expected"); namespace { Loading
dom/fetch/InternalRequest.cpp +0 −2 Original line number Diff line number Diff line Loading @@ -347,8 +347,6 @@ RequestDestination InternalRequest::MapContentPolicyTypeToRequestDestination( return RequestDestination::_empty; case nsIContentPolicy::TYPE_WEB_IDENTITY: return RequestDestination::_empty; case nsIContentPolicy::TYPE_WEB_TRANSPORT: return RequestDestination::_empty; case nsIContentPolicy::TYPE_INVALID: case nsIContentPolicy::TYPE_END: break; Loading
dom/security/SecFetch.cpp +0 −2 Original line number Diff line number Diff line Loading @@ -109,8 +109,6 @@ nsCString MapInternalContentPolicyTypeToDest(nsContentPolicyType aType) { return "empty"_ns; case nsIContentPolicy::TYPE_WEB_IDENTITY: return "webidentity"_ns; case nsIContentPolicy::TYPE_WEB_TRANSPORT: return "webtransport"_ns; case nsIContentPolicy::TYPE_END: case nsIContentPolicy::TYPE_INVALID: break; Loading