diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-08-06 11:25:11 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-08-06 11:26:47 +0100 |
commit | 8469f4cc8e62e80a3165a1d4f13b62b5b4a04720 (patch) | |
tree | 707b46c3cf0b373b53adf8c54d290e4c546ebb2c /include/netsurf/browser_window.h | |
parent | 9c9c26a308995c22210c90e3772e86f49a1948b9 (diff) | |
download | netsurf-8469f4cc8e62e80a3165a1d4f13b62b5b4a04720.tar.gz netsurf-8469f4cc8e62e80a3165a1d4f13b62b5b4a04720.tar.bz2 |
Reimplement handling of BAD_AUTH inside browser_window
We now handle authentication requests via an `about:` page
which presents a nice form built into the browser window.
In order to do this, we add internal navigation as a concept
to the browser window and we strip the 401login support from all
frontends except monkey.
The 401login callback is now intended for password safe type support
rather than an immediately interactive prompt.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'include/netsurf/browser_window.h')
-rw-r--r-- | include/netsurf/browser_window.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/netsurf/browser_window.h b/include/netsurf/browser_window.h index d21af2629..0b140521f 100644 --- a/include/netsurf/browser_window.h +++ b/include/netsurf/browser_window.h @@ -120,7 +120,10 @@ enum browser_window_nav_flags { BW_NAVIGATE_UNVERIFIABLE = (1 << 2), /** suppress initial history updates (used by back/fwd/etc) */ - BW_NAVIGATE_NO_TERMINAL_HISTORY_UPDATE = (1 << 3) + BW_NAVIGATE_NO_TERMINAL_HISTORY_UPDATE = (1 << 3), + + /** Internal navigation (set only by core features using such) */ + BW_NAVIGATE_INTERNAL = (1 << 4) }; /** |