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

Side by Side Diff: LayoutTests/fast/dom/HTMLScriptElement/script-cancel-crash.html

Issue 289863003: Merge 174019 "Make ScriptLoader into a ResourceOwner" (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1985/
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLScriptElement/script-cancel-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 <body> 2 <body>
3 <script src="../../../resources/js-test.js"></script> 3 <script src="../../../resources/js-test.js"></script>
4 <script> 4 <script>
5 window.jsTestIsAsync = true; 5 window.jsTestIsAsync = true;
6 6
7 function requestAndCancel() { 7 function requestAndCancel() {
8 var element = document.createElement('script'); 8 var element = document.createElement('script');
9 document.body.appendChild(element); 9 document.body.appendChild(element);
10 element.setAttribute('src', 'nosuch'); 10 element.setAttribute('src', 'nosuch');
(...skipping 12 matching lines...) Expand all
23 requestAndCancel(); 23 requestAndCancel();
24 24
25 setTimeout(function() { 25 setTimeout(function() {
26 makePressure(); 26 makePressure();
27 gc(); 27 gc();
28 debug('PASS unless crash.'); 28 debug('PASS unless crash.');
29 finishJSTest(); 29 finishJSTest();
30 }, 0); 30 }, 0);
31 </script> 31 </script>
32 </body> 32 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLScriptElement/script-cancel-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698