Changeset 155727 in webkit
- Timestamp:
- Sep 13, 2013, 3:27:32 PM (11 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r155725 r155727 1 2013-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 1 11 2013-09-13 Alexey Proskuryakov <ap@apple.com> 2 12 -
trunk/LayoutTests/svg/dom/SVGScriptElement/script-load-and-error-events.svg
r124380 r155727 4 4 <title><SCRIPT> load and error events</title> 5 5 <script type="text/javascript"> 6 //<![CDATA[ 6 7 var status_ = new Array(); 7 8 var shouldContinue = 1; 8 9 var lastTest = 0; 9 10 10 for (i = 0; i <7; ++i)11 for (i = 0; i < 7; ++i) 11 12 status_[i] = ""; 12 13 … … 39 40 40 41 if (status_[0] != "LE") 41 failures += "0 ";42 failures += "0 (actual result: " + status_[0] + ") "; 42 43 if (status_[1] != "E") 43 failures += "1 ";44 failures += "1 (actual result: " + status_[1] + ") "; 44 45 if (status_[2] != "L") 45 failures += "2 ";46 failures += "2 (actual result: " + status_[2] + ") "; 46 47 if (status_[3] != "L") 47 failures += "3 ";48 failures += "3 (actual result: " + status_[3] + ") "; 48 49 if (status_[4] != "L") 49 failures += "4 ";50 failures += "4 (actual result: " + status_[4] + ") "; 50 51 if (status_[5] != "LE") 51 failures += "5 ";52 failures += "5 (actual result: " + status_[5] + ") "; 52 53 if (status_[6] != "E") 53 failures += "6 ";54 failures += "6 (actual result: " + status_[6] + ")"; 54 55 55 56 var results = document.getElementById("results"); … … 64 65 65 66 function lastTestBeforeRootElementLoaded() { 66 // Assure the SVGSVGElement onload handler doesn't fire, because one script element points to a not-existant67 // Ensure the SVGSVGElement onload handler doesn't fire, because one script element points to a nonexistent 67 68 // resource, and specifies externalResourcesRequired=true. This prevents SVGLoad from being dispatched. 68 69 window.setTimeout('startDynamicTests()', 0); … … 95 96 scriptElement.id = 5; 96 97 scriptElement.type.baseVal = "text/javascript"; 97 scriptElement.href.baseVal = "resources/no t-existant.js";98 scriptElement.href.baseVal = "resources/nonexistent.js"; 98 99 99 100 scriptElement.onload = function(loadEvent) { … … 110 111 scriptElement.id = 6; 111 112 scriptElement.type.baseVal = "text/javascript"; 112 scriptElement.href.baseVal = "resources/no t-existant.js";113 scriptElement.href.baseVal = "resources/nonexistent.js"; 113 114 scriptElement.externalResourcesRequired.baseVal = true; 114 115 scriptElement.onerror = errorEventHandler; … … 117 118 document.getElementsByTagName("defs")[0].appendChild(scriptElement); 118 119 } 120 //]]> 119 121 </script> 120 122 <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.