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

Side by Side Diff: LayoutTests/inspector/console/console-long-eval-crash.html

Issue 174073007: Remove deprecated window.showModalDialog() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script>
6
7 testRunner.setCanOpenWindows();
8
9 function doDialog()
10 {
11 testRunner.closeWebInspector();
12 showModalDialog('data:text/html,<script>setTimeout(close, 0);%3c/script>');
13 setTimeout(function(){testRunner.notifyDone();}, 0);
14 }
15
16 function test()
17 {
18 RuntimeAgent.evaluate("doDialog()");
19 }
20
21 </script>
22 </head>
23
24 <body onload="runTest()">
25 <p>
26 Test that any long api call from the frontend will not crash the inspected page' s renderer if the page is reloaded or frontend is closed in the middle.
27 </p>
28 <a href="https://bugs.webkit.org/show_bug.cgi?id=60616">https://bugs.webkit.org/ show_bug.cgi?id=60616</a>
29
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698