File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
view/devtools/pages/privacyProtection/ipProtection/probabilisticRevealTokens Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ interface PlaintTextToken {
3636
3737export interface PRTMetadata {
3838 origin : string ;
39+ isInMDL : boolean ;
3940 decryptionKeyAvailable : boolean ;
4041 prtHeader : string ;
4142 nonZeroUint8Signal : boolean ;
Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ class PRTStore extends DataStore {
378378
379379 globalStats . domains = Object . keys ( prtStatistics ) . length ;
380380
381- await chrome . runtime . sendMessage ( {
381+ globalStats . mdl = await chrome . runtime . sendMessage ( {
382382 type : TAB_TOKEN_DATA ,
383383 payload : {
384384 tabId,
@@ -501,6 +501,7 @@ class PRTStore extends DataStore {
501501 this . tabTokens [ tabId ] . perTokenMetadata [ origin ] = {
502502 prtHeader,
503503 origin : formedOrigin ,
504+ isInMDL : Boolean ( this . mdlData [ formedOrigin ] ) ,
504505 decryptionKeyAvailable : Boolean ( decodedToken ) ,
505506 nonZeroUint8Signal,
506507 owner : this . mdlData [ formedOrigin ] ?. owner
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ const ProbabilisticRevealTokens = () => {
8383 centerCount : perTokenMetadata . length ,
8484 color : '#F3AE4E' ,
8585 onClick : ( ) => filterClearFunction . current . resetFilters ( ) ,
86- glossaryText : 'Unique domains on page' ,
86+ glossaryText : 'Top-level domains on page' ,
8787 } ,
8888 {
8989 title : 'MDL' ,
@@ -328,7 +328,7 @@ const ProbabilisticRevealTokens = () => {
328328 }
329329 } ,
330330 } ,
331- owner : {
331+ isInMDL : {
332332 title : 'MDL' ,
333333 hasStaticFilterValues : true ,
334334 hasPrecalculatedFilterValues : true ,
You can’t perform that action at this time.
0 commit comments