It provides what looks like useful functionality to show a toast on a page reload:
The question posed is should this functionality be moved into mw.notify in core and the Toast class deprecated?
This decision impacts how we go about code coverage for this file.
- The code and how it is used is scrutinised
- A decision by the team on the future of this code
- A task is created documenting those next steps (e.g. keeping+improving code coverage / removing / upstreaming to core)
Out of scope
Actually upstreaming this to core (if decided) is out of scope for this task. As part of sign off, setup tasks to pursue the next steps.