Bug 190196 - [GTK] Enable more Cache Storage and Service Workers tests
Summary: [GTK] Enable more Cache Storage and Service Workers tests
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Frédéric Wang (:fredw)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-02 06:06 PDT by Frédéric Wang (:fredw)
Modified: 2018-10-02 08:05 PDT (History)
6 users (show)

See Also:


Attachments
Patch (5.31 KB, patch)
2018-10-02 06:15 PDT, Frédéric Wang (:fredw)
no flags Details | Formatted Diff | Diff
Patch (3.36 KB, patch)
2018-10-02 06:48 PDT, Frédéric Wang (:fredw)
no flags Details | Formatted Diff | Diff
Patch (3.36 KB, patch)
2018-10-02 06:50 PDT, Frédéric Wang (:fredw)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Wang (:fredw) 2018-10-02 06:06:34 PDT
Currently most of them are skipped but we actually already pass most of them.
Comment 1 Frédéric Wang (:fredw) 2018-10-02 06:15:14 PDT
Created attachment 351379 [details]
Patch
Comment 2 Michael Catanzaro 2018-10-02 06:31:49 PDT
Comment on attachment 351379 [details]
Patch

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

> LayoutTests/platform/gtk/http/wpt/cache-storage/cache-quota.any-expected.txt:6
> +FAIL Hitting cache quota for non opaque responses assert_unreached: Reached unreachable code
> +FAIL Hitting cache quota for padded responses assert_unreached: Reached unreachable code

Yeah, I'm not really comfortable with having this in the expected results. I think this should be marked as Gailure

> LayoutTests/platform/gtk/imported/w3c/web-platform-tests/service-workers/service-worker/registration-script.https-expected.txt:3
> +FAIL Registering invalid chunked encoding script assert_unreached: Should have rejected: Registration of invalid chunked encoding script should fail. Reached unreachable code
> +FAIL Registering invalid chunked encoding script with flush assert_unreached: Should have rejected: Registration of invalid chunked encoding script should fail. Reached unreachable code

Ditto
Comment 3 Michael Catanzaro 2018-10-02 06:38:25 PDT
(In reply to Michael Catanzaro from comment #2)
> Yeah, I'm not really comfortable with having this in the expected results. I
> think this should be marked as Gailure

Um, Failure, of course.
Comment 4 youenn fablet 2018-10-02 06:46:31 PDT
(In reply to Michael Catanzaro from comment #2)
> Comment on attachment 351379 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=351379&action=review
> 
> > LayoutTests/platform/gtk/http/wpt/cache-storage/cache-quota.any-expected.txt:6
> > +FAIL Hitting cache quota for non opaque responses assert_unreached: Reached unreachable code
> > +FAIL Hitting cache quota for padded responses assert_unreached: Reached unreachable code
> 
> Yeah, I'm not really comfortable with having this in the expected results. I
> think this should be marked as Gailure

Having consistent failure is better than having some changes in the behavior without noticing it. Generally, we go with "FAIL" and tests marked as PASS.
Comment 5 Frédéric Wang (:fredw) 2018-10-02 06:48:00 PDT
Created attachment 351381 [details]
Patch
Comment 6 Frédéric Wang (:fredw) 2018-10-02 06:50:24 PDT
Created attachment 351382 [details]
Patch
Comment 7 Michael Catanzaro 2018-10-02 06:52:02 PDT
Comment on attachment 351382 [details]
Patch

I mean, I know that's your preference... but I'd rather have [ Failure ] expectations so we can track what's broken... this way the expectations function as a TODO list of things to fix.
Comment 8 WebKit Commit Bot 2018-10-02 08:05:47 PDT
Comment on attachment 351382 [details]
Patch

Clearing flags on attachment: 351382

Committed r236742: <https://trac.webkit.org/changeset/236742>
Comment 9 WebKit Commit Bot 2018-10-02 08:05:49 PDT
All reviewed patches have been landed.  Closing bug.