Regression : Random source code is displayed instead of desired text, in print preview.
Reported by
avsha...@etouch.net,
May 31 2018
|
|||
Issue descriptionChrome Version : 69.0.3446.0 (Official Build) 9850f1f2cffb7b4e0b4ea26fd6fb94048a911cd5-refs/branch-heads/3446@{#1} (64 Bit) OS : Windows(7,8,8.1,10), Mac(10.12.6, 10.13.1, 10.13.5), Linux 14.04 LTS What steps will reproduce the problem? 1. Launch chrome and navigate to chrome://version page. 2. Select any text on the page, right click on selected text and choose "Print" option from context menu. 3. Observe the contents in print preview. Actual Result : Random source code is displayed instead of desired text in print preview. Expected Result : Selected text should be displayed properly in print preview. This is a regression issue, broken in M-69 and will soon update remaining info. Good Build : 69.0.3441.0 (Revision : 562091) Bad Build : 69.0.3442.0 (Revision : 562138)
,
May 31 2018
Adding release blocker label for this issue.Please reduce priority or remove if not the case. Thank You!
,
May 31 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6ae0ece42a7c8beeaafbb68f4a5b4f7982d7a918 commit 6ae0ece42a7c8beeaafbb68f4a5b4f7982d7a918 Author: Dmitry Gozman <dgozman@chromium.org> Date: Thu May 31 22:46:12 2018 Fix PrintPreview of selected text We erroneously escape the selection markup before calling LoadHTMLString, which does escape it again. This results in rendering raw html instead of the content represented by html. This was recently regressed by loading methods refactoring. Bug: 848163 Test: PrintRenderFrameHelperPreviewTest.PrintPreviewForSelectedText2 Change-Id: I7cc8e54d3eb139d63118bad312fe88e735d8552b Reviewed-on: https://chromium-review.googlesource.com/1081205 Commit-Queue: Dmitry Gozman <dgozman@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#563412} [modify] https://crrev.com/6ae0ece42a7c8beeaafbb68f4a5b4f7982d7a918/components/printing/renderer/print_render_frame_helper.cc [modify] https://crrev.com/6ae0ece42a7c8beeaafbb68f4a5b4f7982d7a918/components/printing/test/print_render_frame_helper_browsertest.cc
,
May 31 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by avsha...@etouch.net
, May 31 2018Owner: dgozman@chromium.org
Status: Assigned (was: Unconfirmed)