Skip to main content

EXECUTABLE_SCHEMES

Constant EXECUTABLE_SCHEMES 

Source
pub const EXECUTABLE_SCHEMES: &[&str];
Expand description

Schemes a browser EXECUTES rather than fetches. A URL carrying one is script, not a location.

data: is here because a data:text/html document runs in the origin that opened it, which is the same capability javascript: gives with more steps.