diff --git a/content/developer/reference/frontend/framework_overview.rst b/content/developer/reference/frontend/framework_overview.rst index 7d6e8ff3e..d05c82112 100644 --- a/content/developer/reference/frontend/framework_overview.rst +++ b/content/developer/reference/frontend/framework_overview.rst @@ -553,7 +553,7 @@ Browser Object ============== The javascript framework also provides a special object ``browser`` that -provides access to all browser APIs, like ``location``, ``localStorage`` +provides access to many browser APIs, like ``location``, ``localStorage`` or ``setTimeout``. For example, here is how one could use the ``browser.setTimeout`` function: @@ -568,6 +568,32 @@ It is mostly interesting for testing purposes: all code using the browser object can be tested easily by mocking the relevant functions for the duration of the test. +It contains the following content: + +.. list-table:: + + * - `addEventListener` + - `cancelAnimationFrame` + - `clearInterval` + * - `clearTimeout` + - `console` + - `Date` + * - `fetch` + - `history` + - `localStorage` + * - `location` + - `navigator` + - `open` + * - `random` + - `removeEventListener` + - `requestAnimationFrame` + * - `sessionStorage` + - `setInterval` + - `setTimeout` + * - `XMLHttpRequest` + - + - + .. _frontend/framework/debug_mode: Debug mode