Feature #893
closedCreate a navigation entry to access WebView's Dev UI
0%
Description
https://chromium.googlesource.com/chromium/src/+/master/android_webview/docs/developer-ui.md
This is the same Dev UI that is available as an icon on the beta, canary, and dev channels.
https://chromium.googlesource.com/chromium/src/+/HEAD/android_webview/docs/prerelease.md
It contains an option to disable the X-Requested-With header, as well as to force disabling TLS 1.0 and 1.1.
It should be possible to open the Dev UI on standard WebView with code similar to the following, although some testing needs to be done to make sure it works on all supported versions of Android and across all the WebView providers.
// Create a WebView Dev UI intent.
Intent webViewDevUiIntent = new Intent("com.android.webview.SHOW_DEV_UI");
// Launch as a new task so that the WebView Dev UI and Privacy Browser show as a separate windows in the recent tasks list.
webViewDevUiIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
// Make it so.
startActivity(webViewDevUiIntent);
Updated by Soren Stoutner over 2 years ago
In implementing this feature, the current X-Requested-With controls should be removed and an explanation of how to disable the X-Requested-With header should be added to the Guide. Also, a page should be added to www.stoutner.com describing all the interesting flags in the Dev UI.
Updated by Soren Stoutner about 2 years ago
- Status changed from New to Closed