This repository was archived by the owner on Apr 3, 2019. It is now read-only.
Commit aedb762
Shane Tomlinson
fix(metrics): Reduce the number of localStorage errors in Sentry.
crosstab writes to localStorage every 3 seconds to find out if any
other tabs are open. Errors are reported to Sentry on every write
if localStorage data is unable to be written to disk.
Inter-tab communication is done via BroadcastChannels if the
browser has support and falls back to crosstab if not. If
the browser supports BroadcastChannels, abort crosstab initialization
issue #34141 parent db0813e commit aedb762
1 file changed
+25
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
| |||
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
75 | 84 | | |
76 | 85 | | |
77 | 86 | | |
| |||
640 | 649 | | |
641 | 650 | | |
642 | 651 | | |
643 | | - | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
644 | 655 | | |
645 | 656 | | |
646 | 657 | | |
| |||
696 | 707 | | |
697 | 708 | | |
698 | 709 | | |
699 | | - | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
700 | 723 | | |
701 | 724 | | |
702 | 725 | | |
| |||
0 commit comments