Changeset 84360 in webkit
- Timestamp:
- Apr 20, 2011 5:45:31 AM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r84357 r84360 1 2011-04-20 Yury Semikhatsky <yurys@chromium.org> 2 3 Reviewed by Tony Gentilcore. 4 5 http/tests/misc/unloadable-script.html fails if <script> error event doesn't bubble 6 https://bugs.webkit.org/show_bug.cgi?id=58981 7 8 * http/tests/misc/unloadable-script.html: canged the test so that it uses <script onerror> instead 9 od <body onerror> 10 1 11 2011-04-20 Yury Semikhatsky <yurys@chromium.org> 2 12 -
trunk/LayoutTests/http/tests/misc/unloadable-script.html
r72830 r84360 7 7 document.getElementById("console").appendChild(p); 8 8 } 9 10 function handleScriptOnError() 11 { 12 log('onerror called (good!)'); 13 } 9 14 </script> 10 15 </head> 11 <body onerror="log('onerror called (good!)')">16 <body> 12 17 <p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=13584">bug 13584</a>: 13 18 <script> code wrongly assumes requests can't fail.</p> … … 16 21 <div id=console></div> 17 22 18 <script id=test_script></script>23 <script onerror="handleScriptOnError()" id=test_script></script> 19 24 20 25 <script> … … 27 32 script = document.createElement("script"); 28 33 script.setAttribute("src", "file:///foobar"); 34 script.setAttribute("onerror", "handleScriptOnError()"); 29 35 document.body.appendChild(script); 30 36 </script>
Note: See TracChangeset
for help on using the changeset viewer.