[Webkit-unassigned] [Bug 172361] matchMedia('print').addListener() fires in WK1 but never in WK2 when printing (breaks printing Google maps, QuickLooks)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 19 10:14:50 PDT 2017


--- Comment #5 from Alexey Proskuryakov <ap at webkit.org> ---
Comment on attachment 310665
  --> https://bugs.webkit.org/attachment.cgi?id=310665

View in context: https://bugs.webkit.org/attachment.cgi?id=310665&action=review

> Source/WebCore/testing/Internals.h:348
> +    void setPrinting(int width, int height);

What resets m_printContext between tests?

> LayoutTests/fast/media/matchMedia-print.html:15
> +if (window.internals)
> +    window.internals.setPrinting(500,500);

Is it doable with one of the existing print testing functions? There are some in Internals (search for PeintContext in Internals.cpp), and there is setPrinting in TestRunner too.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170519/f253435e/attachment-0001.html>

More information about the webkit-unassigned mailing list