OLD | NEW |
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 Loading... |
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; |
OLD | NEW |