Closed Bug 1951466 Opened 1 year ago Closed 9 months ago

Predictive connections don't update partitionKey and are stored as unpartitioned cache entries

Categories

(Core :: Networking: Cache, defect, P2)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: manuel, Assigned: manuel)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 obsolete file)

See https://phabricator.services.mozilla.com/D239760?id=991058 and Bug 1950058 for other investigation. Splitting this part off from the other patch to land smaller of work chunks faster. This also has the potential to break other tests.

See Also: → 1950058
Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged]

Note to self: pernosco - netwerk/test/unit/test_predictor.js unexpected speculative connection
(for current test failure: FAIL test_pageload - [test_pageload : 114] Got preconnect for unexpected uri http://localhost:4444 - false == true)

Attachment #9469476 - Attachment description: Bug 1951466 - Fix partitionKey for predictive connections r=#necko → WIP: Bug 1951466 - Fix partitionKey for predictive connections r=#necko
Attachment #9469476 - Attachment description: WIP: Bug 1951466 - Fix partitionKey for predictive connections r=#necko → Bug 1951466 - Fix partitionKey for predictive connections r=#necko
See Also: → 1952861
Blocks: predictor

investigate why no preconnect is made: https://pernos.co/debug/CcIC7NyTr6zptmeSuxseFA/index.html

Pushed by mbucher@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dc1aed840c6c Fix partitionKey for predictive connections r=necko-reviewers,kershaw

Backed out for causing mochitests failures in browser/browser_sanitize.js

Please also check these mochitests failures. Failure log: https://treeherder.mozilla.org/logviewer?job_id=500207864&repo=autoland

Flags: needinfo?(manuel)

Failing tests (that need to be taken care of):

  • toolkit/components/antitracking/test/browser/browser_referrerDefaultPolicy.js: Bug 1899785, Bug 1899785

    We sent the correct Referer header - Got "", expected "http://example.net/"
    [...]

  • browser/components/originattributes/test/browser/browser_sanitize.js: Bug 1905896

    https://example.net/ should not be cached for all origin attributes.0 - Got false, expected true
    [...]

Flags: needinfo?(manuel)

Not blocking bfcache. wpt-test are passing. Still a item to be addressed.

No longer blocks: 1838506
See Also: → 1475811

There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:manuel, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(manuel)
Flags: needinfo?(kershaw)

Failing some test cases (which likely need updating). Can't land.

Flags: needinfo?(manuel)
Flags: needinfo?(kershaw)

We removed the predictor in bug 2006028.

Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → WORKSFORME
Attachment #9469476 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: