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
553
553
==============
554
554
555
555
The 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 ``
557
557
or ``setTimeout ``. For example, here is how one could use the
558
558
``browser.setTimeout `` function:
559
559
@@ -568,6 +568,32 @@ It is mostly interesting for testing purposes: all code using the browser object
568
568
can be tested easily by mocking the relevant functions for the duration of the
569
569
test.
570
570
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
+
571
597
.. _frontend/framework/debug_mode :
572
598
573
599
Debug mode
You can’t perform that action at this time.
0 commit comments