[Webkit-unassigned] [Bug 157816] REGRESSION (r200887): LayoutTest http/tests/performance/performance-resource-timing-cached-entries.html is flaky

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 18 15:56:56 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=157816

Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #279286|review?                     |review+, commit-queue-
              Flags|                            |

--- Comment #13 from Alexey Proskuryakov <ap at webkit.org> ---
Comment on attachment 279286
  --> https://bugs.webkit.org/attachment.cgi?id=279286
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=279286&action=review

> LayoutTests/http/tests/performance/performance-resource-timing-cached-entries.html:11
> +    if (window.performance)
> +        console.log("current entries: " + performance.getEntriesByType('resource').length);

I was thinking of something like (right after a shouldBe()):

if (foundResource !== 2) {
    for (var i = 0; i < resources.length; ++i) {
        if (resources[i].name.indexOf("square") !== -1)
            debug(resources.name);
    }
}

That way, there will be more information logged, and you won't need to change the expectation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160518/2f195f3c/attachment-0001.html>


More information about the webkit-unassigned mailing list