Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Issue 2890133002: check whether the printing render frame host has been initialised before accepting a message in the… (Closed)

Created:
3 years, 7 months ago by Oleg Sushkov
Modified:
3 years, 7 months ago
Reviewers:
dvallet, jzfeng, Sami
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

check whether the printing render frame host has been initialised before accepting a message in the headless print manager BUG= Review-Url: https://codereview.chromium.org/2890133002 Cr-Commit-Position: refs/heads/master@{#473766} Committed: https://chromium.googlesource.com/chromium/src/+/4df44c0cf2a2ea02bdc4f08a86d2827a5be2b487

Patch Set 1 #

Total comments: 2

Patch Set 2 : check whether the printing render frame host has been initialised before accepting a message in the… #

Total comments: 3

Patch Set 3 : check whether the printing render frame host has been initialised before accepting a message in the… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -6 lines) Patch
M headless/lib/browser/headless_print_manager.cc View 1 2 2 chunks +25 lines, -6 lines 0 comments Download
M headless/lib/headless_browser_browsertest.cc View 1 2 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
Oleg Sushkov
3 years, 7 months ago (2017-05-18 07:38:15 UTC) #2
jzfeng
lgtm https://codereview.chromium.org/2890133002/diff/1/headless/lib/browser/headless_print_manager.cc File headless/lib/browser/headless_print_manager.cc (right): https://codereview.chromium.org/2890133002/diff/1/headless/lib/browser/headless_print_manager.cc#newcode179 headless/lib/browser/headless_print_manager.cc:179: render_frame_host->Send(new IPC::Message()); use DLOG(ERROR), and add the message ...
3 years, 7 months ago (2017-05-18 08:12:47 UTC) #3
Oleg Sushkov
On 2017/05/18 at 08:12:47, jzfeng wrote: > lgtm > > https://codereview.chromium.org/2890133002/diff/1/headless/lib/browser/headless_print_manager.cc > File headless/lib/browser/headless_print_manager.cc (right): ...
3 years, 7 months ago (2017-05-19 00:49:00 UTC) #4
jzfeng
FYI. another example: http://publika.az/news_print.php?news_id=142674 is found. Looks like the window.print() js code make the renderer ...
3 years, 7 months ago (2017-05-19 01:01:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2890133002/20001
3 years, 7 months ago (2017-05-19 01:06:17 UTC) #8
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 7 months ago (2017-05-19 01:06:18 UTC) #10
Oleg Sushkov
3 years, 7 months ago (2017-05-19 01:11:15 UTC) #12
Sami
Nice, thanks! Mind adding a small test that calls window.print()? https://codereview.chromium.org/2890133002/diff/20001/headless/lib/browser/headless_print_manager.cc File headless/lib/browser/headless_print_manager.cc (right): https://codereview.chromium.org/2890133002/diff/20001/headless/lib/browser/headless_print_manager.cc#newcode186 ...
3 years, 7 months ago (2017-05-19 13:10:01 UTC) #13
Oleg Sushkov
On 2017/05/19 at 13:10:01, skyostil wrote: > Nice, thanks! Mind adding a small test that ...
3 years, 7 months ago (2017-05-22 00:49:00 UTC) #14
Sami
lgtm, thanks!
3 years, 7 months ago (2017-05-22 16:11:04 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2890133002/40001
3 years, 7 months ago (2017-05-22 23:57:05 UTC) #18
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 00:52:01 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/4df44c0cf2a2ea02bdc4f08a86d2...

Powered by Google App Engine
This is Rietveld 408576698