@whotracksme/reporting 8.0.2 โ†’ 9.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,34 @@
1
+ # v9.0.1 (Wed Apr 29 2026)
2
+
3
+ #### ๐Ÿ› Bug Fix
4
+
5
+ - Update request reporting protocol version [#205](https://github.com/whotracksme/webextension-packages/pull/205) ([@chrmod](https://github.com/chrmod))
6
+
7
+ #### Authors: 1
8
+
9
+ - Krzysztof Modras ([@chrmod](https://github.com/chrmod))
10
+
11
+ ---
12
+
13
+ # v9.0.0 (Tue Apr 28 2026)
14
+
15
+ #### ๐Ÿ’ฅ Breaking Change
16
+
17
+ - Request reporter: documentId based attribution [#197](https://github.com/whotracksme/webextension-packages/pull/197) ([@chrmod](https://github.com/chrmod))
18
+
19
+ #### ๐Ÿ› Bug Fix
20
+
21
+ - Cover another unicode edge case [#201](https://github.com/whotracksme/webextension-packages/pull/201) ([@philipp-classen](https://github.com/philipp-classen))
22
+ - Handle another rate situation where we could end with broken text: [#201](https://github.com/whotracksme/webextension-packages/pull/201) ([@philipp-classen](https://github.com/philipp-classen))
23
+ - Better support for unicode characters. The current fix is not exhaustive, [#201](https://github.com/whotracksme/webextension-packages/pull/201) ([@philipp-classen](https://github.com/philipp-classen))
24
+
25
+ #### Authors: 2
26
+
27
+ - Krzysztof Modras ([@chrmod](https://github.com/chrmod))
28
+ - Philipp ClaรŸen ([@philipp-classen](https://github.com/philipp-classen))
29
+
30
+ ---
31
+
1
32
  # v8.0.2 (Mon Apr 27 2026)
2
33
 
3
34
  #### ๐Ÿ› Bug Fix
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whotracksme/reporting",
3
- "version": "8.0.2",
3
+ "version": "9.0.1",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "scripts": {
@@ -24,18 +24,17 @@ present locally โ€” the repository tracks them once pulled. See
24
24
 
25
25
  Scenarios actively used by `reporting/test/request/index.test.js`:
26
26
 
27
- | Release | Scenario | What it covers |
28
- | ---------------- | ----------------- | ------------------------------------------------------------------ |
29
- | `2026-04-23` | `0001-empty-page` | Plain page load with no third-party resources โ€” `requestStats` must stay empty. |
30
- | `2026-04-23` | `0002-3rd-party` | Page with a single third-party script; verifies detection + the `wtm.attrack.tp_events` report shape. |
31
- | `2026-04-23` | `0004-ping` | Navigator `sendBeacon`/ping endpoints (non-XHR background request). |
32
- | `2026-04-23` | `0005-preload` | `<link rel=preload>` triggers the tracker path through a different webRequest ordering. |
33
- | `2026-04-23` | `0008-navigation` | Two successive navigations on the same tab; each page's trackers must be reported to the right page hostname. |
34
-
35
- The `2026-04-23` release also ships Chromium recordings for scenarios
36
- not yet wired into the test suite: `0003-prefetch`, `0006-preconnect`,
37
- `0007-prerender`, `0009-beacon` โ€” useful targets for exercising the
38
- document-centric attribution paths.
27
+ | Release | Scenario | What it covers |
28
+ | ---------------- | ------------------ | ------------------------------------------------------------------ |
29
+ | `2026-04-23` | `0001-empty-page` | Plain page load with no third-party resources โ€” `requestStats` must stay empty. |
30
+ | `2026-04-23` | `0002-3rd-party` | Page with a single third-party script; verifies detection + the `wtm.attrack.tp_events` report shape. |
31
+ | `2026-04-23` | `0003-prefetch` | `<link rel=prefetch>` to a cross-subdomain URL; the prefetched third party must appear in `tp_events`. |
32
+ | `2026-04-23` | `0004-ping` | Navigator `sendBeacon`/ping endpoints (non-XHR background request). |
33
+ | `2026-04-23` | `0005-preload` | `<link rel=preload>` triggers the tracker path through a different webRequest ordering. |
34
+ | `2026-04-23` | `0006-preconnect` | `<link rel=preconnect>` opens a socket but fires no webRequest โ€” `requestStats` must stay empty. |
35
+ | `2026-04-23` | `0007-prerender` | Prerendered document on a separate tab must not leak third parties into the visible page. |
36
+ | `2026-04-23` | `0008-navigation` | Two successive navigations on the same tab; each page's trackers must be reported to the right page hostname. |
37
+ | `2026-04-23` | `0009-beacon` | Click + `pagehide` beacons fired from the source document during a tab navigation must attribute to that document, not the successor. |
39
38
 
40
39
  Earlier releases (`2024-08-02`, `2024-08-02-1`, `2024-08-02-2`,
41
40
  `2024-09-27`, `2024-09-30`) remain available via the on-demand
@@ -54,11 +53,8 @@ Approximate content (by inspection of `tps` keys):
54
53
  | Snapshot | Site | Notes |
55
54
  | -------- | ------------- | -------------------------------------------------------------- |
56
55
  | `0001` | onet.pl | Polish news portal, ~160 third-party domains. |
57
- | `0002` | onet.pl | Shorter session, ~94 third parties. |
58
56
  | `0003` | soundcloud.com| Stream playback, CDN + Statsig + OneTrust. |
59
- | `0004` | soundcloud.com| Smaller session. |
60
57
  | `0005` | nike.com | E-commerce, bluecore + doubleclick + bing. |
61
- | `0006` | nike.com | Variant session. |
62
58
 
63
59
  The snapshot test replays each events stream twice โ€” the second time with
64
60
  URL rewrites (`onet.plโ†’wp.pl`, `soundcloud.comโ†’google.com`,
@@ -5,18 +5,18 @@
5
5
  "ctry": "en",
6
6
  "data": [
7
7
  {
8
- "active": 0,
8
+ "active": 479940,
9
9
  "c": 1,
10
10
  "counter": 0,
11
11
  "frames": {},
12
12
  "hostname": "ed84bc069c79dc56",
13
- "path": "57deab21eef4d8cb",
13
+ "path": "6666cd76f9695646",
14
14
  "placeHolder": false,
15
15
  "ra": 0,
16
16
  "redirects": [],
17
17
  "redirectsPlaceHolder": [],
18
18
  "scheme": "https",
19
- "t": -1729760326457,
19
+ "t": 479940,
20
20
  "tps": {
21
21
  "717de196af402b1a6e14814863cd92bb.safeframe.googlesyndication.com": {
22
22
  "c": 2,
@@ -566,6 +566,7 @@
566
566
  "euw1.smartadserver.com": {
567
567
  "c": 1,
568
568
  "has_qs": 1,
569
+ "referer_leak_path": 1,
569
570
  "referer_leak_site": 1,
570
571
  "scheme_https": 1,
571
572
  "type_3": 1
@@ -590,7 +591,7 @@
590
591
  "content_length": 112,
591
592
  "has_post": 5,
592
593
  "has_qs": 15,
593
- "referer_leak_path": 12,
594
+ "referer_leak_path": 13,
594
595
  "referer_leak_site": 13,
595
596
  "resp_ob": 20,
596
597
  "scheme_https": 21,
@@ -790,12 +791,13 @@
790
791
  "type_3": 1
791
792
  },
792
793
  "ingestion.contentinsights.com": {
793
- "c": 1,
794
+ "c": 2,
794
795
  "content_length": 1,
795
- "has_qs": 1,
796
+ "has_qs": 2,
796
797
  "resp_ob": 1,
797
- "scheme_https": 1,
798
+ "scheme_https": 2,
798
799
  "status_204": 1,
800
+ "type_10": 1,
799
801
  "type_3": 1
800
802
  },
801
803
  "ingestion.smartocto.com": {
@@ -902,6 +904,13 @@
902
904
  "status_200": 1,
903
905
  "type_3": 1
904
906
  },
907
+ "nl3.eu.criteo.net": {
908
+ "c": 1,
909
+ "has_post": 1,
910
+ "has_qs": 1,
911
+ "scheme_https": 1,
912
+ "type_10": 1
913
+ },
905
914
  "ocdn.eu": {
906
915
  "c": 45,
907
916
  "content_length": 715421,
@@ -920,7 +929,7 @@
920
929
  "content_length": 74608,
921
930
  "has_post": 1,
922
931
  "has_qs": 10,
923
- "referer_leak_path": 7,
932
+ "referer_leak_path": 8,
924
933
  "referer_leak_site": 8,
925
934
  "resp_ob": 15,
926
935
  "scheme_https": 15,
@@ -939,13 +948,15 @@
939
948
  "type_7": 1
940
949
  },
941
950
  "pagead2.googlesyndication.com": {
942
- "c": 17,
951
+ "c": 18,
943
952
  "content_length": 185822,
944
- "has_qs": 13,
953
+ "has_post": 1,
954
+ "has_qs": 14,
945
955
  "resp_ob": 15,
946
- "scheme_https": 17,
956
+ "scheme_https": 18,
947
957
  "status_200": 9,
948
958
  "status_204": 6,
959
+ "type_10": 1,
949
960
  "type_11": 9,
950
961
  "type_2": 5,
951
962
  "type_3": 3
@@ -1247,6 +1258,7 @@
1247
1258
  "c": 3,
1248
1259
  "content_length": 2,
1249
1260
  "has_qs": 3,
1261
+ "referer_leak_path": 1,
1250
1262
  "referer_leak_site": 1,
1251
1263
  "resp_ob": 2,
1252
1264
  "scheme_https": 3,
@@ -1572,7 +1584,7 @@
1572
1584
  "content_length": 1743961,
1573
1585
  "has_post": 12,
1574
1586
  "has_qs": 20,
1575
- "referer_leak_path": 5,
1587
+ "referer_leak_path": 7,
1576
1588
  "referer_leak_site": 7,
1577
1589
  "resp_ob": 31,
1578
1590
  "scheme_https": 36,
@@ -1615,7 +1627,7 @@
1615
1627
  ],
1616
1628
  "day": "2018-10-11",
1617
1629
  "ts": "",
1618
- "ver": "0.105"
1630
+ "ver": "0.106"
1619
1631
  },
1620
1632
  "ts": "",
1621
1633
  "type": "wtm.request",
@@ -1627,18 +1639,18 @@
1627
1639
  "ctry": "en",
1628
1640
  "data": [
1629
1641
  {
1630
- "active": 0,
1642
+ "active": 479940,
1631
1643
  "c": 1,
1632
1644
  "counter": 11,
1633
1645
  "frames": {},
1634
1646
  "hostname": "cf28373a52818d8a",
1635
- "path": "57deab21eef4d8cb",
1647
+ "path": "6666cd76f9695646",
1636
1648
  "placeHolder": false,
1637
1649
  "ra": 0,
1638
1650
  "redirects": [],
1639
1651
  "redirectsPlaceHolder": [],
1640
1652
  "scheme": "https",
1641
- "t": -1729760326457,
1653
+ "t": 479940,
1642
1654
  "tps": {
1643
1655
  "717de196af402b1a6e14814863cd92bb.safeframe.googlesyndication.com": {
1644
1656
  "c": 2,
@@ -2194,6 +2206,7 @@
2194
2206
  "euw1.smartadserver.com": {
2195
2207
  "c": 1,
2196
2208
  "has_qs": 1,
2209
+ "referer_leak_path": 1,
2197
2210
  "referer_leak_site": 1,
2198
2211
  "scheme_https": 1,
2199
2212
  "type_3": 1
@@ -2218,7 +2231,7 @@
2218
2231
  "content_length": 112,
2219
2232
  "has_post": 5,
2220
2233
  "has_qs": 15,
2221
- "referer_leak_path": 12,
2234
+ "referer_leak_path": 13,
2222
2235
  "referer_leak_site": 13,
2223
2236
  "resp_ob": 20,
2224
2237
  "scheme_https": 21,
@@ -2421,12 +2434,13 @@
2421
2434
  "type_3": 1
2422
2435
  },
2423
2436
  "ingestion.contentinsights.com": {
2424
- "c": 1,
2437
+ "c": 2,
2425
2438
  "content_length": 1,
2426
- "has_qs": 1,
2439
+ "has_qs": 2,
2427
2440
  "resp_ob": 1,
2428
- "scheme_https": 1,
2441
+ "scheme_https": 2,
2429
2442
  "status_204": 1,
2443
+ "type_10": 1,
2430
2444
  "type_3": 1
2431
2445
  },
2432
2446
  "ingestion.smartocto.com": {
@@ -2531,6 +2545,13 @@
2531
2545
  "status_200": 1,
2532
2546
  "type_3": 1
2533
2547
  },
2548
+ "nl3.eu.criteo.net": {
2549
+ "c": 1,
2550
+ "has_post": 1,
2551
+ "has_qs": 1,
2552
+ "scheme_https": 1,
2553
+ "type_10": 1
2554
+ },
2534
2555
  "ocdn.eu": {
2535
2556
  "c": 45,
2536
2557
  "content_length": 715421,
@@ -2549,7 +2570,7 @@
2549
2570
  "content_length": 74608,
2550
2571
  "has_post": 1,
2551
2572
  "has_qs": 10,
2552
- "referer_leak_path": 7,
2573
+ "referer_leak_path": 8,
2553
2574
  "referer_leak_site": 8,
2554
2575
  "resp_ob": 15,
2555
2576
  "scheme_https": 15,
@@ -2568,13 +2589,15 @@
2568
2589
  "type_7": 1
2569
2590
  },
2570
2591
  "pagead2.googlesyndication.com": {
2571
- "c": 17,
2592
+ "c": 18,
2572
2593
  "content_length": 185822,
2573
- "has_qs": 13,
2594
+ "has_post": 1,
2595
+ "has_qs": 14,
2574
2596
  "resp_ob": 15,
2575
- "scheme_https": 17,
2597
+ "scheme_https": 18,
2576
2598
  "status_200": 9,
2577
2599
  "status_204": 6,
2600
+ "type_10": 1,
2578
2601
  "type_11": 9,
2579
2602
  "type_2": 5,
2580
2603
  "type_3": 3
@@ -2878,6 +2901,7 @@
2878
2901
  "c": 3,
2879
2902
  "content_length": 2,
2880
2903
  "has_qs": 3,
2904
+ "referer_leak_path": 1,
2881
2905
  "referer_leak_site": 1,
2882
2906
  "resp_ob": 2,
2883
2907
  "scheme_https": 3,
@@ -3204,7 +3228,7 @@
3204
3228
  "content_length": 1743961,
3205
3229
  "has_post": 12,
3206
3230
  "has_qs": 20,
3207
- "referer_leak_path": 5,
3231
+ "referer_leak_path": 7,
3208
3232
  "referer_leak_site": 7,
3209
3233
  "resp_ob": 31,
3210
3234
  "scheme_https": 36,
@@ -3247,7 +3271,7 @@
3247
3271
  ],
3248
3272
  "day": "2018-10-11",
3249
3273
  "ts": "",
3250
- "ver": "0.105"
3274
+ "ver": "0.106"
3251
3275
  },
3252
3276
  "ts": "",
3253
3277
  "type": "wtm.request",
@@ -3268,7 +3292,7 @@
3268
3292
  ],
3269
3293
  "day": "2018-10-11",
3270
3294
  "ts": "",
3271
- "ver": "0.105"
3295
+ "ver": "0.106"
3272
3296
  },
3273
3297
  "ts": "",
3274
3298
  "type": "wtm.request",
@@ -3458,7 +3482,7 @@
3458
3482
  ],
3459
3483
  "day": "2018-10-11",
3460
3484
  "ts": "",
3461
- "ver": "0.105"
3485
+ "ver": "0.106"
3462
3486
  },
3463
3487
  "ts": "",
3464
3488
  "type": "wtm.request",
@@ -3648,7 +3672,7 @@
3648
3672
  ],
3649
3673
  "day": "2018-10-11",
3650
3674
  "ts": "",
3651
- "ver": "0.105"
3675
+ "ver": "0.106"
3652
3676
  },
3653
3677
  "ts": "",
3654
3678
  "type": "wtm.request",
@@ -3674,7 +3698,7 @@
3674
3698
  ],
3675
3699
  "day": "2018-10-11",
3676
3700
  "ts": "",
3677
- "ver": "0.105"
3701
+ "ver": "0.106"
3678
3702
  },
3679
3703
  "ts": "",
3680
3704
  "type": "wtm.request",
@@ -3700,7 +3724,7 @@
3700
3724
  ],
3701
3725
  "day": "2018-10-11",
3702
3726
  "ts": "",
3703
- "ver": "0.105"
3727
+ "ver": "0.106"
3704
3728
  },
3705
3729
  "ts": "",
3706
3730
  "type": "wtm.request",
@@ -3726,7 +3750,7 @@
3726
3750
  ],
3727
3751
  "day": "2018-10-11",
3728
3752
  "ts": "",
3729
- "ver": "0.105"
3753
+ "ver": "0.106"
3730
3754
  },
3731
3755
  "ts": "",
3732
3756
  "type": "wtm.request",
@@ -3752,7 +3776,7 @@
3752
3776
  ],
3753
3777
  "day": "2018-10-11",
3754
3778
  "ts": "",
3755
- "ver": "0.105"
3779
+ "ver": "0.106"
3756
3780
  },
3757
3781
  "ts": "",
3758
3782
  "type": "wtm.request",
@@ -3778,7 +3802,7 @@
3778
3802
  ],
3779
3803
  "day": "2018-10-11",
3780
3804
  "ts": "",
3781
- "ver": "0.105"
3805
+ "ver": "0.106"
3782
3806
  },
3783
3807
  "ts": "",
3784
3808
  "type": "wtm.request",
@@ -3804,7 +3828,7 @@
3804
3828
  ],
3805
3829
  "day": "2018-10-11",
3806
3830
  "ts": "",
3807
- "ver": "0.105"
3831
+ "ver": "0.106"
3808
3832
  },
3809
3833
  "ts": "",
3810
3834
  "type": "wtm.request",
@@ -3830,7 +3854,7 @@
3830
3854
  ],
