capacitor
capacitor copied to clipboard
Add jsProfilingEnabled option for WebView responses
Introduce an Android configuration option to enable JavaScript profiling in WebView responses by adding the Document-Policy: js-profiling HTTP header. This change allows users to leverage the JS Self-Profiling API within the WebView.
This was reported in reddit here https://www.reddit.com/r/capacitor/comments/1p25gq5/comment/nqp0q5r/?context=1