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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/select/popup-menu-crash-on-style-update.html

Issue 1591613002: Move tests about 'New SELECT Popup' to fast/forms/select-popup, and disable them on OSX and Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 <body>
3 <script src="../../../resources/testharness.js"></script>
4 <script src="../../../resources/testharnessreport.js"></script>
5 <script src="../resources/picker-common.js"></script>
6 <select><option>option</option></select>
7 <script>
8 var test = async_test('Do not crash in PopupMenuImpl::update');
9 var select = document.querySelector('select');
10 openPicker(select, function() {
11 setTimeout(function() {
12 select.setAttribute('style', 'font-size: larger;');
13 select.offsetWidth;
14 select.style.display = 'none';
15 setTimeout(function() {
16 test.step(function() { assert_true(true, 'Did not crash.'); });
17 test.done();
18 }, 0);
19 }, 0);
20 }, function() {
21 // Do nothing on Mac and Android.
22 test.done();
23 });
24 </script>
25 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698