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

Issue 652513 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 595895



Sign in to add a comment

http/tests/loading/image-picture-no-download-after-removal.html is flaky

Project Member Reported by lukasza@chromium.org, Oct 4 2016

Issue description

Repro steps:

1. Build layout tests:

    $ cat out/gn/args.gn | grep -v '^#'
    dcheck_always_on = true
    is_asan = true
    is_component_build = true
    is_debug = false
    use_goma = true
    enable_nacl = false

    $ ninja -C out/gn -j 1500 -l 15 blink_tests

2. Run http/tests/loading/image-picture-no-download-after-removal.html
   multiple times:

DISPLAY=:20 third_party/WebKit/Tools/Scripts/run-webkit-tests -v -t gn --no-retry-failures --iterations=200 http/tests/loading/image-picture-no-download-after-removal.html

Expected: The test consistently passes.

Actual: The test fails intermittently - 34/400 test runs failed on my machine.
 
Owner: y...@yoav.ws
Status: Assigned (was: Untriaged)
Added by yoav@ in https://codereview.chromium.org/2256533002, assigning.

Comment 2 by y...@yoav.ws, Oct 7 2016

Status: Started (was: Assigned)
Project Member

Comment 3 by bugdroid1@chromium.org, Oct 11 2016

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

commit 1ea50761e75c1752ec0bf619106bfa63f9372dae
Author: yoav <yoav@yoav.ws>
Date: Tue Oct 11 05:04:33 2016

Avoid <picture> preloading when viewport not initialized.

On rare occasions, it seems that viewport dimensions are not properly
initialized before being passed to the HTMLPreloadScanner, which
results in potential preloading of the wrong <picture> based resource.

That issue will no longer be relevant once ParseHTMLOnMainThread
lands and MediaValuesCached related logic is removed from the
preloadScanner, but in the mean time, it's causing test flakiness.

This CL changes the preload scanner's behavior, so that it would avoid
preloading of picture based resources when the viewport dimensions
are unknown.

BUG= 652513 

Review-Url: https://codereview.chromium.org/2404463002
Cr-Commit-Position: refs/heads/master@{#424373}

[modify] https://crrev.com/1ea50761e75c1752ec0bf619106bfa63f9372dae/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp

Comment 4 by addyo@chromium.org, Mar 29 2017

Cc: addyo@chromium.org

Comment 5 by y...@yoav.ws, Apr 10 2017

Status: Fixed (was: Started)
I think this was resolved by https://codereview.chromium.org/2404463002 (and I neglected to mark it as such at the time :/)
Marking as FIXED, but let me know if you still see flakiness.

Sign in to add a comment