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

Side by Side Diff: LayoutTests/fast/forms/select-popup-close-no-crash.html

Issue 920433002: Gracefully handle a disconnected popup menu client on disposing open popup. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rework test, mac-friendly Created 5 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="resources/picker-common.js"></script>
5 </head>
6 <body>
7 <select id="menu">
8 <option>foo</option>
9 <option>bar</option>
10 </select>
11 <form action="resources/popup-no-crash.html" id="form1"></form>
12 <script>
13 if (window.testRunner) {
14 testRunner.waitUntilDone();
15 testRunner.dumpAsText();
16 }
17
18 function openCallback() {
19 document.getElementById('form1').submit();
20 }
21
22 function errorCallback() {
23 window.location = "resources/popup-no-crash.html";
24 }
25
26 window.onload = function () {
27 openPicker(document.getElementById('menu'), openCallback, errorCallback);
28 }
29 </script>
30 </body>
31 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/resources/popup-no-crash.html ('k') | LayoutTests/fast/forms/select-popup-close-no-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698