-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
Is looks like there is some duplication of effort for logging requests and keeping a history of the navigation state. The Browser class has the following collections:
private List<LogItem> _logs = new List<LogItem>();
private List<NavigationState> _history = new List<NavigationState>();
The HttpRequestLog (subclassed from LogItem) and NavigationState objects are similar, but not the same. This begs the question, why are there two of these collections for keeping history? Even if the two collections are really needed, why can't they be collections of the same object rather than having three classes for logging history records?
Refactoring is needed, but I suspect this will be a change that breaks backwards compatibility.
Metadata
Metadata
Assignees
Labels
No labels