New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 766009 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 770003
Owner:
Last visit 29 days ago
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Compat



Sign in to add a comment

CSS at-rule not working in headless mode

Reported by siddhana...@gmail.com, Sep 17 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36

Example URL:

Steps to reproduce the problem:
Render the attached file with and without headless mode. The command for rendering a screenshot with headless mode is:

$ google-chrome --headless --disable-gpu --screenshot file:///home/username/filepath/hello.html

What is the expected behavior?
Hello World is visible with and without headless mode.

What went wrong?
Headless mode does not display Hello World.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 60.0.3112.90  Channel: stable
OS Version: Ubuntu 16.04
Flash Version: Shockwave Flash 27.0 r0
 
hello.html
283 bytes View Download
Labels: Needs-Milestone
Components: Internals>Headless
Labels: Triaged-ET Proj-Headless TE-Needs-TriageHelp Needs-Traige-M63
Unable to launch the browser using headless with the steps mentioned in the original comment adding appropriate component for further triage of the issue


Comment 3 by ajha@chromium.org, Sep 19 2017

Labels: -Needs-Traige-M63 Needs-Triage-M63
Labels: -Needs-Triage-M63 -Triaged-ET -TE-Needs-TriageHelp Needs-Feedback
Thanks for the A+ repro instructions!

I can't reproduce With Chrome version 61 in Ubuntu, I am getting Hello World. 
Do you mind checking?


Owner: dvallet@chromium.org
Oh! You're right. I didn't realize the issue was with my configuration. It fails with chrome://flags/#enable-gpu-rasterization enabled.
Project Member

Comment 7 by sheriffbot@chromium.org, Oct 3 2017

Cc: dvallet@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "dvallet@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Actually, I don't think it has to do with gpu-rasterization. I'm having trouble reproducing the issue myself now. It seems to render Hello World sometimes, and seems to fail at other times.

Try writing a script that does the same thing over and over again, and view the results. You should (hopefully) see Hello World rendered correctly on a few results, and no text appearing in others. This is with Chrome 61 (Google Chrome 61.0.3163.100). For reference, here's the bash script I used:

```
for i in `seq 100`; do
    google-chrome --headless --disable-gpu --disable-extensions \
        --disable-plugins \
        --screenshot="output$i.png" file:///home/username/path/to/hello.html
done
```

Thanks for the script!
I run it for both google-chrome and google-chrome-stable and got 100% success, so I'm not sure what could be going on.
I'e also tried without --disable-gpu, same results.

If you have any other clues, let me know and I'll be happy to look into it.


Mergedinto: 770003
Status: Duplicate (was: Unconfirmed)
I'm guessing this is a dupe of 770003.

Sign in to add a comment