RESOLVED FIXED 208507
Test media/video-controls-toggling.html is failing for GTK since r257299
https://bugs.webkit.org/show_bug.cgi?id=208507
Summary Test media/video-controls-toggling.html is failing for GTK since r257299
Carlos Garcia Campos
Reported 2020-03-03 03:28:31 PST
This has started to fail for GTK since we switched to use adwaita media controls, but I think this was passing by coincidence. The test itself is wrong and that's probably the reason why it fails in the other platforms too. The test expects that the changes that happen after removing the controls attribute from video element are sync, but they aren't because a mutation observer is used by media controls script. Then it assumes that panel display property is set to none after controls attribute is removed, but we are actually removing the media controls tree from the DOM in that case so the panel is null at that point. This worked in GTK before because all those checks that were supposed to happen after removing the controls were done before the handleControlsChange() was called.
Attachments
Patch (2.76 KB, patch)
2020-03-03 03:33 PST, Carlos Garcia Campos
calvaris: review+
Carlos Garcia Campos
Comment 1 2020-03-03 03:33:04 PST
Carlos Garcia Campos
Comment 2 2020-03-03 05:13:19 PST
Radar WebKit Bug Importer
Comment 3 2020-03-03 05:14:28 PST
Note You need to log in before you can comment on or make changes to this bug.