class AddBeforeLoadJavaScript
Defined at line 823 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/markers.h
Executes a UTF-8 encoded `script` for every subsequent page load where the [`Frame`]'s URL
has an origin reflected in `origins`. The script is executed early, prior to the execution
of the document's scripts.
Scripts are identified by a client-managed identifier `id`. Any script previously injected
using the same `id` will be replaced.
The order in which multiple bindings are executed is the same as the order in which the
bindings were added. If a script is added which clobbers an existing script of the same
`id`, the previous script's precedence in the injection order will be preserved.
At least one `origins` entry must be specified. If a wildcard `"*"` is specified in
`origins`, then the script will be evaluated unconditionally.
If an error occurred, the [`FrameError`] will be set to one of these values:
- `BUFFER_NOT_UTF8`: `script` is not UTF-8 encoded.
- `INVALID_ORIGIN`: `origins` is an empty vector.
Public Members
static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal