Skip to content

Commit

Permalink
[Topics] Refactor header to be easier to read and parse
Browse files Browse the repository at this point in the history
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"

As discussed in patcg-individual-drafts/topics#183

Bug: 1443540
Change-Id: I3ea40df9f8732f5eff953110f22f4da2163480fb
  • Loading branch information
Josh Karlin authored and chromium-wpt-export-bot committed May 31, 2023
1 parent ceb8a99 commit 50a141d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browsing-topics/resources/header-util.sub.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const EMPTY_TOPICS_HEADER = 't=(), p=P000000000000000000000000000';
const EMPTY_TOPICS_HEADER = '();p=P00000000000000000000000000000';

function test_topics_iframe_navigation_header(
test, has_browsing_topics_attribute, is_same_origin, expect_topics_header_available_func) {
Expand Down

0 comments on commit 50a141d

Please sign in to comment.