Changeset 155727 in webkit


Ignore:
Timestamp:
Sep 13, 2013, 3:27:32 PM (11 years ago)
Author:
ap@apple.com
Message:

Flaky Test: svg/dom/SVGScriptElement/script-load-and-error-events.svg
https://bugs.webkit.org/show_bug.cgi?id=25817

Reviewed by Tim Horton.

  • svg/dom/SVGScriptElement/script-load-and-error-events.svg: Made test output

a bit more verbose to see what's happening on bots.

Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r155725 r155727  
     12013-09-13  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Flaky Test: svg/dom/SVGScriptElement/script-load-and-error-events.svg
     4        https://bugs.webkit.org/show_bug.cgi?id=25817
     5
     6        Reviewed by Tim Horton.
     7
     8        * svg/dom/SVGScriptElement/script-load-and-error-events.svg: Made test output
     9        a bit more verbose to see what's happening on bots.
     10
    1112013-09-13  Alexey Proskuryakov  <ap@apple.com>
    212
  • trunk/LayoutTests/svg/dom/SVGScriptElement/script-load-and-error-events.svg

    r124380 r155727  
    44<title>&lt;SCRIPT&gt; load and error events</title>
    55<script type="text/javascript">
     6//<![CDATA[
    67var status_ = new Array();
    78var shouldContinue = 1;
    89var lastTest = 0;
    910
    10 for (i = 0; i &lt; 7; ++i)
     11for (i = 0; i < 7; ++i)
    1112    status_[i] = "";
    1213
     
    3940
    4041    if (status_[0] != "LE")
    41         failures += "0 ";
     42        failures += "0 (actual result: " + status_[0] + ") ";
    4243    if (status_[1] != "E")
    43         failures += "1 ";
     44        failures += "1 (actual result: " + status_[1] + ") ";
    4445    if (status_[2] != "L")
    45         failures += "2 ";
     46        failures += "2 (actual result: " + status_[2] + ") ";
    4647    if (status_[3] != "L")
    47         failures += "3 ";
     48        failures += "3 (actual result: " + status_[3] + ") ";
    4849    if (status_[4] != "L")
    49         failures += "4 ";
     50        failures += "4 (actual result: " + status_[4] + ") ";
    5051    if (status_[5] != "LE")
    51         failures += "5 ";
     52        failures += "5 (actual result: " + status_[5] + ") ";
    5253    if (status_[6] != "E")
    53         failures += "6 ";
     54        failures += "6 (actual result: " + status_[6] + ")";
    5455
    5556    var results = document.getElementById("results");
     
    6465
    6566function lastTestBeforeRootElementLoaded() {
    66     // Assure the SVGSVGElement onload handler doesn't fire, because one script element points to a not-existant
     67    // Ensure the SVGSVGElement onload handler doesn't fire, because one script element points to a nonexistent
    6768    // resource, and specifies externalResourcesRequired=true. This prevents SVGLoad from being dispatched.
    6869    window.setTimeout('startDynamicTests()', 0);
     
    9596    scriptElement.id = 5;
    9697    scriptElement.type.baseVal = "text/javascript";
    97     scriptElement.href.baseVal = "resources/not-existant.js";
     98    scriptElement.href.baseVal = "resources/nonexistent.js";
    9899
    99100    scriptElement.onload = function(loadEvent) {
     
    110111    scriptElement.id = 6;
    111112    scriptElement.type.baseVal = "text/javascript";
    112     scriptElement.href.baseVal = "resources/not-existant.js";
     113    scriptElement.href.baseVal = "resources/nonexistent.js";
    113114    scriptElement.externalResourcesRequired.baseVal = true;
    114115    scriptElement.onerror = errorEventHandler;
     
    117118    document.getElementsByTagName("defs")[0].appendChild(scriptElement); 
    118119}
     120//]]>
    119121</script>
    120122<script id="0" type="text/javascript" onerror="errorEventHandler(evt)" onload="loadEventHandler(evt)" xlink:href="resources/certainlydoesnotexist.js"></script>
Note: See TracChangeset for help on using the changeset viewer.