Changeset 189289 in webkit


Ignore:
Timestamp:
Sep 3, 2015 2:48:27 PM (9 years ago)
Author:
aestes@apple.com
Message:

REGRESSION: http/tests/contentfiltering/block-after-redirect.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=148684

Reviewed by Alexey Proskuryakov.

Wait for the iframe to load the blocked page before finishing the test.

  • http/tests/contentfiltering/block-after-redirect.html:
  • platform/mac-wk2/TestExpectations:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r189287 r189289  
     12015-09-03  Andy Estes  <aestes@apple.com>
     2
     3        REGRESSION: http/tests/contentfiltering/block-after-redirect.html is flaky
     4        https://bugs.webkit.org/show_bug.cgi?id=148684
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        Wait for the iframe to load the blocked page before finishing the test.
     9
     10        * http/tests/contentfiltering/block-after-redirect.html:
     11        * platform/mac-wk2/TestExpectations:
     12
    1132015-09-03  Tim Horton  <timothy_horton@apple.com>
    214
  • trunk/LayoutTests/http/tests/contentfiltering/block-after-redirect.html

    r182369 r189289  
    11<!DOCTYPE html>
     2<body>
    23<script>
    34if (window.internals) {
     
    89    settings.blockedString = "<!DOCTYPE html><body>PASS";
    910}
     11
     12if (window.testRunner)
     13    testRunner.waitUntilDone();
     14
     15var iframe = document.createElement("iframe");
     16document.body.appendChild(iframe);
     17iframe.addEventListener("load", function(event) {
     18    if (window.testRunner)
     19        testRunner.notifyDone();
     20}, false);
     21iframe.src = "/resources/redirect.php?url=/contentfiltering/resources/fail.html";
    1022</script>
    11 <body>
    12 <iframe src="/resources/redirect.php?url=/contentfiltering/resources/fail.html"></iframe>
  • trunk/LayoutTests/platform/mac-wk2/TestExpectations

    r189287 r189289  
    266266webkit.org/b/147075 [ Release Yosemite ] http/tests/cache/disk-cache/disk-cache-disable.html [ Pass Failure ]
    267267
    268 webkit.org/b/148684 http/tests/contentfiltering/block-after-redirect.html [ Pass ImageOnlyFailure ]
    269 
    270268### END OF (1) Classified failures with bug reports
    271269########################################
Note: See TracChangeset for help on using the changeset viewer.