Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added details about enable_web_inspector


Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px

...

Specifies the default HWZ behavior. This value is off by default. To enable it, set it to on.

[string] storage_path

Creates a "Local Storage" subfolder in the specified directory. This folder is used by local storage applications such as the JavaScript storage class. 

Anchor
storage_path
storage_path

[string or double] storage_quota

Sets the total size (in bytes) allotted to all local storage applications (including IndexedDB). A BrightScript integer is only guaranteed to be able to represent a count of bytes up to 2GB so avoid using integers when calculating the size: Use float or double instead since they can represent values over 2GB (string can also be used but is not recommended). If the storage path is specified without a storage quota, Chromium defaults to reserving 1GB plus 10% of the total size of the storage device.

[roMessagePort] port

Configures the message port to which the roHtmlWidget instance will send events. When using initialization parameters, the port parameter should be used instead of the SetPort() method to ensure the script can catch load-startedload-finished, and load-error events.

...

Configures the Chromium Inspector for the widget.

Anchor
inspector_server
inspector_server
Starting in BrightSign OS 8.5.31 you will need to also set the enable_web_inspector registry key (in the "html" section) to enable the JavaScript consoleIn “enable_web_inspector”, "1" will allow the inspector and "0" or not present will disable it.  A reboot will be needed for these changes to take effect (if the user enable/disables through LDWS UI it automatically triggers a reboot).

  • [string] ip_addr: The Inspector IP address. This value is useful if the player is assigned more than one IP address (i.e. there are multiple network interfaces) and you wish to limit the Inspector server to one. The default value is "0.0.0.0", which allows the Inspector to accept connections using either IP address.

  • [int] port: The port for the Inspector server

...

Reject any dialog request. This parameter was added in BOS 8.5.16.

ifMessagePort

SetPort(port As roMessagePort)

...