New issue
Advanced search Search tips

Issue 753141 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

handle multiple instances of --enable-blink-features

Project Member Reported by xiaoche...@chromium.org, Aug 7 2017

Issue description

The bug is found when running virtual layout tests on try bot linux_layout_tests_layout_ng.

Minimal repro: run the following command line

run-webkit-tests --additional-driver-flag=--enable-blink-features=LayoutNG virtual/mojo-loading/

The problem is that two --enable-blink-features flags are passed to content_shell:
- --additional-driver-flag adds --enable-blink-features=LayoutNG
- virtual/mojo test suite adds another --enable-blink-features=LoadingWithMojo

And the later overwrites the former.

To make things work, the two flags have to be some how combined into one --enable-blink-features.
 
Interesting discovery.  I think this should be fixed in the Chromium binary (not in the test runner), by parsing multiple --enable-blink-features=... flags correctly.

Comment 2 by skobes@chromium.org, Aug 15 2017

Cc: -skobes@chromium.org
Components: Blink>Infra
Owner: skobes@chromium.org
Status: Started (was: Untriaged)
Summary: handle multiple instances of --enable-blink-features (was: In layout tests, additional-driver-flag and virtual tests don't work well together)

Comment 4 by skobes@chromium.org, Aug 19 2017

Status: Fixed (was: Started)
Project Member

Comment 5 by bugdroid1@chromium.org, Aug 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/732536e97888e634ae1246aee9b06c95c4c99ab0

commit 732536e97888e634ae1246aee9b06c95c4c99ab0
Author: Xiaocheng Hu <xiaochengh@chromium.org>
Date: Mon Aug 21 23:05:38 2017

Remove failure lines due to  crbug.com/753141  from LayoutNG flag expectations

As  crbug.com/753141  is fixed, this CL removes the failures lines to make
the LayoutNG flag expectations file clean.

Bug:  753141 
Change-Id: I7aee6c348175c0a305694793f02e4b59c678f36d
Reviewed-on: https://chromium-review.googlesource.com/624400
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#496107}
[modify] https://crrev.com/732536e97888e634ae1246aee9b06c95c4c99ab0/third_party/WebKit/LayoutTests/FlagExpectations/enable-blink-features=LayoutNG

Sign in to add a comment