Closed Bug 1836155 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 40332 - [Topics] Refactor header to be easier to read and parse

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox116 fixed)

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 40332 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/40332
Details from upstream follow.

Josh Karlin <jkarlin@chromium.org> wrote:

[Topics] Refactor header to be easier to read and parse

Changed the format of the topics request header from:
"t=(1;v=chrome.1:1:2, 2), p=P00000" to
"(1 2);v=chrome.1:1:2, ()p=P00000"

Bug: 1443540
Change-Id: I3ea40df9f8732f5eff953110f22f4da2163480fb
Reviewed-on: https://chromium-review.googlesource.com/4576009
WPT-Export-Revision: 2a1a168886140989615887cea8488293e89014df

PR 40332 applied with additional changes from upstream: 4c27189ed2db4ddad8e727d4ea9ae8329c3e1672

CI Results

Ran 5 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 7 tests and 1 subtests

Status Summary

Firefox

OK : 3
PASS : 10
FAIL : 12
TIMEOUT: 10
ERROR : 1

Chrome

OK : 3
PASS : 10
FAIL : 12
TIMEOUT: 10
ERROR : 1

Safari

OK : 3
PASS : 10
FAIL : 12
TIMEOUT: 10
ERROR : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /browsing-topics/browsing-topics-permissions-policy-default.tentative.https.sub.html [wpt.fyi]: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • Default permissions policy allows document.browsingTopics() in the current page.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Default permissions policy allows document.browsingTopics() in same-origin iframes.: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • Default permissions policy allows document.browsingTopics() in cross-origin iframes.: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • Default permissions policyallows the 'Sec-Browsing-Topics' header to be sent for the same-origin topics fetch request.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Default permissions policyallows the 'Sec-Browsing-Topics' header to be sent for the cross-origin topics fetch request.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Default permissions policy allows the 'Sec-Browsing-Topics' header to be sent for the same-origin iframe navigation request.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Default permissions policy allows the 'Sec-Browsing-Topics' header to be sent for the cross-origin iframe navigation request.: FAIL (Chrome: FAIL, Safari: FAIL)
  • /browsing-topics/browsing-topics-permissions-policy-none.tentative.https.sub.html [wpt.fyi]: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • permissions policy header browsing-topics=() disallows document.browsingTopics() in the current page.: FAIL (Chrome: FAIL, Safari: FAIL)
    • permissions policy header browsing-topics=() disallows document.browsingTopics() in same-origin iframes.: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • permissions policy header browsing-topics=() disallows document.browsingTopics() in cross-origin iframes.: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
  • /browsing-topics/browsing-topics-permissions-policy-self.tentative.https.sub.html [wpt.fyi]: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • permissions policy header browsing-topics=(self) allows document.browsingTopics() in the current page.: FAIL (Chrome: FAIL, Safari: FAIL)
    • permissions policy header browsing-topics=(self) allows document.browsingTopics() in same-origin iframes.: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • permissions policy header browsing-topics=(self) disallows document.browsingTopics() in cross-origin iframes.: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • permissions policy header browsing-topics=(self)allows the 'Sec-Browsing-Topics' header to be sent for the same-origin topics fetch request.: FAIL (Chrome: FAIL, Safari: FAIL)
    • permissions policy header browsing-topics=(self)allows the 'Sec-Browsing-Topics' header to be sent for the redirect of a topics fetch request, where the redirect has a same-origin URL.: FAIL (Chrome: FAIL, Safari: FAIL)
    • permissions policy header browsing-topics=(self) allows the 'Sec-Browsing-Topics' header to be sent for the same-origin iframe navigation request.: FAIL (Chrome: FAIL, Safari: FAIL)
  • /browsing-topics/fetch-topics.tentative.https.html [wpt.fyi]
    • test fetch(<url>, {browsingTopics: true}): FAIL (Chrome: FAIL, Safari: FAIL)
  • /browsing-topics/iframe-topics-attribute.tentative.https.html [wpt.fyi]
    • test <iframe browsingtopics src=[url]></iframe>: FAIL (Chrome: FAIL, Safari: FAIL)
  • /browsing-topics/xhr-topics.tentative.https.html [wpt.fyi]: ERROR (Chrome: ERROR, Safari: ERROR)
    • test XHR that sets the deprecatedBrowsingTopics attribtue: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/540daebf60a1 [wpt PR 40332] - [Topics] Refactor header to be easier to read and parse, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.