Discussion:
[Interest] How to enable chrome:// urls in qtwebengine?
Szymon
2018-11-16 12:53:06 UTC
Permalink
Hello,
I would like to access chrome:// urls in qt webengine, but I am
getting an ERR_UNKNOWN_URL_SCHEME error. It works both on Chrome and
Chromium. In the sources of Chromium inside qt webengine I see the
appropriate sources which are used by the chrome:// special pages, for
example:

qtwebengine$ find . -name gpu_internals.html
./src/3rdparty/chromium/content/browser/resources/gpu/gpu_internals.html

but it can't be accessed, because the chrome:// url scheme is
disabled. Is there any way to enable this?
Best regards,
Simon
Alexandru Croitor
2018-11-19 12:01:32 UTC
Permalink
Hi,

Not all Chrome URLs are disabled. Some of them are still available, for example chrome://gpu/
Here's a list I found https://github.com/qutebrowser/qutebrowser/issues/2292

I don't think we have a documented list of supported urls because:
1) Not all the plumbing code is there to make them work
2) Not all of them make sense in WebEngine context (because some Chromium components are stripped).
3) The available urls change from release to release afaik.

You could also try entering chrome://chrome-urls/ in Chrome, and then testing each URL in WebEngine.


On 16. Nov 2018, at 13:53, Szymon <***@gmail.com<mailto:***@gmail.com>> wrote:

Hello,
I would like to access chrome:// urls in qt webengine, but I am
getting an ERR_UNKNOWN_URL_SCHEME error. It works both on Chrome and
Chromium. In the sources of Chromium inside qt webengine I see the
appropriate sources which are used by the chrome:// special pages, for
example:

qtwebengine$ find . -name gpu_internals.html
./src/3rdparty/chromium/content/browser/resources/gpu/gpu_internals.html

but it can't be accessed, because the chrome:// url scheme is
disabled. Is there any way to enable this?
Best regards,
Simon

Loading...