Changeset 139703 in webkit
- Timestamp:
- Jan 14, 2013 6:49:41 PM (11 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r139699 r139703 1 2013-01-14 Rafael Weinstein <rafaelw@chromium.org> 2 3 fast/dom/HTMLTemplateElement/inertContents.html is flaky on Debug Chromium bots 4 https://bugs.webkit.org/show_bug.cgi?id=106810 5 6 Reviewed by Levi Weintraub. 7 8 This patch reverts the test for inertContents back to a non-flaky version which did not 9 attempt to assert that images are prevented from loaded. 10 11 * fast/dom/HTMLTemplateElement/inertContents-expected.txt: 12 * fast/dom/HTMLTemplateElement/inertContents.html: 13 * platform/chromium/TestExpectations: 14 * platform/efl/fast/dom/HTMLTemplateElement/inertContents-expected.txt: Removed. 15 1 16 2013-01-14 Levi Weintraub <leviw@chromium.org> 2 17 -
trunk/LayoutTests/fast/dom/HTMLTemplateElement/inertContents-expected.txt
r139502 r139703 1 http://foo.com/shouldLoad.jpg - willSendRequest <NSURLRequest URL http://foo.com/shouldLoad.jpg, main document URL inertContents.html, http method GET> redirectResponse (null) 2 Blocked access to external URL http://foo.com/shouldLoad.jpg 3 http://foo.com/shouldLoad.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -999, failing URL "(null)"> 4 The test asserts that elements within template contents are "inert", e.g. resources do not fetch, script does not run. 1 The test asserts that elements within template contents are "inert", e.g. script does not run. 5 2 6 Before template content insertion: script did not run, after template content insertion: script did run.3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 7 4 5 6 PASS testVal is "script has not run" 7 PASS testVal is "script has run" 8 PASS successfullyParsed is true 9 10 TEST COMPLETE 11 -
trunk/LayoutTests/fast/dom/HTMLTemplateElement/inertContents.html
r139502 r139703 1 <!DOCTYPE html> 1 2 <body> 2 <p>The test asserts that elements within template contents are "inert", e.g. resources do not fetch, script does not run.</p> 3 <template id="template"><script>window.testVal = "script did run";</script><img src="http://foo.com/shouldNotLoad.jpg"></template> 4 <div id="output"> 5 </div> 6 3 <script src="../../js/resources/js-test-pre.js"></script> 7 4 <script> 8 var testVal = "script did not run"; 9 10 window.onload = function() { 11 if (window.testRunner) { 12 testRunner.dumpAsText(); 13 testRunner.dumpResourceLoadCallbacks(); 14 } 15 16 var output = document.getElementById('output'); 17 output.innerHTML = 'Before template content insertion: ' + testVal; 18 19 var templateContent = document.getElementById('template').content; 20 var img = templateContent.childNodes[1]; 21 img.src = "http://foo.com/shouldLoad.jpg"; 22 document.body.appendChild(templateContent); 23 24 output.innerHTML += ', after template content insertion: ' + testVal + '.'; 25 } 5 var testVal = 'script has not run'; 26 6 </script> 27 </head> 28 <body> 7 <!-- FIXME: Add non-flaky test for <img> tags --> 8 <template><script>window.testVal = 'script has run';</script></template> 9 <script> 10 description('The test asserts that elements within template contents are "inert", e.g. script does not run.'); 11 shouldBeEqualToString('testVal', 'script has not run'); 12 var templateContent = document.querySelector('template').content; 13 document.body.appendChild(templateContent); 14 shouldBeEqualToString('testVal', 'script has run'); 15 </script> 16 <script src="../../js/resources/js-test-post.js"></script> 29 17 </body> -
trunk/LayoutTests/platform/chromium/TestExpectations
r139677 r139703 4366 4366 Bug(schenney) svg/W3C-SVG-1.2-Tiny/struct-use-recursion-03-t.svg [ ImageOnlyFailure ] 4367 4367 4368 webkit.org/b/106810 [ Debug ] fast/dom/HTMLTemplateElement/inertContents.html [ Pass Failure ]4369 4368 webkit.org/b/106833 fast/borders/outline-alpha-inline.html [ Pass ImageOnlyFailure ]
Note: See TracChangeset
for help on using the changeset viewer.