The RequestDestination enumerated type contains the permitted values for a request's destination. These string values indicate potential types of content that a request may try to retrieve.

Documentation RequestDestination by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Variables

@:value(cast "audio")@:impl@:enuminlineread onlyAUDIO:RequestDestination = "audio"

@:value(cast "audioworklet")@:impl@:enuminlineread onlyAUDIOWORKLET:RequestDestination = "audioworklet"

@:value(cast "document")@:impl@:enuminlineread onlyDOCUMENT:RequestDestination = "document"

@:value(cast "embed")@:impl@:enuminlineread onlyEMBED:RequestDestination = "embed"

@:value(cast "font")@:impl@:enuminlineread onlyFONT:RequestDestination = "font"

@:value(cast "image")@:impl@:enuminlineread onlyIMAGE:RequestDestination = "image"

@:value(cast "manifest")@:impl@:enuminlineread onlyMANIFEST:RequestDestination = "manifest"

@:value(cast "")@:impl@:enuminlineread onlyNONE:RequestDestination = ""

@:value(cast "object")@:impl@:enuminlineread onlyOBJECT:RequestDestination = "object"

@:value(cast "paintworklet")@:impl@:enuminlineread onlyPAINTWORKLET:RequestDestination = "paintworklet"

@:value(cast "report")@:impl@:enuminlineread onlyREPORT:RequestDestination = "report"

@:value(cast "script")@:impl@:enuminlineread onlySCRIPT:RequestDestination = "script"

@:value(cast "sharedworker")@:impl@:enuminlineread onlySHAREDWORKER:RequestDestination = "sharedworker"

@:value(cast "style")@:impl@:enuminlineread onlySTYLE:RequestDestination = "style"

@:value(cast "track")@:impl@:enuminlineread onlyTRACK:RequestDestination = "track"

@:value(cast "video")@:impl@:enuminlineread onlyVIDEO:RequestDestination = "video"

@:value(cast "worker")@:impl@:enuminlineread onlyWORKER:RequestDestination = "worker"

@:value(cast "xslt")@:impl@:enuminlineread onlyXSLT:RequestDestination = "xslt"