helper_paint_skip_in_popup.html (1063B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <script src="/tests/SimpleTest/SimpleTest.js"></script> 4 <script src='/tests/SimpleTest/paint_listener.js'></script> 5 <script src='apz_test_utils.js'></script> 6 <head> 7 <meta charset="UTF-8"> 8 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 9 <title>Dropdown with 1000 Random Items</title> 10 </head> 11 <body> 12 <h1>Dropdown with 1000 Random Elements</h1> 13 <select id="randomDropdown"> 14 </select> 15 16 <script> 17 // Generate 100 random items and populate the dropdown 18 const dropdown = document.getElementById('randomDropdown'); 19 20 for (let i = 1; i <= 100; i++) { 21 const option = document.createElement('option'); 22 option.value = `Item${i}`; 23 option.textContent = `Random Item ${i}: ${Math.random().toFixed(5)}`; 24 dropdown.appendChild(option); 25 } 26 </script> 27 </body> 28 <script> 29 // Silence SimpleTest warning about missing assertions by having it wait 30 // indefinitely. 31 SimpleTest.waitForExplicitFinish(); 32 </script> 33 </html>