Couldn't manually trigger print via MediaQueryListEvent
Reported by
alexande...@gmail.com,
Jan 12 2018
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 Steps to reproduce the problem: 1. Open this codepen https://codepen.io/oxygen90/pen/eyKWVZ better in the debug mode https://s.codepen.io/oxygen90/debug/eyKWVZ/XBkGRoYoJWVA 2. Open Chrome DevTools console. 3. Press "Ctrl + P" to trigger print mode. You can see the new line "updateDimensions event <eventObj>" in console. 4. Close print preview by pushing "Cancel" button. 5. Push "Trigger event" button on the page. What is the expected behavior? `updateDimensions()` callback should be performed after triggering custom event by clicking the "Trigger event" button. New line "updateDimensions event <eventObj>" should appear in console. What went wrong? `updateDimensions()` callback isn't performed after clicking the "Trigger event" button. Did this work before? N/A Does this work in other browsers? N/A Chrome version: 63.0.3239.132 Channel: stable OS Version: 10.0 Flash Version: Shockwave Flash 28.0 r0 I've compared event object that `updateDimensions()` callback received from the browser when a user triggers print preview with my custom event object. They are almost identical. The only change that I noticed is `isTrusted` property. Not sure, maybe I trigger custom `MediaQueryListEvent` wrongly.
,
Jan 31 2018
Replacing DevTools with CSS, since the console seems to be involved just for examining output.
,
Feb 1 2018
,
Feb 2 2018
Able to reproduce this issue on Mac 10.12.6, Win-10 and Ubuntu 14.04 using chrome reported version #63.0.3239.132, latest stable #64.0.3282.140 and latest canary #66.0.3336.0. This is a non-regression issue as it is observed from M60 old builds. Hence, marking it as untriaged to get more inputs from dev team. Thanks...!!
,
Feb 5 2018
Hoping the print team can provide some direction here.
,
Feb 5 2018
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by krajshree@chromium.org
, Jan 15 2018Components: Platform>DevTools
Labels: Needs-Triage-M63 Triaged-ET Needs-Feedback
3.0 MB
3.0 MB View Download