File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed
content/developer/reference/frontend Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -553,7 +553,7 @@ Browser Object
553553==============
554554
555555The javascript framework also provides a special object ``browser `` that
556- provides access to all browser APIs, like ``location ``, ``localStorage ``
556+ provides access to many browser APIs, like ``location ``, ``localStorage ``
557557or ``setTimeout ``. For example, here is how one could use the
558558``browser.setTimeout `` function:
559559
@@ -568,6 +568,32 @@ It is mostly interesting for testing purposes: all code using the browser object
568568can be tested easily by mocking the relevant functions for the duration of the
569569test.
570570
571+ It contains the following content:
572+
573+ .. list-table ::
574+
575+ * - `addEventListener `
576+ - `cancelAnimationFrame `
577+ - `clearInterval `
578+ * - `clearTimeout `
579+ - `console `
580+ - `Date `
581+ * - `fetch `
582+ - `history `
583+ - `localStorage `
584+ * - `location `
585+ - `navigator `
586+ - `open `
587+ * - `random `
588+ - `removeEventListener `
589+ - `requestAnimationFrame `
590+ * - `sessionStorage `
591+ - `setInterval `
592+ - `setTimeout `
593+ * - `XMLHttpRequest `
594+ -
595+ -
596+
571597.. _frontend/framework/debug_mode :
572598
573599Debug mode
You can’t perform that action at this time.
0 commit comments