Closed Bug 1778136 Opened 3 years ago Closed 3 years ago

Perma TEST-UNEXPECTED-PASS | /cookies/<random_test> | <random_test> expected FAIL when Gecko 104 merges to Beta on 2022-07-25

Categories

(Core :: Networking: Cookies, defect)

defect

Tracking

()

VERIFIED FIXED
104 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- unaffected
firefox102 --- unaffected
firefox103 --- unaffected
firefox104 + verified

People

(Reporter: imoraru, Assigned: tschuster)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

[Tracking Requested - why for this release]:

Central-as-late-beta simulation.
How to run these simulations.

Failure log for TEST-UNEXPECTED-PASS | /cookies/attributes/attributes-ctl.sub.html | Cookie with %x0 in SameSite attribute value is handled correctly. - expected FAIL:
Failure log for TEST-UNEXPECTED-PASS | /cookies/schemeful-same-site/schemeful-navigation.tentative.html | Navigate cross-scheme - expected FAIL:

[task 2022-07-05T12:41:42.921Z] 12:41:42     INFO - TEST-START | /content-security-policy/wasm-unsafe-eval/script-src-wasm-unsafe-eval-allows-wasm.any.sharedworker.html
[task 2022-07-05T12:41:42.930Z] 12:41:42     INFO - Closing window 5f395b41-c59b-49ab-84a1-09cdbf7859af
[task 2022-07-05T12:41:42.965Z] 12:41:42     INFO - PID 3592 | [Child 3937, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-07-05T12:41:42.997Z] 12:41:42     INFO - PID 3957 | 1657024902995	Marionette	WARN	Ignoring event 'DOMContentLoaded' because document has an invalid readyState of 'complete'.
[task 2022-07-05T12:41:43.028Z] 12:41:43     INFO - PID 3592 | [Parent 3592, Compositor] WARNING: IPC Connection Error: [Parent][PImageBridgeParent] RunMessage(msgname=PImageBridge::Msg_WillClose) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1876
[task 2022-07-05T12:41:43.028Z] 12:41:43     INFO - PID 3592 | [Child 3937, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/events/DOMEventTargetHelper.cpp:306
[task 2022-07-05T12:41:43.186Z] 12:41:43     INFO - PID 3957 | [Child 4133, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-07-05T12:41:43.259Z] 12:41:43     INFO - PID 3957 | [Child 4133, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-07-05T12:41:43.305Z] 12:41:43     INFO - PID 3592 | [Child 3694, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-07-05T12:41:43.321Z] 12:41:43     INFO - PID 3957 | [Parent 3957, Main Thread] WARNING: WebProgress Ignored: BrowsingContext is null or discarded: file /builds/worker/checkouts/gecko/dom/ipc/BrowserParent.cpp:3103
[task 2022-07-05T12:41:43.540Z] 12:41:43     INFO - PID 3592 | [Child 3937, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2022-07-05T12:41:43.544Z] 12:41:43     INFO - PID 3592 | [Child 3937, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2022-07-05T12:41:43.588Z] 12:41:43     INFO - PID 3592 | [Child 3937, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4595
[task 2022-07-05T12:41:43.635Z] 12:41:43     INFO - PID 3957 | 1657024903634	Marionette	WARN	Ignoring event 'DOMContentLoaded' because document has an invalid readyState of 'complete'.
[task 2022-07-05T12:41:43.840Z] 12:41:43     INFO - PID 3957 | [Child 4133, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-07-05T12:41:43.867Z] 12:41:43     INFO - PID 3957 | [Parent 3957, Main Thread] WARNING: WebProgress Ignored: BrowsingContext is null or discarded: file /builds/worker/checkouts/gecko/dom/ipc/BrowserParent.cpp:3103
[task 2022-07-05T12:41:43.871Z] 12:41:43     INFO - .
[task 2022-07-05T12:41:43.871Z] 12:41:43     INFO - TEST-OK | /content-security-policy/wasm-unsafe-eval/script-src-wasm-unsafe-eval-allows-wasm.any.sharedworker.html | took 949ms
[task 2022-07-05T12:41:43.872Z] 12:41:43     INFO - Restarting browser for new test group
[task 2022-07-05T12:41:43.873Z] 12:41:43     INFO - PID 3592 | 1657024903871	Marionette	INFO	Stopped listening on port 51642
[task 2022-07-05T12:41:43.929Z] 12:41:43     INFO - 
[task 2022-07-05T12:41:43.930Z] 12:41:43     INFO - TEST-PASS | /cookies/schemeful-same-site/schemeful-navigation.tentative.html | Navigate same-scheme 
[task 2022-07-05T12:41:43.930Z] 12:41:43     INFO - TEST-UNEXPECTED-PASS | /cookies/schemeful-same-site/schemeful-navigation.tentative.html | Navigate cross-scheme - expected FAIL
[task 2022-07-05T12:41:43.930Z] 12:41:43     INFO - TEST-INFO | expected FAIL
[task 2022-07-05T12:41:43.931Z] 12:41:43     INFO - TEST-OK | /cookies/schemeful-same-site/schemeful-navigation.tentative.html | took 1656ms
[task 2022-07-05T12:41:43.933Z] 12:41:43     INFO - PID 3957 | 1657024903932	Marionette	INFO	Stopped listening on port 37968
[task 2022-07-05T12:41:43.948Z] 12:41:43     INFO - PID 3592 | [Child 3670, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
<...>
[task 2022-07-05T12:41:48.105Z] 12:41:48     INFO - PID 4324 | [Child 4491, Main Thread] WARNING: Fallback to BasicLayerManager: file /builds/worker/checkouts/gecko/dom/ipc/BrowserChild.cpp:2816
[task 2022-07-05T12:41:48.177Z] 12:41:48     INFO - PID 4324 | [2022-07-05T12:41:48Z WARN  webrender::renderer] asking to enable_gpu_markers but no supporting extension was found
[task 2022-07-05T12:41:48.201Z] 12:41:48     INFO - PID 4324 | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpss7co85_/runtests_leaks_1195_tab_pid4527.log
[task 2022-07-05T12:41:48.232Z] 12:41:48     INFO - PID 4324 | [Child 4527, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:707
[task 2022-07-05T12:41:49.478Z] 12:41:49     INFO - PID 4293 | console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /tmp/tmpsfq4f9qp/search.json.mozlz4", (void 0)))
[task 2022-07-05T12:41:49.632Z] 12:41:49     INFO - PID 4293 | [Parent 4293, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1234
[task 2022-07-05T12:41:49.674Z] 12:41:49     INFO - PID 4324 | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpss7co85_/runtests_leaks_1195_tab_pid4568.log
[task 2022-07-05T12:41:49.711Z] 12:41:49     INFO - PID 4324 | [Child 4568, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:707
[task 2022-07-05T12:41:49.768Z] 12:41:49     INFO - PID 4293 | [Parent 4293, Main Thread] WARNING: WebProgress Ignored: BrowsingContext is null or discarded: file /builds/worker/checkouts/gecko/dom/ipc/BrowserParent.cpp:3103
[task 2022-07-05T12:41:49.934Z] 12:41:49     INFO - PID 4324 | console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /tmp/tmpss7co85_/search.json.mozlz4", (void 0)))
[task 2022-07-05T12:41:49.968Z] 12:41:49     INFO - PID 4293 | [Child 4446, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2022-07-05T12:41:49.968Z] 12:41:49     INFO - PID 4293 | [Child 4446, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2022-07-05T12:41:50.080Z] 12:41:50     INFO - PID 4324 | [Parent 4324, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1234
[task 2022-07-05T12:41:50.156Z] 12:41:50     INFO - PID 4293 | [Child 4446, Main Thread] WARNING: Fallback to BasicLayerManager: file /builds/worker/checkouts/gecko/dom/ipc/BrowserChild.cpp:2816
[task 2022-07-05T12:41:50.458Z] 12:41:50     INFO - PID 4324 | [Child 4491, Main Thread] WARNING: Fallback to BasicLayerManager: file /builds/worker/checkouts/gecko/dom/ipc/BrowserChild.cpp:2816
[task 2022-07-05T12:41:50.875Z] 12:41:50     INFO - PID 4293 | [Parent 4293, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/dom/base/ThirdPartyUtil.cpp:421
[task 2022-07-05T12:41:50.881Z] 12:41:50     INFO - PID 4293 | [Parent 4293, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1234
[task 2022-07-05T12:41:50.904Z] 12:41:50     INFO - PID 4324 | [Child 4491, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2022-07-05T12:41:50.904Z] 12:41:50     INFO - PID 4324 | [Child 4491, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2022-07-05T12:41:50.969Z] 12:41:50     INFO - PID 4293 | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpsfq4f9qp/runtests_leaks_1195_tab_pid4605.log
[task 2022-07-05T12:41:51.012Z] 12:41:51     INFO - PID 4293 | [Child 4605, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:707
[task 2022-07-05T12:41:51.242Z] 12:41:51     INFO - PID 4324 | [Parent 4324, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/dom/base/ThirdPartyUtil.cpp:421
[task 2022-07-05T12:41:51.242Z] 12:41:51     INFO - PID 4324 | [Parent 4324, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1234
[task 2022-07-05T12:41:51.286Z] 12:41:51     INFO - PID 4293 | [2022-07-05T12:41:51Z WARN  glean_core::error_recording] search.engine.private.submission_url: "" does not start with a valid URL scheme.
[task 2022-07-05T12:41:51.599Z] 12:41:51     INFO - PID 4324 | [2022-07-05T12:41:51Z WARN  glean_core::error_recording] search.engine.private.submission_url: "" does not start with a valid URL scheme.
[task 2022-07-05T12:41:51.755Z] 12:41:51     INFO - TEST-START | /css/css-align/inheritance.html

Hi Tom! Can you please take a look at this? Could this be regressed by your recent changes in Bug 1750972?
Thank you!

Flags: needinfo?(tschuster)

Hi, thanks for the ping. This indeed changed with Bug 1750972 and we can just remove the expect fails for release.

I think this also points to cookies/attributes/attributes-ctl.sub.html being subtly broken. It expects SameSite=None\n; not to parse because of the CRLF, but we don't accept the SameSite=None value because the Secure attribute is missing and not because of a parse failure.

Flags: needinfo?(tschuster)
Assignee: nobody → tschuster

Since the noneRequiresSecure change attributes-ctl.sub.html wasn't testing the correct thing anymore.
We were rejecting the SameSite=None attribute not because of a control character, but because of a missing Secure; attribute.
This fixes the test by using SameSite=Lax.

Pushed by tschuster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7c9eb4248c18 Fix WPT test and test expectation. r=freddyb
Regressions: 1778311
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
Status: RESOLVED → VERIFIED

James looks like the sync bot didn't pick this up.

Flags: needinfo?(james)
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/34779 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Flags: needinfo?(james)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: