lsrom / webview-tester Goto Github PK
View Code? Open in Web Editor NEWTest your web app in Android web view with visible console logs.
License: MIT License
Test your web app in Android web view with visible console logs.
License: MIT License
When trying to open http pages on android 9+ I receive error: net::ERR_CLEARTEXT_NOT_PERMITTED
http://example.com
Page loads normally
Page fails to load with error net::ERR_CLEARTEXT_NOT_PERMITTED
Hi, thanks for creating the project and putting it to the PlayStore. It's been helpful for testing a bug report I got.
I reproduced the bug with webview-tester and reported an issue to Chrome, but turns out the problem is linked to the WebView implementation:
Check this response of Chromium engineer:
https://bugs.chromium.org/p/chromium/issues/detail?id=1054335#c4
The faulty code is here:
and it's exactly doing the thing that is described as "do not do" in Android docs:
Because of this, when the page under test has an iframe, it can be that contents of iframe will be loaded unexpectedly in top level.
I'm unsure if Google Play allows this when adding the app to their app store, but it would be really useful if this app were able to have remote debugging enabled.
More info here:
https://developers.google.com/web/tools/chrome-devtools/remote-debugging/webviews
p.s. Very useful app - thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.