Skip to content

refactor: remove internal navigation controller - #28839

Merged
MarshallOfSound merged 1 commit into
masterfrom
remove-navigation-controller
Apr 27, 2021
Merged

MarshallOfSound merged 1 commit into
masterfrom
remove-navigation-controller

Conversation

@MarshallOfSound

Copy link
Copy Markdown
Member

There's an unanswered question here with a potential change in "reload" behavior. It's a toss up between "the old behavior was a bug" and "the new behavior is potentially unsafe / also a bug". See the implementation of WebContents::Reload

Notes: no-notes

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Apr 26, 2021
bool IsLoadingMainFrame() const;
bool IsWaitingForResponse() const;
void Stop();
void ReloadIgnoringCache();

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I found out while doing this that this header declaration has existed for 6 years and pointed at, well, nothing lol

@pushkin-

Copy link
Copy Markdown

Not to take over your refactor PR, but here's an issue that could maybe be fixed up that relates to the navigation controller :)

@MarshallOfSound
MarshallOfSound force-pushed the remove-navigation-controller branch from 047aff0 to f169a86 Compare April 26, 2021 19:01
@MarshallOfSound

Copy link
Copy Markdown
Member Author

@pushkin- That issue partially seems like expected behavior to me and is also unrelated to the navigation controller implementation. Specifically the code that powers that is the implementation of loadURL which is Electron specific and independent of the chromium navigation controller.

@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Apr 27, 2021
@MarshallOfSound
MarshallOfSound force-pushed the remove-navigation-controller branch from f169a86 to 3f754fc Compare April 27, 2021 21:20
@MarshallOfSound
MarshallOfSound merged commit 0a1b26b into master Apr 27, 2021
@release-clerk

release-clerk Bot commented Apr 27, 2021

Copy link
Copy Markdown

No Release Notes

@MarshallOfSound
MarshallOfSound deleted the remove-navigation-controller branch April 27, 2021 23:11
ckerr added a commit that referenced this pull request Mar 31, 2026
refactor: make WebContents::CanGoToIndex() private

The JS binding has been unused since 2021-04-27 #28839 0a1b26b
codebytere pushed a commit that referenced this pull request Apr 1, 2026
…0606)

refactor: remove unused internal method contents.canGoToIndex()

refactor: make WebContents::CanGoToIndex() private

The JS binding has been unused since 2021-04-27 #28839 0a1b26b
trop Bot added a commit that referenced this pull request Apr 1, 2026
refactor: make WebContents::CanGoToIndex() private

The JS binding has been unused since 2021-04-27 #28839 0a1b26b

Co-authored-by: Charles Kerr <[email protected]>
ckerr added a commit that referenced this pull request Apr 1, 2026
…0631)

refactor: remove unused internal method contents.canGoToIndex()

refactor: make WebContents::CanGoToIndex() private

The JS binding has been unused since 2021-04-27 #28839 0a1b26b

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants