diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-02-10 22:40:04 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-02-10 22:40:04 +0000 |
commit | 49bed056dd016ed74a7ed5cc988e9bdf17738c7f (patch) | |
tree | 513f8ae515511f1f62211356d15e615c053459aa /desktop/browser.h | |
parent | 76b5378996c681ad1311e57a4c7c49dd465e634b (diff) | |
download | netsurf-49bed056dd016ed74a7ed5cc988e9bdf17738c7f.tar.gz netsurf-49bed056dd016ed74a7ed5cc988e9bdf17738c7f.tar.bz2 |
Make browser_window_navigate (un)verifiable flag match browser_window_create.
Diffstat (limited to 'desktop/browser.h')
-rw-r--r-- | desktop/browser.h | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/desktop/browser.h b/desktop/browser.h index 4cb8e012a..ca99a5d16 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -76,7 +76,15 @@ enum browser_window_create_flags { /** New gui_window to be clone of "existing" gui_window */ BW_CREATE_CLONE = (1 << 2), - /** Window not opened by user interaction (e.g. JS popup) */ + /** Window not opened by user interaction (e.g. JS popup) + * + * rfc2965: + * A transaction is verifiable if the user, or a + * user-designated agent, has the option to review + * the request-URI prior to its use in the transaction. + * A transaction is unverifiable if the user does not + * have that option. + */ BW_CREATE_UNVERIFIABLE = (1 << 3), }; @@ -91,8 +99,16 @@ enum browser_window_nav_flags { /** download rather than render the uri */ BW_NAVIGATE_DOWNLOAD = (1 << 1), - /** this transaction is verifiable */ - BW_NAVIGATE_VERIFIABLE = (1 << 2) + /** Transation not caused by user interaction (e.g. JS-caused) + * + * rfc2965: + * A transaction is verifiable if the user, or a + * user-designated agent, has the option to review + * the request-URI prior to its use in the transaction. + * A transaction is unverifiable if the user does not + * have that option. + */ + BW_NAVIGATE_UNVERIFIABLE = (1 << 2) }; /** |