3831
3855
  "day": "2018-10-11",
3832
3856
  "ts": "",
3833
- "ver": "0.105"
3857
+ "ver": "0.106"
3834
3858
  },
3835
3859
  "ts": "",
3836
3860
  "type": "wtm.request",
@@ -3856,7 +3880,7 @@
3856
3880
  ],
3857
3881
  "day": "2018-10-11",
3858
3882
  "ts": "",
3859
- "ver": "0.105"
3883
+ "ver": "0.106"
3860
3884
  },
3861
3885
  "ts": "",
3862
3886
  "type": "wtm.request",
@@ -5,18 +5,18 @@
5
5
  "ctry": "en",
6
6
  "data": [
7
7
  {
8
- "active": 0,
8
+ "active": 479940,
9
9
  "c": 1,
10
10
  "counter": 0,
11
11
  "frames": {},
12
12
  "hostname": "9aba68162365e081",
13
- "path": "c276371b0ce2bacd",
13
+ "path": "6666cd76f9695646",
14
14
  "placeHolder": false,
15
15
  "ra": 0,
16
16
  "redirects": [],
17
17
  "redirectsPlaceHolder": [],
18
18
  "scheme": "https",
19
- "t": -1730735620824,
19
+ "t": 479940,
20
20
  "tps": {
21
21
  "a-v2.sndcdn.com": {
22
22
  "c": 35,
@@ -99,14 +99,14 @@
99
99
  "type_3": 298
100
100
  },
101
101
  "ingest.us.sentry.io": {
102
- "c": 1,
103
- "content_length": 2,
104
- "has_post": 1,
105
- "has_qs": 1,
106
- "resp_ob": 1,
107
- "scheme_https": 1,
108
- "status_200": 1,
109
- "type_11": 1
102
+ "c": 2,
103
+ "content_length": 4,
104
+ "has_post": 2,
105
+ "has_qs": 2,
106
+ "resp_ob": 2,
107
+ "scheme_https": 2,
108
+ "status_200": 2,
109
+ "type_11": 2
110
110
  },
111
111
  "js-agent.newrelic.com": {
112
112
  "c": 2,
@@ -192,7 +192,7 @@
192
192
  ],
193
193
  "day": "2018-10-11",
194
194
  "ts": "",
195
- "ver": "0.105"
195
+ "ver": "0.106"
196
196
  },
197
197
  "ts": "",
198
198
  "type": "wtm.request",
@@ -204,18 +204,18 @@
204
204
  "ctry": "en",
205
205
  "data": [
206
206
  {
207
- "active": 0,
207
+ "active": 479940,
208
208
  "c": 1,
209
209
  "counter": 0,
210
210
  "frames": {},
211
211
  "hostname": "1d5920f4b44b27a8",
212
- "path": "c276371b0ce2bacd",
212
+ "path": "6666cd76f9695646",
213
213
  "placeHolder": false,
214
214
  "ra": 0,
215
215
  "redirects": [],
216
216
  "redirectsPlaceHolder": [],
217
217
  "scheme": "https",
218
- "t": -1730735620824,
218
+ "t": 479940,
219
219
  "tps": {
220
220
  "a-v2.sndcdn.com": {
221
221
  "c": 35,
@@ -301,14 +301,14 @@
301
301
  "type_3": 298
302
302
  },
303
303
  "ingest.us.sentry.io": {
304
- "c": 1,
305
- "content_length": 2,
306
- "has_post": 1,
307
- "has_qs": 1,
308
- "resp_ob": 1,
309
- "scheme_https": 1,
310
- "status_200": 1,
311
- "type_11": 1
304
+ "c": 2,
305
+ "content_length": 4,
306
+ "has_post": 2,
307
+ "has_qs": 2,
308
+ "resp_ob": 2,
309
+ "scheme_https": 2,
310
+ "status_200": 2,
311
+ "type_11": 2
312
312
  },
313
313
  "js-agent.newrelic.com": {
314
314
  "c": 2,
@@ -394,7 +394,7 @@
394
394
  ],
395
395
  "day": "2018-10-11",
396
396
  "ts": "",
397
- "ver": "0.105"
397
+ "ver": "0.106"
398
398
  },
399
399
  "ts": "",
400
400
  "type": "wtm.request",
@@ -415,7 +415,7 @@
415
415
  ],
416
416
  "day": "2018-10-11",
417
417
  "ts": "",
418
- "ver": "0.105"
418
+ "ver": "0.106"
419
419
  },
420
420
  "ts": "",
421
421
  "type": "wtm.request",
@@ -605,7 +605,7 @@
605
605
  ],
606
606
  "day": "2018-10-11",
607
607
  "ts": "",
608
- "ver": "0.105"
608
+ "ver": "0.106"
609
609
  },
610
610
  "ts": "",
611
611
  "type": "wtm.request",
@@ -795,7 +795,7 @@
795
795
  ],
796
796
  "day": "2018-10-11",
797
797
  "ts": "",
798
- "ver": "0.105"
798
+ "ver": "0.106"
799
799
  },
800
800
  "ts": "",
801
801
  "type": "wtm.request",