Adding MSWebView to UWP app breaks getHtmlPrintDocumentSourceAsync printing

Chris DiPierro 1 Reputation point
2019-12-19T21:56:13.127+00:00

We've run into a bug that's broadly stated that creating/adding/removing MSWebView elements can cause MSApp.getHtmlPrintDocumentSourceAsync to reject some inputs as invalid even though those inputs work as expected when no MSWebView is involved. This can prevent printing of HTML documents. We have a minimum repro project that we can provide and the bug is related to these items:

https://stackoverflow.com/questions/57075143/issue-with-uwp-gethtmlprintdocumentsourceasync-when-used-along-with-x-ms-webvie

https://github.com/apache/cordova-plugin-inappbrowser/issues/488

We'd like to talk to someone from MS to see if this can be addressed.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,967 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Chris DiPierro 1 Reputation point
    2019-12-23T13:49:56.8+00:00

    This is not a Cordova issue. Cordova also exposes the issue, but our repro is pure UWP WinJS.

    0 comments No comments