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

Side by Side Diff: LayoutTests/fast/dom/Geolocation/script-tests/remove-remote-context-in-error-callback-crash.js

Issue 7398018: Merge 90914 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 5 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
OLDNEW
1 description("Tests that we do not crash when a Geolocation request is made from a remote frame, which is then removed from the DOM in the error callback."); 1 description("Tests that we do not crash when a Geolocation request is made from a remote frame, which is then removed from the DOM in the error callback.");
2 2
3 function gc() { 3 function gc() {
4 if (window.GCController) { 4 if (window.GCController) {
5 GCController.collect(); 5 GCController.collect();
6 return; 6 return;
7 } 7 }
8 8
9 for (var i = 0; i < 10000; i++) 9 for (var i = 0; i < 10000; i++)
10 new String(i); 10 new String(i);
(...skipping 11 matching lines...) Expand all
22 finishJSTest(); 22 finishJSTest();
23 }); 23 });
24 } 24 }
25 25
26 var iframe = document.createElement('iframe'); 26 var iframe = document.createElement('iframe');
27 iframe.src = 'resources/remove-remote-context-in-error-callback-crash-inner.html '; 27 iframe.src = 'resources/remove-remote-context-in-error-callback-crash-inner.html ';
28 document.body.appendChild(iframe); 28 document.body.appendChild(iframe);
29 29
30 window.jsTestIsAsync = true; 30 window.jsTestIsAsync = true;
31 window.successfullyParsed = true; 31 window.successfullyParsed = true;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698