Bug 158838 - Update test-expected file for failing fullscreen test
Summary: Update test-expected file for failing fullscreen test
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-16 08:46 PDT by Romain Bellessort
Modified: 2016-06-17 08:22 PDT (History)
5 users (show)

See Also:


Attachments
Patch (5.68 KB, patch)
2016-06-16 08:54 PDT, Romain Bellessort
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Romain Bellessort 2016-06-16 08:46:22 PDT
fullscreen/video-controls-override.html fails with GTK because the GTK test-expected file was not updated after an update of the test. MAC was version was updated, but not the default test-expected, nor EFL. GTK produces the same result as MAC, and other ports skip the test. Therefore, it seems that the MAC version could be used as the default version and dedicated versions could be removed.
Comment 1 Romain Bellessort 2016-06-16 08:54:34 PDT
Created attachment 281460 [details]
Patch
Comment 2 WebKit Commit Bot 2016-06-17 04:46:14 PDT
Comment on attachment 281460 [details]
Patch

Clearing flags on attachment: 281460

Committed r202164: <http://trac.webkit.org/changeset/202164>
Comment 3 WebKit Commit Bot 2016-06-17 04:46:18 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Eric Carlson 2016-06-17 07:20:11 PDT
Comment on attachment 281460 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=281460&action=review

> LayoutTests/fullscreen/video-controls-override-expected.txt:11
> -EXPECTED (document.defaultView.getComputedStyle(panel)['display'] == 'none') OK
> +EXPECTED (document.defaultView.getComputedStyle(panel)['display'] == 'none'), OBSERVED '' FAIL

This isn't right, the test results shouldn't have a failure.

If the test is incorrect the test should be fixed. If the observed behavior is incorrect, that should be fixed.
Comment 5 Carlos Garcia Campos 2016-06-17 08:22:04 PDT
(In reply to comment #4)
> Comment on attachment 281460 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=281460&action=review
> 
> > LayoutTests/fullscreen/video-controls-override-expected.txt:11
> > -EXPECTED (document.defaultView.getComputedStyle(panel)['display'] == 'none') OK
> > +EXPECTED (document.defaultView.getComputedStyle(panel)['display'] == 'none'), OBSERVED '' FAIL
> 
> This isn't right, the test results shouldn't have a failure.
> 
> If the test is incorrect the test should be fixed. If the observed behavior
> is incorrect, that should be fixed.

oops, sorry, I missed that, I assumed that the current result was ok and just copied