[Dynamic FPI] ERROR dom/security/test/csp/test_service_worker.html - called finish() multiple times
Categories
(Core :: Privacy: Anti-Tracking, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: xeonchen, Assigned: xeonchen)
References
Details
Attachments
(1 file)
finish('blocked')
is called twice at https://searchfox.org/mozilla-central/rev/158bac3df3a1890da55bdb6ffdaf9a7ffc0bfb0a/dom/security/test/csp/file_service_worker.html#13,16 when dFPI is enabled by default.
Failure task: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=299273302&repo=try&lineNumber=2351
Assignee | ||
Comment 1•4 years ago
|
||
The finish
function is called twice because besides [0] is called in both network.cookie.cookieBehavior
is 4 or 5 cases, [1] is also called when network.cookie.cookieBehavior=5
.
In the latter case, it is called because storageAllowed
is not allow and rejected reason is STATE_COOKIES_PARTITIONED_FOREIGN
.
Chritoph, do you think we can simply ignore the second finish
call at [2]?
[0] https://searchfox.org/mozilla-central/rev/2bfe3415fb3a2fba9b1c694bc0b376365e086927/dom/serviceworkers/ServiceWorkerContainer.cpp#346
[1] https://searchfox.org/mozilla-central/rev/2bfe3415fb3a2fba9b1c694bc0b376365e086927/dom/serviceworkers/ServiceWorkerContainer.cpp#644
[2] https://searchfox.org/mozilla-central/rev/2bfe3415fb3a2fba9b1c694bc0b376365e086927/dom/security/test/csp/file_service_worker.html#8-10
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Comment 3•4 years ago
|
||
(In reply to Gary Chen [:xeonchen] from comment #1)
Chritoph, do you think we can simply ignore the second
finish
call at [2]?
If there is anything we could observe in that second (or also first case) then that would obviously be better for the stability of the test. If that's not possible then please add a comment explaining the change in detail. thanks!
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Pushed by xeonchen@gmail.com: https://hg.mozilla.org/integration/autoland/rev/609ba00edf3c update testing results for network.cookie.cookieBehavior; r=ckerschb
Comment 5•4 years ago
|
||
bugherder |
Description
•