Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: LayoutTests/svg/dom/SVGStyledElement-pendingResource-crash.html

Issue 8038032: Merge 94905 - Source/WebCore: Crash due to bad data in SVGDocumentExtensions m_pendingResources (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/svg/dom/SVGStyledElement-pendingResource-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html > 2 <html >
3 <script> 3 <script>
4 function body_start() { 4 function body_start() {
5 var q = document.getElementById('root').contentDocument; 5 var q = document.getElementById('root').contentDocument;
6 q.getElementsByTagName('svg')[0].replaceChild(q.getElementById('refI mage'), q.getElementById('d')); 6 q.getElementsByTagName('svg')[0].replaceChild(q.getElementById('refI mage'), q.getElementById('d'));
7 q.getElementsByTagName('use')[0].setAttribute('xlink:href', '#testNa me'); 7 q.getElementsByTagName('use')[0].setAttribute('xlink:href', '#testNa me');
8 if (window.layoutTestController) { 8 if (window.layoutTestController) {
9 layoutTestController.dumpAsText(); 9 layoutTestController.dumpAsText();
10 layoutTestController.waitUntilDone(); 10 layoutTestController.waitUntilDone();
11 } 11 }
12 setTimeout(function () { 12 setTimeout(function () {
13 document.body.innerHTML = "PASS, if DumpRenderTree doesn't c rash, and no assertion in a Debug build."; 13 document.body.innerHTML = "PASS, if DumpRenderTree doesn't c rash, and no assertion in a Debug build.";
14 if (window.layoutTestController) 14 if (window.layoutTestController)
15 layoutTestController.notifyDone(); 15 layoutTestController.notifyDone();
16 }, 0); 16 }, 0);
17 } 17 }
18 </script> 18 </script>
19 <object data="resources/SVGStyledElement-pendingResource-crash.svg" id="root " onload="body_start();" type="image/svg+xml"/></object> 19 <object data="resources/SVGStyledElement-pendingResource-crash.svg" id="root " onload="body_start();" type="image/svg+xml"/></object>
20 </html> 20 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/dom/SVGStyledElement-pendingResource-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698