feat: add navigationHistory.getEntryAtIndex(int index)
method (#41662)
* feat: add `navigationHistory.getEntryAtIndex(int index)` method (#41577) * test: fix flaky tests by replacing real urls with data urls * test: remove hardcoded url
This commit is contained in:
parent
e6417c7084
commit
9056dd728a
9 changed files with 148 additions and 8 deletions
|
@ -194,6 +194,7 @@ class WebContents : public ExclusiveAccessContext,
|
|||
bool CanGoToIndex(int index) const;
|
||||
void GoToIndex(int index);
|
||||
int GetActiveIndex() const;
|
||||
content::NavigationEntry* GetNavigationEntryAtIndex(int index) const;
|
||||
void ClearHistory();
|
||||
int GetHistoryLength() const;
|
||||
const std::string GetWebRTCIPHandlingPolicy() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue