Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit fe4853d

Browse files
author
livecodesam
authored
[Bug 23067] Add reload note to browser URL docs (#7508)
Added a note explaining that setting URL does not guarantee reloading the page.
1 parent 513757f commit fe4853d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/notes/bugfix-23067.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Added page reload note to browser URL docs

extensions/widgets/browser/browser.lcb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,11 @@ The <URL> is the URL of the content be displayed in the browser.
259259
> browser, and will change when navigating to another page. Setting the
260260
> htmlText will result in the <URL> being empty.
261261

262+
>*Note:* Setting the <URL> won't necessarily cause resources to be
263+
> reloaded unless URLs of the resources explicitly change. However,
264+
> you can force the browser widget to reload a page using
265+
> `do "location.reload()" in widget "browser"` after setting the url.
266+
262267
>*Note:* Setting the <URL> to empty will clear the currently loaded
263268
> page, resulting in a blank page being displayed and the <URL> and
264269
> <htmlText> of the widget being empty.

0 commit comments

Comments
 (0)