Project: /_project.yaml Book: /_book.yaml
Defined in fuchsia.web/context.fidl
The top-level service interface which allows for the creation of Context resources.
Creates a new browser fuchsia.web.Context whose state is wholly independent and isolated from other Contexts.
context
: An interface request which will receive a bound fuchsia.web.Context service.Defined in fuchsia.web/context.fidl
Manages browsing state (e.g. LocalStorage, cookies, etc) associated with a set of fuchsia.web.Frame.
Creates a new fuchsia.web.Frame under this fuchsia.web.Context. Destruction of a fuchsia.web.Context triggers the destruction of all of its associated fuchsia.web.Frame. fuchsia.web.Frame can be transferred to another component but cannot be shared across multiple components.
frame
: An interface request that will be bound to the created fuchsia.web.Frame.Similar to fuchsia.web.Context/CreateFrame, with extra parameters.
Used to observe cookies for sites hosted under this Context.
Waits until debugging is available on one or more Frames, and returns the DevTools port number. Multiple calls may be queued to received the port number.
If an error occured, the fuchsia.web.ContextError will be set to this value:
REMOTE_DEBUGGING_PORT_NOT_OPENED
: |remote_debugging_port| was not set in fuchsia.web.CreateContextParams or the remote debugging service failed to start.Defined in fuchsia.web/cookie.fidl
Provides methods for monitoring and accessing browser cookie state.
Observe changes to all cookies named name
that would be sent in a request to url
.
If neither url
nor name
are set then all cookies are observed. If only url
is set then all cookies for that URL are observed. If both are set then only cookies matching both fields are observed.
|changes| iterates over a stream of cookie changes. Additions or updates are expressed as complete cookies, while deletions are expressed as cookies with no value
set.
Returns a list of Cookies, optionally limited to those matching url
, and optionally name
. cookies
iterates over the matching cookies, including their value
s.
Defined in fuchsia.web/cookie.fidl
Used to iterator over a set of cookies, or a stream of changes to cookies.
Fetches the next batch of cookies, or of changes to cookies.
Defined in fuchsia.web/debug.fidl
The debug service which allows to enable the DevTools service on Contexts.
Enables the DevTools service on every subsequent Context creation and and delivers subsequent DevTools events to the supplied listener
. The callback indicates when the WebEngine is in a debuggable state. Events will be sent to every listener
registered with this method.
Defined in fuchsia.web/debug.fidl
Interface used to observe DevTools service availability events.
Called when the DevTools service is available on a new Context.
listener
: Channel over which DevTools events for the new Context will be delivered. This channel will disconnect when the Context is detroyed.
Defined in fuchsia.web/debug.fidl
Interface supplied by the debugging component to observe the DevTools service opening event.
Called when the DevTools service starts accepting TCP connections on port
. port
will remain open until the Context is destroyed.
port
: The port used by the service.
Defined in fuchsia.web/frame.fidl
Creates a new view using the specified view_token
. Caller should pass the other end of the token to fuchsia.ui.gfx.ViewHolderArgs/token to attach the new view to a view tree.
view_token
: Token for the new view.Returns a fuchsia.media.sessions2.Player interface through which media (i.e. video/audio) playback in the frame may be observed, and/or controlled. Only one fuchsia.media.sessions2.Player may be active at a time, for each fuchsia.web.Frame.
Returns an interface through which the fuchsia.web.Frame may be navigated to a desired URL, reloaded, etc.
controller
: An asynchronous interface request for the fuchsia.web.Frame's fuchsia.web.NavigationController.Executes a UTF-8 encoded script
in the fuchsia.web.Frame if the fuchsia.web.Frame's URL has an origin which matches entries in origins
.
At least one origins
entry must be specified. If a wildcard "*"
is specified in origins
, then the script will be evaluated unconditionally.
Returns the result of executing script
, as a JSON-encoded string.
Note that scripts share the same execution context as the document, meaning that document may modify variables, classes, or objects set by the script in arbitrary or unpredictable ways.
If an error occured, the FrameError will be set to one of these values:
BUFFER_NOT_UTF8
: script
is not UTF-8 encoded.INVALID_ORIGIN
: The fuchsia.web.Frame's current URL does not match any of the values in origins
or origins
is an empty vector.Variant of fuchsia.web.Frame/ExecuteJavaScript which executes the supplied script without returning a result.
Executes a UTF-8 encoded script
for every subsequent page load where the fuchsia.web.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 occured, the fuchsia.web.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.Removes a previously added JavaScript snippet identified by id
. This is a no-op if there is no JavaScript snippet identified by id
.
Posts a message to the frame's onMessage handler.
target_origin
restricts message delivery to the specified origin. If target_origin
is "*"
, then the message will be sent to the document regardless of its origin. See the [https://html.spec.whatwg.org/multipage/web-messaging.html#posting-messages](HTML spec) section 9.4.3 for more details on how the target origin policy is applied.
If an error occured, the fuchsia.web.FrameError will be set to one of these values:
INTERNAL_ERROR
: The WebEngine failed to create a message pipe.BUFFER_NOT_UTF8
: The script in message
's data
property is not UTF-8 encoded.INVALID_ORIGIN
: origins
is an empty vector.NO_DATA_IN_MESSAGE
: The data
property is missing in message
.Sets the listener for handling page navigation events.
listener
: The observer to use. Unregisters any existing listener is null.If set to a value other than fuchsia.web.ConsoleLogLevel/NONE, allows web content to log messages to the system logger using the console APIs (debug()
, log()
, info()
, warn()
and error()
).
When logged to the system logger:
debug()
, log()
and info()
logs are logged with fuchsia.logger.LogLevelFilter/INFO severity level.warn()
logs are logged with fuchsia.logger.LogLevelFilter/INFO severity level.error()
logs are logged with fuchsia.logger.LogLevelFilter/INFO severity level.Used at runtime to enable or disable user input processing (e.g. keyboard, mouse, touch) on a fuchsia.web.Frame.
Input is enabled by default.
Sets the listener for handling popup frame opened by web content. If no listener is present, then any new popup frame will be blocked.
listener
: The listener to use. Unregisters any existing listener if null.Supplies a set of fuchsia.web.UrlRequestRewriteRule to apply on every subsequent URL request.
rules
are cumulative and applied in order.rules
will be validated before being applied. If rules
are invalid, the fuchsia.web.Frame will be closed with ERR_INVALID_ARGS
.ERR_BAD_STATE
.Defined in fuchsia.web/frame.fidl
Represents one end of an HTML5 MessageChannel. Can be used to send and exchange Messages with the peered MessagePort in the Frame's script context. The port is destroyed when either end of the MessagePort channel is torn down.
Sends a fuchsia.web.WebMessage to the peer. These are processed in order, one at a time. It is not necessary for the caller to wait for the completion callback before calling fuchsia.web.MessagePort/PostMessage again.
If an error occured, the fuchsia.web.FrameError will be set to one of these value:
BUFFER_NOT_UTF8
: The script in message
's data
property is not UTF-8 encoded.NO_DATA_IN_MESSAGE
: The data
property is missing in message
.Asynchronously reads the next message from the channel. The client should invoke the callback when it is ready to process another message. Unreceived messages are buffered on the sender's side and bounded by its available resources.
Defined in fuchsia.web/frame.fidl
Called when a fuchsia.web.Frame has created a new popup frame
. Information about the popup frame, and how it was created, is provided via info
. Additional popup frames are delivered after the the acknowledgement callback is invoked.
Defined in fuchsia.web/navigation.fidl
Interface supplied by the embedder for receiving notifications about navigation events in a fuchsia.web.Frame.
Called when user-visible navigation state has changed since fuchsia.web.Frame creation or the last acknowledgement callback, whichever occurred last. change
will contain all the differences in navigation state since the last acknowledgement. Any unchanged properties will be left unset in change
.
Implementer must call the acknowledgement callback to receive new navigation events.
Defined in fuchsia.web/navigation.fidl
Provides methods for controlling and querying the navigation state of a fuchsia.web.Frame.
Tells the fuchsia.web.Frame to navigate to a url
.
url
: The address to navigate to.params
: Additional parameters that affect how the resource will be loaded (e.g. cookies, HTTP headers, etc.)If an error occured, the fuchsia.web.NavigationControllerError will be set to one of these values:
INVALID_URL
: The url
parameter is invalid.INVALID_HEADER
: At least one of the headers in fuchsia.web.LoadUrlParams/headers is invalid.Tells the fuchsia.web.Frame to navigate to the previous page in its history, if any.
Tells the fuchsia.web.Frame to navigate to the next page in its history, if any.
Tells the fuchsia.web.Frame to stop the current navigation if a navigation is ongoing.
Tells the fuchsia.web.Frame to reload the current page.
Returns information for the currently visible content regardless of loading state, or an empty entry if no content is being displayed.
Defined in fuchsia.web/context.fidl
The top-level service interface which allows for the creation of Context resources.
Creates a new browser fuchsia.web.Context whose state is wholly independent and isolated from other Contexts.
context
: An interface request which will receive a bound fuchsia.web.Context service.Defined in fuchsia.web/context.fidl
Manages browsing state (e.g. LocalStorage, cookies, etc) associated with a set of fuchsia.web.Frame.
Creates a new fuchsia.web.Frame under this fuchsia.web.Context. Destruction of a fuchsia.web.Context triggers the destruction of all of its associated fuchsia.web.Frame. fuchsia.web.Frame can be transferred to another component but cannot be shared across multiple components.
frame
: An interface request that will be bound to the created fuchsia.web.Frame.Similar to fuchsia.web.Context/CreateFrame, with extra parameters.
Used to observe cookies for sites hosted under this Context.
Waits until debugging is available on one or more Frames, and returns the DevTools port number. Multiple calls may be queued to received the port number.
If an error occured, the fuchsia.web.ContextError will be set to this value:
REMOTE_DEBUGGING_PORT_NOT_OPENED
: |remote_debugging_port| was not set in fuchsia.web.CreateContextParams or the remote debugging service failed to start.Defined in fuchsia.web/cookie.fidl
Provides methods for monitoring and accessing browser cookie state.
Observe changes to all cookies named name
that would be sent in a request to url
.
If neither url
nor name
are set then all cookies are observed. If only url
is set then all cookies for that URL are observed. If both are set then only cookies matching both fields are observed.
|changes| iterates over a stream of cookie changes. Additions or updates are expressed as complete cookies, while deletions are expressed as cookies with no value
set.
Returns a list of Cookies, optionally limited to those matching url
, and optionally name
. cookies
iterates over the matching cookies, including their value
s.
Defined in fuchsia.web/cookie.fidl
Used to iterator over a set of cookies, or a stream of changes to cookies.
Fetches the next batch of cookies, or of changes to cookies.
Defined in fuchsia.web/debug.fidl
The debug service which allows to enable the DevTools service on Contexts.
Enables the DevTools service on every subsequent Context creation and and delivers subsequent DevTools events to the supplied listener
. The callback indicates when the WebEngine is in a debuggable state. Events will be sent to every listener
registered with this method.
Defined in fuchsia.web/debug.fidl
Interface used to observe DevTools service availability events.
Called when the DevTools service is available on a new Context.
listener
: Channel over which DevTools events for the new Context will be delivered. This channel will disconnect when the Context is detroyed.
Defined in fuchsia.web/debug.fidl
Interface supplied by the debugging component to observe the DevTools service opening event.
Called when the DevTools service starts accepting TCP connections on port
. port
will remain open until the Context is destroyed.
port
: The port used by the service.
Defined in fuchsia.web/frame.fidl
Creates a new view using the specified view_token
. Caller should pass the other end of the token to fuchsia.ui.gfx.ViewHolderArgs/token to attach the new view to a view tree.
view_token
: Token for the new view.Returns a fuchsia.media.sessions2.Player interface through which media (i.e. video/audio) playback in the frame may be observed, and/or controlled. Only one fuchsia.media.sessions2.Player may be active at a time, for each fuchsia.web.Frame.
Returns an interface through which the fuchsia.web.Frame may be navigated to a desired URL, reloaded, etc.
controller
: An asynchronous interface request for the fuchsia.web.Frame's fuchsia.web.NavigationController.Executes a UTF-8 encoded script
in the fuchsia.web.Frame if the fuchsia.web.Frame's URL has an origin which matches entries in origins
.
At least one origins
entry must be specified. If a wildcard "*"
is specified in origins
, then the script will be evaluated unconditionally.
Returns the result of executing script
, as a JSON-encoded string.
Note that scripts share the same execution context as the document, meaning that document may modify variables, classes, or objects set by the script in arbitrary or unpredictable ways.
If an error occured, the FrameError will be set to one of these values:
BUFFER_NOT_UTF8
: script
is not UTF-8 encoded.INVALID_ORIGIN
: The fuchsia.web.Frame's current URL does not match any of the values in origins
or origins
is an empty vector.Variant of fuchsia.web.Frame/ExecuteJavaScript which executes the supplied script without returning a result.
Executes a UTF-8 encoded script
for every subsequent page load where the fuchsia.web.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 occured, the fuchsia.web.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.Removes a previously added JavaScript snippet identified by id
. This is a no-op if there is no JavaScript snippet identified by id
.
Posts a message to the frame's onMessage handler.
target_origin
restricts message delivery to the specified origin. If target_origin
is "*"
, then the message will be sent to the document regardless of its origin. See the [https://html.spec.whatwg.org/multipage/web-messaging.html#posting-messages](HTML spec) section 9.4.3 for more details on how the target origin policy is applied.
If an error occured, the fuchsia.web.FrameError will be set to one of these values:
INTERNAL_ERROR
: The WebEngine failed to create a message pipe.BUFFER_NOT_UTF8
: The script in message
's data
property is not UTF-8 encoded.INVALID_ORIGIN
: origins
is an empty vector.NO_DATA_IN_MESSAGE
: The data
property is missing in message
.Sets the listener for handling page navigation events.
listener
: The observer to use. Unregisters any existing listener is null.If set to a value other than fuchsia.web.ConsoleLogLevel/NONE, allows web content to log messages to the system logger using the console APIs (debug()
, log()
, info()
, warn()
and error()
).
When logged to the system logger:
debug()
, log()
and info()
logs are logged with fuchsia.logger.LogLevelFilter/INFO severity level.warn()
logs are logged with fuchsia.logger.LogLevelFilter/INFO severity level.error()
logs are logged with fuchsia.logger.LogLevelFilter/INFO severity level.Used at runtime to enable or disable user input processing (e.g. keyboard, mouse, touch) on a fuchsia.web.Frame.
Input is enabled by default.
Sets the listener for handling popup frame opened by web content. If no listener is present, then any new popup frame will be blocked.
listener
: The listener to use. Unregisters any existing listener if null.Supplies a set of fuchsia.web.UrlRequestRewriteRule to apply on every subsequent URL request.
rules
are cumulative and applied in order.rules
will be validated before being applied. If rules
are invalid, the fuchsia.web.Frame will be closed with ERR_INVALID_ARGS
.ERR_BAD_STATE
.Defined in fuchsia.web/frame.fidl
Represents one end of an HTML5 MessageChannel. Can be used to send and exchange Messages with the peered MessagePort in the Frame's script context. The port is destroyed when either end of the MessagePort channel is torn down.
Sends a fuchsia.web.WebMessage to the peer. These are processed in order, one at a time. It is not necessary for the caller to wait for the completion callback before calling fuchsia.web.MessagePort/PostMessage again.
If an error occured, the fuchsia.web.FrameError will be set to one of these value:
BUFFER_NOT_UTF8
: The script in message
's data
property is not UTF-8 encoded.NO_DATA_IN_MESSAGE
: The data
property is missing in message
.Asynchronously reads the next message from the channel. The client should invoke the callback when it is ready to process another message. Unreceived messages are buffered on the sender's side and bounded by its available resources.
Defined in fuchsia.web/frame.fidl
Called when a fuchsia.web.Frame has created a new popup frame
. Information about the popup frame, and how it was created, is provided via info
. Additional popup frames are delivered after the the acknowledgement callback is invoked.
Defined in fuchsia.web/navigation.fidl
Interface supplied by the embedder for receiving notifications about navigation events in a fuchsia.web.Frame.
Called when user-visible navigation state has changed since fuchsia.web.Frame creation or the last acknowledgement callback, whichever occurred last. change
will contain all the differences in navigation state since the last acknowledgement. Any unchanged properties will be left unset in change
.
Implementer must call the acknowledgement callback to receive new navigation events.
Defined in fuchsia.web/navigation.fidl
Provides methods for controlling and querying the navigation state of a fuchsia.web.Frame.
Tells the fuchsia.web.Frame to navigate to a url
.
url
: The address to navigate to.params
: Additional parameters that affect how the resource will be loaded (e.g. cookies, HTTP headers, etc.)If an error occured, the fuchsia.web.NavigationControllerError will be set to one of these values:
INVALID_URL
: The url
parameter is invalid.INVALID_HEADER
: At least one of the headers in fuchsia.web.LoadUrlParams/headers is invalid.Tells the fuchsia.web.Frame to navigate to the previous page in its history, if any.
Tells the fuchsia.web.Frame to navigate to the next page in its history, if any.
Tells the fuchsia.web.Frame to stop the current navigation if a navigation is ongoing.
Tells the fuchsia.web.Frame to reload the current page.
Returns information for the currently visible content regardless of loading state, or an empty entry if no content is being displayed.
generated
generated
generated
generated
generated
generated
generated
generated
generated
generated
generated
generated
generated
generated
Type: int32
Defined in fuchsia.web/context.fidl
Type: int32
Defined in fuchsia.web/frame.fidl
Type: int32
Defined in fuchsia.web/frame.fidl
Represents the return status of a fuchsia.web.Frame method.
Type: int32
Defined in fuchsia.web/navigation.fidl
Represents the return status of a fuchsia.web.NavigationController method.
Type: uint32
Defined in fuchsia.web/navigation.fidl
Characterizes the type of reload.
Type: uint32
Defined in fuchsia.web/navigation.fidl
Characterizes the origin of a fuchsia.web.NavigationController/LoadUrl request.
Type: uint32
Defined in fuchsia.web/navigation.fidl
Characterizes the page type in a fuchsia.web.NavigationState.
Type: int32
Defined in fuchsia.web/context.fidl
Type: int32
Defined in fuchsia.web/frame.fidl
Type: int32
Defined in fuchsia.web/frame.fidl
Represents the return status of a fuchsia.web.Frame method.
Type: int32
Defined in fuchsia.web/navigation.fidl
Represents the return status of a fuchsia.web.NavigationController method.
Type: uint32
Defined in fuchsia.web/navigation.fidl
Characterizes the type of reload.
Type: uint32
Defined in fuchsia.web/navigation.fidl
Characterizes the origin of a fuchsia.web.NavigationController/LoadUrl request.
Type: uint32
Defined in fuchsia.web/navigation.fidl
Characterizes the page type in a fuchsia.web.NavigationState.
Defined in fuchsia.web/context.fidl
Defines a provider which hosts resources from a fuchsia.io.Directory. Content can GET
resource files via the provider, but not enumerate directories. Resources can be accessed by their URLs: fuchsia-dir://<provider-name>/<path/to/resource>
By default the MIME types of files are determined automatically by “sniffing” the contents of the files. No content encoding will be declared, which browsers will interpret as meaning "text/plain"
.
Content type and encoding metadata may optionally be specified explicitly by metadata files, which reside alongside the file. Metadata is expressed in JSON files, named after the files they describe with a "._metadata"
suffix.
For example, the file "index.html"
would have the a metadata file called "index.html._metadata"
, with the following contents:
{ "charset": "utf-8", "mime": "text/html" }
Defined in fuchsia.web/context.fidl
The following services must be present in order to present web content in a Scenic view using fuchsia.web.Frame/CreateView:
If set, data_directory
must not be shared with any other fuchsia.web.Context.
Defined in fuchsia.web/context.fidl
Defined in fuchsia.web/cookie.fidl
Defined in fuchsia.web/cookie.fidl
Defined in fuchsia.web/frame.fidl
Defined in fuchsia.web/frame.fidl
Specifies additional information about a newly created popup frame.
Defined in fuchsia.web/navigation.fidl
Additional parameters for modifying the behavior of fuchsia.web.NavigationController/LoadUrl.
Defined in fuchsia.web/navigation.fidl
Contains information about the fuchsia.web.Frame's navigation state.
Defined in fuchsia.web/url_request_rewrite_rules.fidl
Defined in fuchsia.web/url_request_rewrite_rules.fidl
Adds headers
to the URL request. If a header is already present in the original URL request, it will be overwritten.
headers
must be set.headers
must have a valid HTTP header name and value, per RFC 7230 section 3.2.Defined in fuchsia.web/url_request_rewrite_rules.fidl
If query_pattern
in the URL query, removes header_name
from the list of headers. If query_pattern
is not set, removes header_name
from the list of headers unconditionally.
header_name
must be set.header_name
must be a valid HTTP header name, per RFC 7230 section 3.2.Defined in fuchsia.web/url_request_rewrite_rules.fidl
If pattern
is found in the URL request query, replaces it with substitution
.
pattern
and substitution
must be set.substitution
must be a valid URL-query string.Defined in fuchsia.web/url_request_rewrite_rules.fidl
If the URL in the URL request ends with url_ends_with
, rewrites the URL to new_url
.
url_ends_with
and new_url
must be set.url_ends_with
must be a valid path-relative-URL string.new_url
must be a valid URL string.Defined in fuchsia.web/context.fidl
Defines a provider which hosts resources from a fuchsia.io.Directory. Content can GET
resource files via the provider, but not enumerate directories. Resources can be accessed by their URLs: fuchsia-dir://<provider-name>/<path/to/resource>
By default the MIME types of files are determined automatically by “sniffing” the contents of the files. No content encoding will be declared, which browsers will interpret as meaning "text/plain"
.
Content type and encoding metadata may optionally be specified explicitly by metadata files, which reside alongside the file. Metadata is expressed in JSON files, named after the files they describe with a "._metadata"
suffix.
For example, the file "index.html"
would have the a metadata file called "index.html._metadata"
, with the following contents:
{ "charset": "utf-8", "mime": "text/html" }
Defined in fuchsia.web/context.fidl
The following services must be present in order to present web content in a Scenic view using fuchsia.web.Frame/CreateView:
If set, data_directory
must not be shared with any other fuchsia.web.Context.
Defined in fuchsia.web/context.fidl
Defined in fuchsia.web/cookie.fidl
Defined in fuchsia.web/cookie.fidl
Defined in fuchsia.web/frame.fidl
Defined in fuchsia.web/frame.fidl
Specifies additional information about a newly created popup frame.
Defined in fuchsia.web/navigation.fidl
Additional parameters for modifying the behavior of fuchsia.web.NavigationController/LoadUrl.
Defined in fuchsia.web/navigation.fidl
Contains information about the fuchsia.web.Frame's navigation state.
Defined in fuchsia.web/url_request_rewrite_rules.fidl
Defined in fuchsia.web/url_request_rewrite_rules.fidl
Adds headers
to the URL request. If a header is already present in the original URL request, it will be overwritten.
headers
must be set.headers
must have a valid HTTP header name and value, per RFC 7230 section 3.2.Defined in fuchsia.web/url_request_rewrite_rules.fidl
If query_pattern
in the URL query, removes header_name
from the list of headers. If query_pattern
is not set, removes header_name
from the list of headers unconditionally.
header_name
must be set.header_name
must be a valid HTTP header name, per RFC 7230 section 3.2.Defined in fuchsia.web/url_request_rewrite_rules.fidl
If pattern
is found in the URL request query, replaces it with substitution
.
pattern
and substitution
must be set.substitution
must be a valid URL-query string.Defined in fuchsia.web/url_request_rewrite_rules.fidl
If the URL in the URL request ends with url_ends_with
, rewrites the URL to new_url
.
url_ends_with
and new_url
must be set.url_ends_with
must be a valid path-relative-URL string.new_url
must be a valid URL string.generated
generated
generated
generated
generated
generated
generated
generated
generated
generated
generated
generated
generated
generated
Defined in fuchsia.web/frame.fidl
Defined in fuchsia.web/frame.fidl
Defined in fuchsia.web/url_request_rewrite_rules.fidl
Defined in fuchsia.web/frame.fidl
Defined in fuchsia.web/frame.fidl
Defined in fuchsia.web/url_request_rewrite_rules.fidl
Type: uint64
Type: uint64