[Rev 01] RFR: 8208169: can not print selected pages of web page

Phil Race prr at openjdk.java.net
Sat Jun 13 15:57:06 UTC 2020

On Mon, 1 Jun 2020 15:37:09 GMT, Bhawesh Choudhary <github.com+4208131+bhaweshkc at openjdk.org> wrote:

>> Print function of WebEngine.java ignores page range setting and prints given number of pages starting from first page,
>> which is the root cause of this issue. To fix it, put check for page ranges and if it available, use it for printing
>> pages otherwise print all pages as usual.
> Bhawesh Choudhary has updated the pull request incrementally with one additional commit since the last revision:
>   added manual test

tests/manual/printing/PrintPageRangeTest.java line 78:

> 77:
> 78:     static final String initialURL = "https://en.wikipedia.org/wiki/Java_version_history";
> 79:

Have you tested this when using a system proxy ? And do the webview tests in general use random webpages from the
internet ? Why can't we generate some simple local content that we KNOW is 4 pages long. You don't even know that for
sure about this page.


PR: https://git.openjdk.java.net/jfx/pull/222

More information about the openjfx-dev mailing list