Steps to duplicate:
- Run the test normally - it passes:
python ${CHROMIUM_SRC}/third_party/blink/tools/run_web_tests.py -t Default fast/events/middleClickAutoscroll-click.html
- Run the test with the EDCPD flag present, and it times out:
python ${CHROMIUM_SRC}/third_party/blink/tools/run_web_tests.py -t Default --additional-driver-flag=--enable-display-compositor-pixel-dump fast/events/middleClickAutoscroll-click.html
To "fix" the issue, replace "switches::GetDeadlineToSynchronizeSurfaces()" with "40" in the line below. In this case, the frame deadline will be hit, triggering a surface activation, and the test passes. So the problem with these tests is that in the infinite deadline case, the surface is never activated.
https://cs.chromium.org/chromium/src/content/browser/browser_main_loop.cc?rcl=15e9c7e426b541dd76535ac9f4f9651ef7af985d&l=1344
I'm wondering if this is at all similar to the problem described in https://chromium-review.googlesource.com/c/chromium/src/+/1161338?
Comment 1 by masonfreed@chromium.org
, Sep 12Steps to duplicate: - Run the test normally - it passes: python ${CHROMIUM_SRC}/third_party/blink/tools/run_web_tests.py -t Default fast/events/middleClickAutoscroll-click.html - Run the test with the EDCPD flag present, and it times out: python ${CHROMIUM_SRC}/third_party/blink/tools/run_web_tests.py -t Default --additional-driver-flag=--enable-display-compositor-pixel-dump fast/events/middleClickAutoscroll-click.html To "fix" the issue, replace "switches::GetDeadlineToSynchronizeSurfaces()" with "40" in the line below. In this case, the frame deadline will be hit, triggering a surface activation, and the test passes. So the problem with these tests is that in the infinite deadline case, the surface is never activated. https://cs.chromium.org/chromium/src/content/browser/browser_main_loop.cc?rcl=15e9c7e426b541dd76535ac9f4f9651ef7af985d&l=1344 I'm wondering if this is at all similar to the problem described in https://chromium-review.googlesource.com/c/chromium/src/+/1161338?