Bug 206639 - [GTK][WPE] http/tests/contentextensions/block-cookies-basic.html is flaky
Summary: [GTK][WPE] http/tests/contentextensions/block-cookies-basic.html is flaky
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-22 19:46 PST by Lauro Moura
Modified: 2020-03-16 12:36 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lauro Moura 2020-01-22 19:46:20 PST
Started flakiness between r249708 and r249813

Sample diff:

@@ -1,4 +1,4 @@
 This image resource sets a cookie. But based on the content rules, setting cookie should be blocked.
-document.cookie should be empty, and its value is ''
+document.cookie should be empty, and its value is 'cookieSetAsFirstParty=1'
Comment 1 Lauro Moura 2020-01-23 18:00:29 PST
The same happens to /http/tests/contentextensions/block-cookies-send.html starking flakiness in the same range.

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/contentextensions/block-cookies-send-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/contentextensions/block-cookies-send-actual.txt
@@ -1,6 +1,6 @@
 This test loads a resource that sets a cookie, then verifies that the cookie is not sent out when it should be blocked.
-After the image, document.cookie is 'foo=awesomevalue'
-After the iframe, document.cookie is 'foo=awesomevalue'
+After the image, document.cookie is 'cookieSetAsFirstParty=1; foo=awesomevalue'
+After the iframe, document.cookie is 'cookieSetAsFirstParty=1; foo=awesomevalue'
Comment 2 Lauro Moura 2020-03-16 12:36:33 PDT
The same is happening to WPE.

Both tests started flakiness in r249622.

[r249607-r249616]             NOERROR
[r249620-r249621]             NOERROR
r249622                       TEXT (Expected: PASS)
r249624                       NOERROR